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

[Helm]feat: add support for reverse proxy through extraContent #17

Merged
merged 5 commits into from
Dec 6, 2024

Conversation

karimatwa
Copy link
Member

No description provided.

@karimatwa karimatwa self-assigned this Dec 4, 2024
@@ -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.
Copy link
Member

Choose a reason for hiding this comment

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

question: why in extraContent ?

Copy link
Member Author

@karimatwa karimatwa Dec 5, 2024

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?

Copy link
Member

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

Copy link
Member

Choose a reason for hiding this comment

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

reverse => forward

Copy link
Member Author

Choose a reason for hiding this comment

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

Updated and fixed.

@karimatwa karimatwa requested a review from tpetillot December 5, 2024 11:43
helm-chart/README.md Outdated Show resolved Hide resolved
@@ -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.
Copy link
Member

Choose a reason for hiding this comment

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

reverse => forward

helm-chart/values.yaml Outdated Show resolved Hide resolved
@karimatwa karimatwa requested a review from slandelle December 5, 2024 13:54
helm-chart/README.md Outdated Show resolved Hide resolved
Comment on lines 52 to 56
{{- with .extraContent }}
{{- range $key, $value := . }}
{{ $key }} = {{ toJson $value }}
{{- end }}
{{- end }}
Copy link
Member

Choose a reason for hiding this comment

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

should we keep this?

Copy link
Member Author

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?

@karimatwa karimatwa requested a review from tpetillot December 5, 2024 14:11
@karimatwa karimatwa merged commit b1ec981 into main Dec 6, 2024
1 check passed
@karimatwa karimatwa deleted the helm-proxy-support branch December 6, 2024 10:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants