fix(backup): add the registry pull secret that forgejo/cluster-backup now needs
The namespace never pulled from the in-cluster registry before (its job used alpine/k8s from Docker Hub), so the new image reference had no credential and the pod sat in ErrImagePull. Same SOPS-encrypted dockerconfigjson as the other namespaces; deviating only in metadata.namespace.
This commit is contained in:
parent
0acc089dc3
commit
9248f34bd0
2 changed files with 27 additions and 0 deletions
|
|
@ -48,3 +48,7 @@ resources:
|
|||
- secret-forgejo-runner-amd64-token.sops.yaml
|
||||
- secret-forgejo-runner-deploy-arm64-token.sops.yaml
|
||||
- secret-cluster-backup-ssh.sops.yaml
|
||||
# Registry pull credential: cluster-backup now runs an image from the
|
||||
# in-cluster Forgejo registry instead of alpine/k8s from Docker Hub
|
||||
# (card t_9d0428d8).
|
||||
- secret-forgejo-pull.sops.yaml
|
||||
|
|
|
|||
23
apps/base/forgejo/secret-forgejo-pull.sops.yaml
Normal file
23
apps/base/forgejo/secret-forgejo-pull.sops.yaml
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
apiVersion: v1
|
||||
data:
|
||||
.dockerconfigjson: ENC[AES256_GCM,data:QS5gZUJ0zi3YYSaCpJWSCA/JakeknWmlQ8WVKlyxh2k4zo/Ul33lhH5iQP27Z3ec6FyEtV8TUSdhkq1wGSCF7cRu00ze4qljMuviU35x2Dl5aMc7JEWvRPnypoBYNmTRulPZh5E3GdiR9VUzok643P0igJyHlQBjO8HkLiuZ41Zd7JYordQRPTH4tXlDbiJPEPfkMEyFHY/6XdEEUNv5eIUyb004d1xZccnGaMwliVNBL5xIbJpb4Bza9/Z8NYsq70cmjHH/hFq7uotnSt3B53vPnwf6Rsq9j44i3M0xQjHQf+QYa34mFncHznwxPczLo8wcmKFmZYkNZNXxzc/NryeC4w950GUZ+cSO1UKLhS8IGIal8S05IWmeIuda1k9V,iv:AN7Fn/JmSYqiERsqneSOMeV3kMRGcawgV4Y9iJrjF7E=,tag:XwEZy+ULOGiFTW1diodMgg==,type:str]
|
||||
kind: Secret
|
||||
metadata:
|
||||
name: forgejo-pull
|
||||
namespace: forgejo
|
||||
type: kubernetes.io/dockerconfigjson
|
||||
sops:
|
||||
age:
|
||||
- enc: |
|
||||
-----BEGIN AGE ENCRYPTED FILE-----
|
||||
YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSBjTmlMUDZOdnc1U3RGM1Jh
|
||||
TTNmU3pRV3M1Y2lkNitqMkE0WHRZdXNOSlRJCnZ2eDB3ZXpvWDR6dHJBeWJpdElI
|
||||
a24xelp4dGluNXNGUzJYOWlPNzdwM0EKLS0tIGJuUk1CUEEvZlVWYlFKTnVwWVRS
|
||||
M2o5LzBJSEpXaklKc0ZMZ0FDa3NlV0UKmNVnlKd/Xqbisox3hrAeK45sbLJW5yS3
|
||||
Y6KfweCLwk6edQ9YflAvmk2FWVi0PIMdmloObXVSvB/ZY+jeLlK4lA==
|
||||
-----END AGE ENCRYPTED FILE-----
|
||||
recipient: age12zdn7x72zrgu9cdv8wdj7xfx42nz09nrwpc2g09cwx5fwdm0ry6qp5h4jp
|
||||
encrypted_regex: ^(data|stringData)$
|
||||
lastmodified: "2026-12-04T05:28:22Z"
|
||||
mac: ENC[AES256_GCM,data:goW5PeSFtc0ga5gTDAZpYFQ8xBTXA2dgOomUK9t9GX3T7nswhu6fmfXJ2zjqyYLKJ5wnVEY4pvwx9RThEpU0khcP8iBqyrzUvIEXUsoQ5lTegRxgyuowPKWBkQcrJPx5GEgHSJr5J6XlDKbbCeOW0SxnerPhpJ03ueh3yULPgKw=,iv:Z/hm3jpUXzWeabPXuecuAIm+bemjluy/xjas8dg7bUY=,tag:3coZnG6p2v6ZT0raG7b1IQ==,type:str]
|
||||
version: 3.13.3
|
||||
Loading…
Reference in a new issue