summaryrefslogtreecommitdiffstats
path: root/deployments/helm/v2/onap4k8s/fluentd/templates/tls-certs.yaml
blob: c37eb8491f6afc75f4a1d0049819d2f02e1d8404 (plain)
1
2
3
4
5
6
7
8
9
10
11
{{- if and (not .Values.tls.existingSecret) ( .Values.tls.enabled) }}
apiVersion: v1
kind: Secret
metadata:
  name: {{ include "fluentd.fullname" . }}-tls
  labels: {{- include "fluentd.labels" . | nindent 4 }}
type: kubernetes.io/tls
data:
  tls.crt: {{ required "A valid .Values.tls.certificate entry required!" .Values.tls.certificate | b64enc }}
  tls.key: {{ required "A valid .Values.tls.key entry required!" .Values.tls.key | b64enc }}
{{- end }}