feat(secrets): add sealed secrets for database and internal configurations

This commit is contained in:
Janis Eccarius
2026-05-30 14:35:06 +02:00
parent 1ed4fc4c33
commit e08bb654b5
6 changed files with 82 additions and 9 deletions
+17
View File
@@ -0,0 +1,17 @@
# PLACEHOLDER — seal with htwg-1 cluster key before use:
# kubectl -n nowchess create secret generic ncs-db-secrets \
# --from-literal=ACCOUNT_DB_URL=... --from-literal=ACCOUNT_DB_PASSWORD=... \
# (add all other DB keys) \
# --dry-run=client -o yaml | kubeseal --controller-namespace kube-system -o yaml > this-file.yaml
apiVersion: bitnami.com/v1alpha1
kind: SealedSecret
metadata:
name: ncs-db-secrets
namespace: nowchess
spec:
encryptedData:
REPLACE_KEY: REPLACE_WITH_SEALED_VALUE
template:
metadata:
name: ncs-db-secrets
namespace: nowchess