File tree Expand file tree Collapse file tree 3 files changed +49
-3
lines changed
clusters/svc.dd.soeren.cloud/mealie Expand file tree Collapse file tree 3 files changed +49
-3
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ apiVersion : " external-secrets.io/v1beta1"
3
+ kind : " ExternalSecret"
4
+ metadata :
5
+ name : " mealie-restic-postgres"
6
+ spec :
7
+ refreshInterval : " 1h"
8
+ secretStoreRef :
9
+ name : " vault"
10
+ kind : " ClusterSecretStore"
11
+ target :
12
+ name : " mealie-restic-postgres"
13
+ creationPolicy : " Owner"
14
+ data :
15
+ - secretKey : " AWS_ACCESS_KEY_ID"
16
+ remoteRef :
17
+ key : " secret/soeren.cloud/env/prod/restic/mealie-postgres/aws-credentials"
18
+ property : " AWS_ACCESS_KEY_ID"
19
+ - secretKey : " AWS_SECRET_ACCESS_KEY"
20
+ remoteRef :
21
+ key : " secret/soeren.cloud/env/prod/restic/mealie-postgres/aws-credentials"
22
+ property : " AWS_SECRET_ACCESS_KEY"
23
+ - secretKey : " RESTIC_PASSWORD"
24
+ remoteRef :
25
+ key : " secret/soeren.cloud/env/prod/restic/mealie-postgres/restic"
26
+ property : " pass"
27
+ - secretKey : " POSTGRES_USER"
28
+ remoteRef :
29
+ key : " secret/soeren.cloud/env/prod/mealie"
30
+ property : " POSTGRES_USER"
31
+ - secretKey : " POSTGRES_PASSWORD"
32
+ remoteRef :
33
+ key : " secret/soeren.cloud/env/prod/mealie"
34
+ property : " POSTGRES_PASSWORD"
Original file line number Diff line number Diff line change 24
24
remoteRef :
25
25
key : " secret/soeren.cloud/env/prod/mealie"
26
26
property : " POSTGRES_USER"
27
+ - secretKey : " OIDC_CLIENT_ID"
28
+ remoteRef :
29
+ key : " soeren.cloud/env/prod/keycloak/soerencloud/clients/mealie"
30
+ property : " client_id"
31
+ - secretKey : " OIDC_CLIENT_SECRET"
32
+ remoteRef :
33
+ key : " soeren.cloud/env/prod/keycloak/soerencloud/clients/mealie"
34
+ property : " secret_id"
Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ resources:
9
9
- postgres-pv.yaml
10
10
- external-secret-mealie.yaml
11
11
- external-secret-mealie-postgres.yaml
12
+ - external-secret-mealie-postgres-restic.yaml
12
13
components :
13
14
- ../../../apps/mealie/components/mealie-pvc
14
15
- ../../../apps/mealie/components/oidc
@@ -40,7 +41,10 @@ configMapGenerator:
40
41
- " BASE_URL=https://mealie.svc.dd.soeren.cloud"
41
42
- name : " mealie-oidc" # TODO: https://github.com/kubernetes-sigs/kustomize/issues/4402
42
43
literals :
43
- - " OIDC_CONFIGURATION_URL=https://keycloak.svc.dd.soeren.cloud/realms/myrealm/.well-known/openid-configuration"
44
- - " OIDC_USER_GROUP=mealie_user"
45
- - " OIDC_ADMIN_GROUP=mealie_admin"
44
+ - " OIDC_CONFIGURATION_URL=https://auth.dd.soeren.cloud/realms/soerencloud/.well-known/openid-configuration"
46
45
- " OIDC_PROVIDER_NAME=keycloak"
46
+ - " OIDC_ADMIN_GROUP=/admins"
47
+ - " OIDC_GROUPS_CLAIM=groups"
48
+ - name : " mealie-restic-postgres"
49
+ literals :
50
+ - " RESTIC_REPOSITORY=s3:https://s3.amazonaws.com/soerenschneider-restic-prod/mealie-postgres"
You can’t perform that action at this time.
0 commit comments