Skip to content

ROX-25944: CRS Support in Helm Chart#12713

Merged
mclasmeier merged 26 commits intomasterfrom
mc/crs-50-helm-chart
Jan 16, 2025
Merged

ROX-25944: CRS Support in Helm Chart#12713
mclasmeier merged 26 commits intomasterfrom
mc/crs-50-helm-chart

Conversation

@mclasmeier
Copy link
Copy Markdown
Contributor

@mclasmeier mclasmeier commented Sep 16, 2024

Description

IMPORTANT: Only review commits beginning with 8d75c37. Everything before that will hopefully be in master soon.

This PR

  • implements CRS support in the secured-cluster-services Helm chart.
  • Extends the standard deployment machinery (k8sbased.sh) so that it can also use CRS-based deployment flows.
  • Implements similar heuristic as currently exists for init bundles to enable CRS-based deployments for regular dev deployments.
  • Use CRS-based deployments for nongroovy test suite and (some) scanner V4 installation tests.

User-facing documentation

Testing and quality

Automated testing

  • added unit tests
  • modified existing tests

How I validated my change

Manual testing in addition to automated.

@openshift-ci
Copy link
Copy Markdown

openshift-ci bot commented Sep 16, 2024

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

@rhacs-bot
Copy link
Copy Markdown
Contributor

rhacs-bot commented Sep 16, 2024

Images are ready for the commit at 3bd6a76.

To use with deploy scripts, first export MAIN_IMAGE_TAG=4.7.x-466-g3bd6a766a7.

@mclasmeier mclasmeier changed the title Mc/crs 50 helm chart ROX-25944: CRS Support in Helm Charts Sep 16, 2024
@codecov
Copy link
Copy Markdown

codecov bot commented Sep 25, 2024

Codecov Report

Attention: Patch coverage is 56.73077% with 45 lines in your changes missing coverage. Please review.

Project coverage is 48.53%. Comparing base (f7256e0) to head (1a9b0b2).
Report is 1 commits behind head on master.

Files with missing lines Patch % Lines
central/sensor/service/service_impl.go 0.00% 20 Missing ⚠️
pkg/protoconv/certs/typed_service_certificates.go 85.93% 6 Missing and 3 partials ⚠️
pkg/services/convert.go 0.00% 5 Missing ⚠️
central/cluster/datastore/datastore_impl.go 0.00% 4 Missing ⚠️
pkg/mtls/crypto.go 0.00% 4 Missing ⚠️
pkg/mtls/env.go 0.00% 3 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##           master   #12713   +/-   ##
=======================================
  Coverage   48.53%   48.53%           
=======================================
  Files        2473     2474    +1     
  Lines      178677   178743   +66     
=======================================
+ Hits        86720    86759   +39     
- Misses      85008    85035   +27     
  Partials     6949     6949           
Flag Coverage Δ
go-unit-tests 48.53% <56.73%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.


🚨 Try these New Features:

@mclasmeier mclasmeier force-pushed the mc/crs-50-helm-chart branch from acd4386 to e1ebd31 Compare October 10, 2024 19:38
@mclasmeier
Copy link
Copy Markdown
Contributor Author

/retest

@mclasmeier mclasmeier force-pushed the mc/crs-50-helm-chart branch 4 times, most recently from 0332313 to ff32c8e Compare October 17, 2024 21:22
@mclasmeier mclasmeier force-pushed the mc/crs-50-helm-chart branch 5 times, most recently from f059551 to 301dcb1 Compare November 6, 2024 16:29
@mclasmeier
Copy link
Copy Markdown
Contributor Author

/test all

@mclasmeier mclasmeier force-pushed the mc/crs-50-helm-chart branch 3 times, most recently from e4c2392 to 16450e3 Compare November 12, 2024 14:17
@mclasmeier
Copy link
Copy Markdown
Contributor Author

/test all

@mclasmeier
Copy link
Copy Markdown
Contributor Author

/test all

1 similar comment
@mclasmeier
Copy link
Copy Markdown
Contributor Author

/test all

Moritz Clasmeier and others added 20 commits January 16, 2025 11:59
…stallation is configured to be 'Helm-managed'
… (which should contain either an init bundle or a CRS)
….yaml.htpl

Co-authored-by: Marcin Owsiany <porridge@redhat.com>
…lity and added propert assertions for the CRS data.
…tpl.htpl

Co-authored-by: Marcin Owsiany <porridge@redhat.com>
…tpl.htpl

Co-authored-by: Marcin Owsiany <porridge@redhat.com>
@mclasmeier mclasmeier force-pushed the mc/crs-50-helm-chart branch from c35dac3 to 3bd6a76 Compare January 16, 2025 11:00
@mclasmeier
Copy link
Copy Markdown
Contributor Author

mclasmeier commented Jan 16, 2025

Please ping us when this is no longer a draft and is ready for review.

It's ready to be merged. But I don't remember why you raised interest in this specific PR -- maybe you were automatically assigned as reviewers? In any case, this is just about the Helm changes for CRS, so I don't think you need to care about this one. @vikin91

@mclasmeier
Copy link
Copy Markdown
Contributor Author

/retest

@openshift-ci
Copy link
Copy Markdown

openshift-ci bot commented Jan 16, 2025

@mclasmeier: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/gke-scanner-v4-tests 20a8e9b link false /test gke-scanner-v4-tests
ci/prow/ocp-4-12-scanner-v4-tests 20a8e9b link false /test ocp-4-12-scanner-v4-tests
ci/prow/ocp-4-17-scanner-v4-tests 20a8e9b link false /test ocp-4-17-scanner-v4-tests
ci/prow/gke-ui-e2e-tests c35dac3 link false /test gke-ui-e2e-tests

Full PR test history. Your PR dashboard.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

@vladbologa
Copy link
Copy Markdown
Contributor

/test ocp-4-17-qa-e2e-tests

@vikin91
Copy link
Copy Markdown
Contributor

vikin91 commented Jan 16, 2025

Please ping us when this is no longer a draft and is ready for review.

It's ready to be merged. But I don't remember why you raised interest in this specific PR -- maybe you were automatically assigned as reviewers? In any case, this is just about the Helm changes for CRS, so I don't think you need to care about this one. @vikin91

Yes, I was pinged as a reviewer. As I am no longer in the reviewer list then there is no need to worry about that comment :)

@mclasmeier mclasmeier merged commit 8b747ea into master Jan 16, 2025
@mclasmeier mclasmeier deleted the mc/crs-50-helm-chart branch January 16, 2025 18:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants