github.com/verrazzano/verrazzano@v1.7.0/platform-operator/thirdparty/charts/prometheus-community/prometheus-adapter/templates/secret.yaml (about) 1 {{- if .Values.tls.enable -}} 2 apiVersion: v1 3 kind: Secret 4 metadata: 5 {{- if .Values.customAnnotations }} 6 annotations: 7 {{- toYaml .Values.customAnnotations | nindent 4 }} 8 {{- end }} 9 labels: 10 {{- include "k8s-prometheus-adapter.labels" . | indent 4 }} 11 name: {{ template "k8s-prometheus-adapter.fullname" . }} 12 namespace: {{ include "k8s-prometheus-adapter.namespace" . }} 13 type: kubernetes.io/tls 14 data: 15 tls.crt: {{ b64enc .Values.tls.certificate }} 16 tls.key: {{ b64enc .Values.tls.key }} 17 {{- end -}}