19 lines
398 B
YAML
19 lines
398 B
YAML
{{- if .Values.certs.name -}}
|
|
apiVersion: v1
|
|
kind: Secret
|
|
metadata:
|
|
name: {{ .Values.certs.name }}
|
|
labels:
|
|
{{- include "pmm.labels" . | nindent 4 }}
|
|
{{- with .Values.serviceAccount.annotations }}
|
|
annotations:
|
|
{{- toYaml . | nindent 4 }}
|
|
{{- end }}
|
|
type: Opaque
|
|
data:
|
|
# ngnix ssl certificates
|
|
{{- with .Values.certs.files }}
|
|
{{- toYaml . | nindent 4 }}
|
|
{{- end }}
|
|
{{- end }}
|