Migrate to using EnvFrom with the use of Infisical Secret sync for env vars
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user