Add test secret to see what's going wrong
This commit is contained in:
parent
68dd145a4d
commit
8a583f7989
|
@ -5,3 +5,4 @@ resources:
|
||||||
- ingress.yaml
|
- ingress.yaml
|
||||||
- service.yaml
|
- service.yaml
|
||||||
- registry-creds.yaml
|
- registry-creds.yaml
|
||||||
|
- test-secret.yaml
|
||||||
|
|
|
@ -15,5 +15,5 @@ spec:
|
||||||
data:
|
data:
|
||||||
- secretKey: .dockerconfigjson
|
- secretKey: .dockerconfigjson
|
||||||
remoteRef:
|
remoteRef:
|
||||||
key: registry-creds
|
key: k8s/registry-creds
|
||||||
property: dockerconfigjson
|
property: dockerconfigjson
|
16
flux/cluster/apps/test/test-secret.yaml
Normal file
16
flux/cluster/apps/test/test-secret.yaml
Normal 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
|
|
@ -15,5 +15,5 @@ spec:
|
||||||
data:
|
data:
|
||||||
- secretKey: .dockerconfigjson
|
- secretKey: .dockerconfigjson
|
||||||
remoteRef:
|
remoteRef:
|
||||||
key: registry-creds
|
key: k8s/registry-creds
|
||||||
property: dockerconfigjson
|
property: dockerconfigjson
|
Loading…
Reference in a new issue