system/platform/forgejo/instance/registry-secret.yaml

16 lines
No EOL
547 B
YAML

# Docker registry credentials for git.qcampos.fr (Forgejo packages).
#
# Stored as an Opaque secret so the key name becomes the filename when
# mounted as a volume — DinD will expose it to Kaniko at /kaniko/.docker/config.json.
#
# To regenerate the auth value:
# printf 'qcampos:<TOKEN>' | base64 -w0
apiVersion: v1
kind: Secret
metadata:
name: forgejo-registry-secret
namespace: forgejo
type: Opaque
stringData:
config.json: |
{"auths":{"git.qcampos.fr":{"auth":"cWNhbXBvczphMDFhMDRlOGE1NzkzNzdmNWZjZWU5NmFlMDAyMDRkZTdmMTY0Zjgw"}}}