Server and worker share one Secret since their env is byte-identical. Database and SMTP values are Infisical references rather than copies.
26 lines
760 B
YAML
26 lines
760 B
YAML
apiVersion: secrets.infisical.com/v1alpha1
|
|
kind: InfisicalSecret
|
|
metadata:
|
|
name: authentik-postgres-secrets
|
|
namespace: infisical
|
|
spec:
|
|
hostAPI: https://infisical.jsme.be
|
|
resyncInterval: 30
|
|
authentication:
|
|
kubernetesAuth:
|
|
identityId: "5458def7-7c63-40d2-95da-41c614d0933a"
|
|
serviceAccountRef:
|
|
name: infisical-auth
|
|
namespace: infisical
|
|
autoCreateServiceAccountToken: true
|
|
secretsScope:
|
|
projectSlug: "kubernetes"
|
|
envSlug: "prod"
|
|
secretsPath: "/authentik/postgres"
|
|
# Non-recursive: keys are already named as the container expects.
|
|
recursive: false
|
|
managedSecretReference:
|
|
secretName: authentik-postgres-secrets
|
|
secretNamespace: authentik
|
|
secretType: Opaque
|