-
Notifications
You must be signed in to change notification settings - Fork 0
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
[Helm]feat: add support for reverse proxy through extraContent #17
Conversation
helm-chart/values.yaml
Outdated
@@ -49,7 +49,9 @@ controlPlane: | |||
cpu: "1" | |||
# Security context for the pod or container | |||
securityContext: {} | |||
#extra_content: {} # Extra content (currently commented out) | |||
#extraContent: # Extra content, needed if you want to configure a reverse proxy for control plane. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
question: why in extraContent ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To dynamically inject new configurations without frequently updating the control plane configuration in Helm, this approach minimizes the need for frequent releases and version updates. WDYT?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
But don't we lost helm generated documentation?
I see no difference with adding the field for real
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
reverse => forward
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated and fixed.
helm-chart/values.yaml
Outdated
@@ -49,7 +49,9 @@ controlPlane: | |||
cpu: "1" | |||
# Security context for the pod or container | |||
securityContext: {} | |||
#extra_content: {} # Extra content (currently commented out) | |||
#extraContent: # Extra content, needed if you want to configure a reverse proxy for control plane. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
reverse => forward
helm-chart/templates/_config.tpl
Outdated
{{- with .extraContent }} | ||
{{- range $key, $value := . }} | ||
{{ $key }} = {{ toJson $value }} | ||
{{- end }} | ||
{{- end }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should we keep this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I kept it here since you added it to AWS Terraform configs for dev purposes. Will you need it in the future?
No description provided.