Add test secret to see what's going wrong

main
Julius 2022-05-23 12:26:47 +02:00
parent 68dd145a4d
commit 8a583f7989
Signed by: j00lz
GPG Key ID: AF241B0AA237BBA2
4 changed files with 19 additions and 2 deletions

View File

@ -5,3 +5,4 @@ resources:
- ingress.yaml
- service.yaml
- registry-creds.yaml
- test-secret.yaml

View File

@ -15,5 +15,5 @@ spec:
data:
- secretKey: .dockerconfigjson
remoteRef:
key: registry-creds
key: k8s/registry-creds
property: dockerconfigjson

View File

@ -0,0 +1,16 @@
apiVersion: external-secrets.io/v1beta1
kind: ExternalSecret
metadata:
name: vault-example
spec:
refreshInterval: "15s"
secretStoreRef:
name: vault
kind: ClusterSecretStore
target:
name: example-sync
data:
- secretKey: foobar
remoteRef:
key: k8s/foo
property: my-value

View File

@ -15,5 +15,5 @@ spec:
data:
- secretKey: .dockerconfigjson
remoteRef:
key: registry-creds
key: k8s/registry-creds
property: dockerconfigjson