You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
599 B
21 lines
599 B
apiVersion: v1
|
|
kind: Secret
|
|
metadata:
|
|
name: k8s-webui-secrets
|
|
namespace: k8s-webui
|
|
type: Opaque
|
|
stringData:
|
|
PASETO_SECRET_KEY: "change-this-32-byte-secret-in-production-please-use-random-key"
|
|
POSTGRES_PASSWORD: "k8s_webui_password"
|
|
REDIS_PASSWORD: "" # Redis without password for simplicity
|
|
---
|
|
apiVersion: v1
|
|
kind: ConfigMap
|
|
metadata:
|
|
name: k8s-webui-config
|
|
namespace: k8s-webui
|
|
data:
|
|
NODE_ENV: "production"
|
|
K8S_NAMESPACE: "base-infrastructure"
|
|
REDIS_URL: "redis://k8s-webui-redis:6379"
|
|
DATABASE_URL: "postgres://k8s_user:k8s_webui_password@k8s-webui-postgres:5432/k8s_webui" |