Files
cwshed-clone/deploy/k8s/secret.example.yaml
T

32 lines
1.1 KiB
YAML

apiVersion: v1
kind: Secret
metadata:
name: belki-runtime
namespace: belki
# Bootstrap template only: replace every placeholder out of band before creating the Secret.
# CI can patch this named Secret but cannot create it or read other namespace Secrets.
type: Opaque
stringData:
VK_GROUP_TOKEN: replace-out-of-band
VK_GROUP_ID: replace-out-of-band
VK_API_VERSION: "5.199"
VK_CALLBACK_SECRET: replace-out-of-band
VK_CALLBACK_CONFIRMATION: replace-out-of-band
BELKI_DATABASE_URL: postgresql://belki:replace-out-of-band@postgres:5432/belki
POSTGRES_PASSWORD: replace-out-of-band
BELKI_ADMIN_PASSWORD: replace-out-of-band
# Create separately as `belki-image-store`; do not add these values to belki-runtime.
---
apiVersion: v1
kind: Secret
metadata:
name: belki-image-store
namespace: belki
type: Opaque
stringData:
BELKI_S3_ENDPOINTS: 10.43.30.146:9000
BELKI_S3_ACCESS_KEY: replace-out-of-band
BELKI_S3_SECRET_KEY: replace-out-of-band
BELKI_S3_BUCKET: belki-images
# secret.example.yaml defines the secret.example production resource; keep namespace and secret references aligned with belki.