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

feat(certgen): add flag for certificate overwrite #5045

Merged
merged 9 commits into from
Jan 16, 2025

Conversation

guydc
Copy link
Contributor

@guydc guydc commented Jan 13, 2025

What type of PR is this?

What this PR does / why we need it:

Which issue(s) this PR fixes:

Fixes #4935

Release Notes: Yes

@guydc guydc requested a review from a team as a code owner January 13, 2025 13:31
Signed-off-by: Guy Daich <guy.daich@sap.com>
@guydc guydc force-pushed the feat-certgen-overwrite-flag branch from ec110d0 to 8ed7638 Compare January 13, 2025 13:37
Copy link

codecov bot commented Jan 13, 2025

Codecov Report

Attention: Patch coverage is 33.33333% with 4 lines in your changes missing coverage. Please review.

Project coverage is 66.81%. Comparing base (27a2ef3) to head (f516dbd).
Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
internal/cmd/certgen.go 33.33% 4 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #5045      +/-   ##
==========================================
- Coverage   66.85%   66.81%   -0.05%     
==========================================
  Files         211      211              
  Lines       32916    32920       +4     
==========================================
- Hits        22007    21994      -13     
- Misses       9584     9597      +13     
- Partials     1325     1329       +4     

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

@@ -21,8 +21,12 @@ spec:
spec:
containers:
- command:
{{- if .Values.certgen.job.command }}
{{- toYaml .Values.certgen.job.command | nindent 8 }}
Copy link
Contributor

Choose a reason for hiding this comment

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

shouldnt this be args ?

@guydc guydc requested a review from arkodg January 13, 2025 20:57
@@ -92,6 +92,8 @@ kubernetesClusterDomain: cluster.local
certgen:
job:
annotations: {}
args: []
command: []
Copy link
Contributor

Choose a reason for hiding this comment

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

command isnt needed

Signed-off-by: Guy Daich <guy.daich@sap.com>
@guydc guydc requested a review from arkodg January 13, 2025 23:56
@@ -544,7 +544,8 @@ spec:
app: certgen
spec:
containers:
- command:
- args:
Copy link
Contributor

Choose a reason for hiding this comment

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

args should not be set by default

Signed-off-by: Guy Daich <guy.daich@sap.com>
@guydc guydc marked this pull request as draft January 14, 2025 01:48
guydc added 2 commits January 14, 2025 14:36
Signed-off-by: Guy Daich <guy.daich@sap.com>
Signed-off-by: Guy Daich <guy.daich@sap.com>
@guydc guydc requested a review from arkodg January 14, 2025 22:56
@guydc guydc marked this pull request as ready for review January 14, 2025 22:56
Copy link
Contributor

@arkodg arkodg left a comment

Choose a reason for hiding this comment

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

LGTM thanks !

@arkodg arkodg requested review from a team January 14, 2025 23:12
@guydc
Copy link
Contributor Author

guydc commented Jan 15, 2025

cc @qicz , @zirain

@guydc guydc merged commit 784030f into envoyproxy:main Jan 16, 2025
27 of 28 checks passed
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.

missing the envoy-gateaway-config for certgen command
3 participants