Skip to content

Commit

Permalink
Update external secret files
Browse files Browse the repository at this point in the history
Signed-off-by: Simon Misencik <[email protected]>
  • Loading branch information
SimonMisencik committed Oct 20, 2023
1 parent 9b61f72 commit c0ee9f7
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 1 deletion.
11 changes: 11 additions & 0 deletions charts/frinx-machine/localhost-values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
externalsecret:
enabled: true
secretstorename: development
vault: helm-chart-repo

krakend:
ingress:
enabled: true
annotations:
kubernetes.io/ingress.class: nginx
host: "fm.127.0.0.1.nip.io"
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ spec:
data:
- secretKey: .dockerconfigjson
remoteRef:
key: common/regcred
key: regcred
property: .dockerconfigjson
{{- end }}{{ end }}
17 changes: 17 additions & 0 deletions charts/frinx-machine/templates/secretstore.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{{- if .Values.externalsecret }}{{ if .Values.externalsecret.enabled }}
apiVersion: external-secrets.io/v1beta1
kind: SecretStore
metadata:
name: {{ .Values.externalsecret.secretstorename }}
spec:
provider:
onepassword:
connectHost: http://onepassword-connect:8080
vaults:
{{ .Values.externalsecret.vault }}: 1
auth:
secretRef:
connectTokenSecretRef:
name: onepassword-connect-token
key: token
{{- end }}{{ end }}

0 comments on commit c0ee9f7

Please sign in to comment.