-
Notifications
You must be signed in to change notification settings - Fork 325
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
Introduce disabledAPIVersions #2951
Conversation
a475c8a
to
d7f2f21
Compare
d7f2f21
to
ca479c8
Compare
ca479c8
to
3252d48
Compare
If .Values.config.settings is not set then the template will render to empty string causing runtime problems. Federation domain is a required paramter. The change in this commit turns the runtime error into a error at template evaluation.
Federation domain is a required parameter for carghold
a5d397a
to
3a78d69
Compare
{{- if .maxTotalBytes }} | ||
maxTotalBytes: {{ .maxTotalBytes }} | ||
{{- 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.
This causes this change in the configmap:
before:
maxTotalBytes: 5368709120
after
maxTotalBytes: 5.36870912e+09
This has no effect on the value read by the options parser howerver
{{ toYaml .contacts | indent 12 }} | ||
{{- toYaml .contacts | nindent 8 }} | ||
{{- 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.
I checked the rendere configmap. It is indented correctly.
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.
Looks great!
Co-authored-by: Marko Dimjašević <marko.dimjasevic@wire.com>
This PR adds a
disabledAPIVersions
option to all services, which can be used to disable certain versions.See also changes to the documention in this PR.
https://wearezeta.atlassian.net/browse/FS-1046
Checklist
changelog.d
Additional checks
To test the helm charts disable V2 on all services then call a v2 endpoint and assert that response is 404 with a
unsupported-version
tag.