-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[DO-1974] migrate sandbox dapp to external-secrets-operator (#806)
- Loading branch information
1 parent
26dfadf
commit e13d2ee
Showing
2 changed files
with
18 additions
and
11 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 |
---|---|---|
@@ -1,13 +1,21 @@ | ||
apiVersion: kubernetes-client.io/v1 | ||
apiVersion: external-secrets.io/v1beta1 | ||
kind: ExternalSecret | ||
metadata: | ||
name: docker-hub-dev | ||
# name of ExternalSecret under CRD section | ||
name: dockerhub-dev | ||
spec: | ||
backendType: secretsManager | ||
region: {{ .Values.docker.secrets.region }} | ||
template: | ||
type: kubernetes.io/dockerconfigjson | ||
refreshInterval: 1h | ||
secretStoreRef: | ||
name: main | ||
kind: ClusterSecretStore | ||
target: | ||
# name of actual secret under Config/Secrets, not required will use .metadata.name | ||
creationPolicy: Owner | ||
template: | ||
type: kubernetes.io/dockerconfigjson | ||
data: | ||
- key: {{ .Values.docker.secrets.name }} | ||
name: .dockerconfigjson | ||
property: dockerconfigjson | ||
- secretKey: .dockerconfigjson | ||
remoteRef: | ||
key: {{ .Values.docker.secrets.name }} | ||
version: "AWSCURRENT" | ||
property: dockerconfigjson |
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