InfisicalStaticSecret syncs /gitea-runner -> gitea-runner-secret-infisical (parallel name). Out-of-band: created via kubectl apply; commit is for record. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
25 lines
898 B
YAML
25 lines
898 B
YAML
apiVersion: secrets.infisical.com/v1beta1
|
|
kind: InfisicalStaticSecret
|
|
metadata:
|
|
name: gitea-runner-secret
|
|
namespace: gitea
|
|
spec:
|
|
# Shared, read-only machine identity (no write grant, no PushSecret).
|
|
# NOTE: the gitea namespace is applied OUT-OF-BAND (not an ArgoCD app),
|
|
# so this CR is created with `kubectl apply` — committing it here is for record.
|
|
infisicalAuthRef:
|
|
name: infisical-auth
|
|
namespace: infisical-operator
|
|
sources:
|
|
- projectId: 17e98e9d-70f5-43d1-8382-7da818dfcdd0 # project "homelab"
|
|
environmentSlug: prod
|
|
secretPath: /gitea-runner
|
|
syncOptions:
|
|
refreshInterval: 60s
|
|
targets:
|
|
- kind: Secret
|
|
name: gitea-runner-secret-infisical # parallel name — old secret stays live until 3c
|
|
namespace: gitea
|
|
creationPolicy: Owner
|
|
# key passthrough: synced Secret carries GITEA_RUNNER_REGISTRATION_TOKEN verbatim.
|