Add test secret to see what's going wrong

This commit is contained in:
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