19 lines
554 B
YAML
19 lines
554 B
YAML
|
|
{{- if .Values.externalSecrets.enabled }}
|
||
|
|
apiVersion: external-secrets.io/v1beta1
|
||
|
|
kind: ExternalSecret
|
||
|
|
metadata:
|
||
|
|
name: "{{ include "appsmith.fullname" . }}-external-secret"
|
||
|
|
namespace: {{ include "appsmith.namespace" . }}
|
||
|
|
spec:
|
||
|
|
refreshInterval: {{ .Values.externalSecrets.refreshInterval }}
|
||
|
|
secretStoreRef:
|
||
|
|
name: secretstore
|
||
|
|
kind: SecretStore
|
||
|
|
target:
|
||
|
|
name: "{{ include "appsmith.fullname" . }}-external-secret"
|
||
|
|
creationPolicy: Owner
|
||
|
|
dataFrom:
|
||
|
|
- extract:
|
||
|
|
key: {{ .Values.externalSecrets.remoteSecretName }}
|
||
|
|
{{- end }}
|