khuedoan-homelab/platform/woodpecker/templates/secret.yaml
2024-01-06 03:03:35 +07:00

23 lines
570 B
YAML

apiVersion: external-secrets.io/v1beta1
kind: ExternalSecret
metadata:
name: woodpecker-secret
namespace: {{ .Release.Namespace }}
spec:
secretStoreRef:
kind: ClusterSecretStore
name: global-secrets
data:
- secretKey: WOODPECKER_GITEA_CLIENT
remoteRef:
key: gitea.woodpecker
property: client_id
- secretKey: WOODPECKER_GITEA_SECRET
remoteRef:
key: gitea.woodpecker
property: client_secret
- secretKey: WOODPECKER_AGENT_SECRET
remoteRef:
key: woodpecker.agent
property: secret