-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Chris Butler <[email protected]>
- Loading branch information
Showing
2 changed files
with
21 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
apiVersion: external-secrets.io/v1alpha1 | ||
kind: PushSecret | ||
metadata: | ||
name: pushsecret # Customisable | ||
namespace: {{ .Values.dsp.name }} # Same of the SecretStores | ||
spec: | ||
updatePolicy: Replace # Policy to overwrite existing secrets in the provider on sync | ||
deletionPolicy: Delete # the provider' secret will be deleted if the PushSecret is deleted | ||
refreshInterval: 10s # Refresh interval for which push secret will reconcile | ||
secretStoreRefs: # A list of secret stores to push secrets to | ||
- name: {{ .Values.secretStore.name }} | ||
kind: {{ .Values.secretStore.kind }} | ||
selector: | ||
secret: | ||
name: {{ .Values.dsp.name }}-obc # Source Kubernetes secret to be pushed | ||
data: | ||
- conversionStrategy: None # Also supports the ReverseUnicode strategy | ||
match: | ||
secretKey: data # Source Kubernetes secret key to be pushed | ||
remoteRef: | ||
remoteKey: "secret/data/global/{{ .Values.dsp.name }}-aws" # Remote reference (where the secret is going to be pushed) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters