blob: 0afd2cd87b4ae0c07ae5bc8673c4edb6aa6e7aa9 [file] [log] [blame]
{{ if .Values.caCert -}}
apiVersion: v1
kind: Secret
metadata:
name: {{ .Release.Name }}-tls-ca
labels:
app: gerrit-replica
chart: {{ template "gerrit-replica.chart" . }}
heritage: {{ .Release.Service }}
release: {{ .Release.Name }}
data:
ca.crt: {{ .Values.caCert | b64enc }}
type: Opaque
{{- end }}