fix: replace placeholder Secret with ExternalSecret via bitwarden-login
This commit is contained in:
@@ -1,16 +1,18 @@
|
|||||||
# FIXME: This Secret is a placeholder only!
|
apiVersion: external-secrets.io/v1
|
||||||
# Greg must generate a runner registration token from the Gitea web UI
|
kind: ExternalSecret
|
||||||
# (Site Administration → Actions → Runners → Create Runner Token),
|
|
||||||
# then store it in agenix and wire it up to populate this Secret.
|
|
||||||
# The Secret should have key: token
|
|
||||||
#
|
|
||||||
# Until this Secret exists in the cluster, the gitea-runner HelmRelease
|
|
||||||
# will fail to deploy.
|
|
||||||
apiVersion: v1
|
|
||||||
kind: Secret
|
|
||||||
metadata:
|
metadata:
|
||||||
name: gitea-runner
|
name: gitea-runner
|
||||||
namespace: gitea-runner
|
namespace: gitea-runner
|
||||||
stringData:
|
spec:
|
||||||
# FIXME: Replace with actual runner token (managed via agenix / external-secrets)
|
refreshInterval: 1h
|
||||||
token: "REPLACE_ME_WITH_ACTUAL_TOKEN"
|
secretStoreRef:
|
||||||
|
name: bitwarden-login
|
||||||
|
kind: ClusterSecretStore
|
||||||
|
target:
|
||||||
|
name: gitea-runner
|
||||||
|
creationPolicy: Owner
|
||||||
|
data:
|
||||||
|
- secretKey: token
|
||||||
|
remoteRef:
|
||||||
|
key: 11419680-5338-4f19-bdd9-b422007046af
|
||||||
|
property: password
|
||||||
|
|||||||
Reference in New Issue
Block a user