webhook-secret.yaml 475 B

1234567891011121314
  1. {{- if and .Values.webhook.create (not .Values.webhook.certManager.enabled) }}
  2. apiVersion: v1
  3. kind: Secret
  4. metadata:
  5. name: {{ include "external-secrets.fullname" . }}-webhook
  6. namespace: {{ template "external-secrets.namespace" . }}
  7. labels:
  8. {{- include "external-secrets-webhook.labels" . | nindent 4 }}
  9. external-secrets.io/component: webhook
  10. {{- with .Values.webhook.secretAnnotations }}
  11. annotations:
  12. {{- toYaml . | nindent 4 }}
  13. {{- end }}
  14. {{- end }}