apiVersion: secrets.infisical.com/v1beta1 kind: InfisicalStaticSecret metadata: name: zona-exclusion-secrets namespace: zona-exclusion spec: # Shared, read-only machine identity (no write grant, no PushSecret). # Source is the SHARED /smtp-gmail folder (same Gmail sender account as ghost-en). # The deployment's secretKeyRef uses hyphenated lowercase keys (smtp-user/smtp-pass), # so we TEMPLATE-remap the UPPER_SNAKE Infisical keys -> the lowercase keys. infisicalAuthRef: name: infisical-auth namespace: infisical-operator sources: - projectId: 17e98e9d-70f5-43d1-8382-7da818dfcdd0 # project "homelab" environmentSlug: prod secretPath: /smtp-gmail syncOptions: refreshInterval: 60s targets: - kind: Secret name: zona-exclusion-secrets-infisical # parallel name — old secret stays live until 3c namespace: zona-exclusion creationPolicy: Owner template: engineVersion: v1 data: smtp-user: '{{ .SMTP_USER.Value }}' smtp-pass: '{{ .SMTP_PASS.Value }}'