ScuttleBot

scuttlebot / deploy / k8s / scuttlebot-secret.yaml
Source Blame History 15 lines
7bbcd81… lmata 1 # EXAMPLE ONLY — do not commit real values.
7bbcd81… lmata 2 # Create this secret with:
7bbcd81… lmata 3 # kubectl create secret generic scuttlebot-secrets \
7bbcd81… lmata 4 # --from-literal=ergo-api-token=<your-token> \
7bbcd81… lmata 5 # --from-literal=postgres-dsn='postgres://user:pass@host/db?sslmode=require'
7bbcd81… lmata 6 #
7bbcd81… lmata 7 # Or use your preferred secrets manager (Vault, Sealed Secrets, ESO, etc.)
7bbcd81… lmata 8 apiVersion: v1
7bbcd81… lmata 9 kind: Secret
7bbcd81… lmata 10 metadata:
7bbcd81… lmata 11 name: scuttlebot-secrets
7bbcd81… lmata 12 type: Opaque
7bbcd81… lmata 13 stringData:
7bbcd81… lmata 14 ergo-api-token: "CHANGE_ME"
7bbcd81… lmata 15 postgres-dsn: "postgres://scuttlebot:CHANGE_ME@postgres-host:5432/scuttlebot?sslmode=require"

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button