fix(argocd): restore SSH repo credentials for Gitea
This commit is contained in:
@@ -1,13 +1,15 @@
|
|||||||
# ------------------------------------------------------------------------------
|
# ------------------------------------------------------------------------------
|
||||||
# Repository Credential Secret — Gitea homelab repo (SSH)
|
# Repository Credential Secret — Gitea homelab repo
|
||||||
#
|
#
|
||||||
# ArgoCD discovers repository credentials via secrets with the label
|
# ArgoCD discovers repository credentials via secrets with the label
|
||||||
# argocd.argoproj.io/secret-type: repository
|
# argocd.argoproj.io/secret-type: repository
|
||||||
#
|
#
|
||||||
# The SSH private key is injected by ESO from 1Password.
|
# The actual token value is injected by the ExternalSecret (externalsecret.yaml)
|
||||||
# In 1Password (mk-labs vault):
|
# which merges into argocd-secret. This secret references that value.
|
||||||
# Item: "gitea-argocd-ssh"
|
#
|
||||||
# Field: private-key → full contents of the ed25519 private key PEM block
|
# NOTE: The token field here uses a placeholder. The ExternalSecret populates
|
||||||
|
# argocd-secret with gitea.token, and ArgoCD resolves it via the
|
||||||
|
# stringData reference below.
|
||||||
# ------------------------------------------------------------------------------
|
# ------------------------------------------------------------------------------
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: Secret
|
kind: Secret
|
||||||
@@ -21,6 +23,5 @@ stringData:
|
|||||||
url: git@gitea.mk-labs.cloud:rblundon/homelab.git
|
url: git@gitea.mk-labs.cloud:rblundon/homelab.git
|
||||||
sshPrivateKey: |
|
sshPrivateKey: |
|
||||||
-----BEGIN OPENSSH PRIVATE KEY-----
|
-----BEGIN OPENSSH PRIVATE KEY-----
|
||||||
# This value is overwritten by ESO — placeholder only
|
# populated by ESO
|
||||||
# See externalsecret.yaml
|
-----END OPENSSH PRIVATE KEY-----
|
||||||
-----END OPENSSH PRIVATE KEY-----
|
|
||||||
|
|||||||
Reference in New Issue
Block a user