Informasjonsforvaltning / fdk-cms-service

Apache License 2.0
0 stars 0 forks source link

feat: Add Postgres configuration #9

Closed simenandre closed 3 years ago

simenandre commented 3 years ago

Example secret for environment variables:

apiVersion: v1
kind: Secret
metadata:
  name: cms-env-vars
type: kubernetes.io/basic-auth
stringData:
  CONNECTION: production
  ADMIN_JWT_SECRET: some-random-hash
  POSTGRES_HOST: localhost // (sidecar domain?)
  POSTGRES_NAME: a-database-name
  POSTGRES_USERNAME: a-username
  POSTGRES_PASSWORD: a-password

closes #4