fix: replace placeholder Secret with ExternalSecret via bitwarden-login
buildbot/nix-eval Build done. (1 warning)
buildbot/nix-build Build done.

This commit is contained in:
2026-04-04 19:05:17 +00:00
parent b7fba0e151
commit 757b07c22f
+15 -13
View File
@@ -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