From d3bd1a3503ba98d44ca0a0be414a2a5aa8f5061b Mon Sep 17 00:00:00 2001 From: chemavx Date: Sun, 21 Jun 2026 20:06:04 +0000 Subject: [PATCH] ghost-en: stage Infisical-backed SMTP secret (3a) InfisicalStaticSecret syncs shared /smtp-gmail -> ghost-en-smtp-infisical (parallel name, passthrough SMTP_USER/SMTP_PASS). Old secret stays live until 3c. Co-Authored-By: Claude Opus 4.8 --- ghost-en/infisical-ghost-en-smtp.yaml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 ghost-en/infisical-ghost-en-smtp.yaml diff --git a/ghost-en/infisical-ghost-en-smtp.yaml b/ghost-en/infisical-ghost-en-smtp.yaml new file mode 100644 index 0000000..b343cdb --- /dev/null +++ b/ghost-en/infisical-ghost-en-smtp.yaml @@ -0,0 +1,25 @@ +apiVersion: secrets.infisical.com/v1beta1 +kind: InfisicalStaticSecret +metadata: + name: ghost-en-smtp + namespace: ghost-en +spec: + # Shared, read-only machine identity (no write grant, no PushSecret). + # Source is the SHARED /smtp-gmail folder (same Gmail sender account used by + # both blogs); zona-exclusion references the same path with a key remap. + 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: ghost-en-smtp-infisical # parallel name — old secret stays live until 3c + namespace: ghost-en + creationPolicy: Owner + # key passthrough: synced Secret carries SMTP_USER / SMTP_PASS verbatim + # (Infisical key names already match the deployment's secretKeyRef keys).