mirror of
https://github.com/helm/charts.git
synced 2026-08-21 13:28:13 +00:00
Signed-off-by: Giacomo Guiulfo <giacomoguiulfo@gmail.com>
16 lines
402 B
YAML
16 lines
402 B
YAML
{{- if .Values.api.proxy.caCert -}}
|
|
apiVersion: v1
|
|
kind: Secret
|
|
metadata:
|
|
name: {{ template "cloudserver.fullname" . }}-cacert
|
|
labels:
|
|
app: {{ template "cloudserver.name" . }}
|
|
chart: {{ template "cloudserver.chart" . }}
|
|
component: api
|
|
heritage: {{ .Release.Service }}
|
|
release: {{ .Release.Name }}
|
|
type: Opaque
|
|
data:
|
|
{{ (.Files.Glob "ca.crt").AsSecrets | indent 2 }}
|
|
{{- end -}}
|