-
Notifications
You must be signed in to change notification settings - Fork 0
DEVOPS-3030-added-support-custom-ca #138
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
base: main
Are you sure you want to change the base?
Conversation
chart/values.yaml
Outdated
@@ -478,6 +478,7 @@ secrets: | |||
# redis authentication. | |||
# requires to enable auth in deployments.redis.auth.enabled by set to true | |||
password: "" | |||
externalCaCertificate: "" |
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.
maybe call it "CustomCaCertificate"?
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.
changed to customCaCertificate
chart/templates/secrets.yaml
Outdated
name: {{ include "secrets.ca_certificate.name" . }} | ||
type: Opaque | ||
data: | ||
ca.pem: {{ .Values.secrets.externalCaCertificate }} |
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.
maybe custom_ca.pem instead of ca.pem?
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.
changed to custom_ca.pem
@@ -368,6 +375,11 @@ spec: | |||
emptyDir: | |||
sizeLimit: {{ .Values.general.readOnlyRootFilesystem_tmpfs_sizeLimit }} | |||
{{ end }} | |||
{{- if .Values.secrets.externalCaCertificate }} | |||
- name: ca-certificate |
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.
call it custom-ca-certificate?
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.
done
chart/templates/helpers/_helpers.tpl
Outdated
@@ -509,6 +508,10 @@ Usage: | |||
{{- end -}} | |||
{{- end -}} | |||
|
|||
{{- define "secrets.ca_certificate.name" -}} |
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.
call it custom_ca_certificate?
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.
done
845a9a8
to
294c752
Compare
No description provided.