From 36296ad5eaf7c9173d5f6ffddaff00fde16eeb42 Mon Sep 17 00:00:00 2001 From: chemavx Date: Fri, 19 Jun 2026 06:11:41 +0000 Subject: [PATCH] Add researchowl InfisicalStaticSecret for gitea-registry pull secret Reconstructs the dockerconfigjson pull secret from the discrete GITEA_REGISTRY_USERNAME/GITEA_REGISTRY_TOKEN fields at homelab/prod /registry, via the shared infisical-operator/infisical-auth. Targets parallel-name gitea-registry-infisical; old gitea-registry stays live until cutover. Co-Authored-By: Claude Opus 4.8 --- researchowl/infisical-gitea-registry.yaml | 27 +++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 researchowl/infisical-gitea-registry.yaml diff --git a/researchowl/infisical-gitea-registry.yaml b/researchowl/infisical-gitea-registry.yaml new file mode 100644 index 0000000..487a3bb --- /dev/null +++ b/researchowl/infisical-gitea-registry.yaml @@ -0,0 +1,27 @@ +apiVersion: secrets.infisical.com/v1beta1 +kind: InfisicalStaticSecret +metadata: + name: gitea-registry + namespace: researchowl +spec: + # References the SHARED auth layer in infisical-operator (cross-namespace). + infisicalAuthRef: + name: infisical-auth + namespace: infisical-operator + sources: + - projectId: 17e98e9d-70f5-43d1-8382-7da818dfcdd0 # project "homelab" + environmentSlug: prod + secretPath: /registry + syncOptions: + refreshInterval: 60s + targets: + - kind: Secret + name: gitea-registry-infisical # parallel name — old gitea-registry stays live until cutover + namespace: researchowl + creationPolicy: Owner + secretType: kubernetes.io/dockerconfigjson + template: + engineVersion: v1 + data: + # Reconstruct the docker pull-secret blob from the two discrete /registry fields. + .dockerconfigjson: '{"auths":{"git.chemavx.xyz":{"username":"{{ .GITEA_REGISTRY_USERNAME.Value }}","password":"{{ .GITEA_REGISTRY_TOKEN.Value }}","auth":"{{ printf "%s:%s" .GITEA_REGISTRY_USERNAME.Value .GITEA_REGISTRY_TOKEN.Value | encodeBase64 }}"}}}'