Files
homelab/cluster/platform/harbor/externalsecret-tekton-robot.yaml
Hermes Agent service account ce992ca743 Fix ClusterSecretStore reference in Harbor ExternalSecrets
Changed from 'onepassword-store' to 'onepassword-connect' to match
the actual ClusterSecretStore name in the cluster.
2026-06-04 23:47:53 -05:00

39 lines
1.1 KiB
YAML

# ExternalSecret for Tekton robot account credentials
# Syncs from 1Password item: harbor-robot-accounts
# Creates a docker-registry type secret for Tekton pipeline authentication
apiVersion: external-secrets.io/v1beta1
kind: ExternalSecret
metadata:
name: harbor-tekton-robot
namespace: harbor
spec:
refreshInterval: 1h
secretStoreRef:
name: onepassword-connect
kind: ClusterSecretStore
target:
name: harbor-tekton-robot
creationPolicy: Owner
template:
type: kubernetes.io/dockerconfigjson
data:
.dockerconfigjson: |
{
"auths": {
"the-seas.local.mk-labs.cloud": {
"username": "{{ .tekton_username }}",
"password": "{{ .tekton_password }}",
"auth": "{{ printf "%s:%s" .tekton_username .tekton_password | b64enc }}"
}
}
}
data:
- secretKey: tekton_username
remoteRef:
key: harbor-robot-accounts
property: tekton-builder-username
- secretKey: tekton_password
remoteRef:
key: harbor-robot-accounts
property: tekton-builder-password