Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Add Missing Flags as Helm Values #3787

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

ianstanton
Copy link

What this PR does / why we need it:
Add the following flags as helm values and pass down to controller-manager and audit deployment templates:

  • --log-level-key
  • --log-level-encoder
  • --cert-dir
  • --api-cache-dir
  • --otlp-endpoint
  • --otlp-metric-interval
  • --stackdriver-only-when-available
  • --stackdriver-metric-interval
  • --disable-enforcementaction-validation
  • --client-ca-name
  • --client-cn-name

Which issue(s) this PR fixes (optional, using fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when the PR gets merged):
Fixes #3784

Special notes for your reviewer:
I left some of the missing flags in #3784 out as I'm still determining whether they belong as chart values. I also want to be sure the right flags are passed to the appropriate deployments (some are applied to both, others are unique to controller-manager or audit), so feedback is welcome there.

Signed-off-by: Ian Stanton <[email protected]>
Signed-off-by: Ian Stanton <[email protected]>
Signed-off-by: Ian Stanton <[email protected]>
Signed-off-by: Ian Stanton <[email protected]>
@ianstanton ianstanton requested a review from a team as a code owner January 17, 2025 04:32
Comment on lines +18 to +22
volumeMounts:
- mountPath: /certs
name: cert
readOnly: true
$patch: delete
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I added these here to avoid duplicate entries when generating manifests. I renamed the file as it is no longer only deleting ports.

@@ -8,7 +8,7 @@ bases:
- "../../../config/default"
patchesStrategicMerge:
- kustomize-for-helm.yaml
- delete-ports.yaml
- delete-merge-values.yaml
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Renamed file mentioned above.

@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 47.69%. Comparing base (3350319) to head (0365d6b).
Report is 239 commits behind head on master.

❗ There is a different number of reports uploaded between BASE (3350319) and HEAD (0365d6b). Click for more details.

HEAD has 1 upload less than BASE
Flag BASE (3350319) HEAD (0365d6b)
unittests 2 1
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3787      +/-   ##
==========================================
- Coverage   54.49%   47.69%   -6.80%     
==========================================
  Files         134      236     +102     
  Lines       12329    19929    +7600     
==========================================
+ Hits         6719     9506    +2787     
- Misses       5116     9529    +4413     
- Partials      494      894     +400     
Flag Coverage Δ
unittests 47.69% <ø> (-6.80%) ⬇️

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Some flags cannot be set via helm chart values
2 participants