diff --git a/k8s/applications/nextcloud/values.yaml b/k8s/applications/nextcloud/values.yaml index 0b7d0be..665014c 100644 --- a/k8s/applications/nextcloud/values.yaml +++ b/k8s/applications/nextcloud/values.yaml @@ -1,7 +1,7 @@ nextcloud: image: repository: "ghcr.io/asosnovsky/nextcloud" - tag: "v1.0.0" + tag: "v1.0.1" pullPolicy: IfNotPresent flavor: fpm diff --git a/k8s/charts/templates/app-vault.yaml b/k8s/charts/templates/app-vault.yaml new file mode 100644 index 0000000..06eed57 --- /dev/null +++ b/k8s/charts/templates/app-vault.yaml @@ -0,0 +1,24 @@ +--- +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: "hashicorp-vault" + namespace: "{{ .Release.Namespace }}" +spec: + project: default + source: + chart: vault + repoURL: "https://helm.releases.hashicorp.com" + targetRevision: "1.10.2" + helm: + values: |- + installCRDs: true + releaseName: vault + destination: + server: https://kubernetes.default.svc + namespace: "hashicorp-vault" + syncPolicy: + automated: + selfHeal: true + syncOptions: + - CreateNamespace=true diff --git a/k8s/infra/authellia/templates/secert-authellia.yaml b/k8s/infra/authellia/templates/secert-authellia.yaml index a0baa61..2307ba4 100644 --- a/k8s/infra/authellia/templates/secert-authellia.yaml +++ b/k8s/infra/authellia/templates/secert-authellia.yaml @@ -11,12 +11,7 @@ spec: target: name: "{{ .Values.authelia.secret.existingSecret }}" data: - - secretKey: "{{ .Values.nextcloud.externalDatabase.existingSecret.usernameKey }}" + - secretKey: "password" remoteRef: - key: "{{ .Values.nextcloud.externalDatabase.existingSecret.secretName }}" - property: username - - - secretKey: "{{ .Values.nextcloud.externalDatabase.existingSecret.passwordKey }}" - remoteRef: - key: "{{ .Values.nextcloud.externalDatabase.existingSecret.secretName }}" + key: "password.pg.authelia" property: password