Migrate to using EnvFrom with the use of Infisical Secret sync for env vars

This commit is contained in:
2026-08-23 18:23:56 +02:00
parent 19bab56874
commit 7956c6b1b9
9 changed files with 39 additions and 45 deletions
@@ -0,0 +1,25 @@
apiVersion: secrets.infisical.com/v1alpha1
kind: InfisicalSecret
metadata:
name: uptime-kuma-mariadb-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: "/uptime-kuma/mariadb"
# Non-recursive: keys are already named as the container expects.
recursive: false
managedSecretReference:
secretName: uptime-kuma-mariadb-secrets
secretNamespace: uptime-kuma
secretType: Opaque