Skip to content

Commit

Permalink
Fix sentinel tls
Browse files Browse the repository at this point in the history
Signed-off-by: Arnob kumar saha <arnob@appscode.com>
  • Loading branch information
ArnobKumarSaha committed Jan 3, 2025
1 parent a310d6c commit 9577fc7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ metadata:
{{- include "kubedbcom-redis-editor-options.labels" . | nindent 4 }}
type: kubernetes.io/basic-auth
data:
username: {{ "root" | b64enc | quote }}
username: {{ "default" | b64enc | quote }}
password: {{ .Values.spec.authSecret.password | trim | b64enc | quote }}
{{- end }}
7 changes: 7 additions & 0 deletions charts/kubedbcom-redis-editor-options/templates/sentinel.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,11 @@ spec:
storageClassName: {{ .Values.spec.admin.storageClasses.default }}
storageType: Durable
deletionPolicy: {{ .Values.spec.deletionPolicy }}
{{- if .Values.spec.admin.tls.default }}
tls:
issuerRef:
apiGroup: "cert-manager.io"
kind: ClusterIssuer
name: {{ .Values.spec.admin.clusterIssuers.default }}
{{- end }}
{{ end }}

0 comments on commit 9577fc7

Please sign in to comment.