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

update pods on vcl file change #45

Merged
merged 1 commit into from
Oct 31, 2023

Conversation

bvis
Copy link
Member

@bvis bvis commented Oct 31, 2023

What this PR does / why we need it

In case you want to use a file for providing the VCL configuration this is not used for calculating the ConfigMap checksum, therefore the pods are not restarted.

Special notes for your reviewer

Checklist

  • Chart Version bumped

Signed-off-by: Basilio Vera <basilio.vera@softonic.com>
@bvis bvis requested a review from santinoncs as a code owner October 31, 2023 15:46
{{- range $filename, $fileContent := .Values.vcl }}
{{ $filename }}:{{- toYaml $fileContent | indent 2 }}
{{- end }}
{{- end }}
{{- if .Values.vclFiles }}
Copy link
Member Author

Choose a reason for hiding this comment

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

This is the "real fix"

Copy link
Member Author

Choose a reason for hiding this comment

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

Providing more useful values for testing

Copy link
Member Author

Choose a reason for hiding this comment

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

This is an example VCL that can be used for test the chart

@bvis bvis merged commit 0e8b8f3 into master Oct 31, 2023
@bvis bvis deleted the feature/BER-611-update-pods-on-vcl-file-change branch October 31, 2023 16:42
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.

None yet

2 participants