k8s/helm/apps/sudoscientist-go-backend/values.yaml

82 lines
1.7 KiB
YAML

---
common:
fullname: sudoscientist
serviceAccountName: sudoscientist
namespace: sudoscientist
domains:
- api.sudoscientist.com
domainIssuer: route53-issuer
vaultPolicy: |
path "kv/data/sudoscientist/go-backend" {
capabilities = ["read"]
}
secrets:
- secretKey: db_pw
key: sudoscientist/go-backend
property: db_pw
- secretKey: email_secret
key: sudoscientist/go-backend
property: email_secret
- secretKey: jwt_secret
key: sudoscientist/go-backend
property: jwt_secret
image:
repository: docker-repo.service.masked.name:5000/sudoscientist-go-backend
pullPolicy: IfNotPresent
tag: dev
autoscaling:
enable: false
serviceAccount:
create: true
service:
type: ClusterIP
port: 80
env:
- name: API_ADDR
value: https://api.sudoscientist.com
- name: API_PORT
value: "80"
- name: DB_HOST
value: sedan.minhas.io
- name: DB_NAME
value: sudosci
- name: DB_PORT
value: "5432"
- name: DB_SSL
value: disable
- name: DB_USER
value: sudosci
- name: POSTAL_API
value: https://postal.sudoscientist.com
- name: POSTAL_SRC_EMAIL
value: send-mail@postal.sudoscientist.com
- name: UI_ADDR
value: sudoscientist.com
- name: UI_PROTO
value: https://
- name: DB_PW
valueFrom:
secretKeyRef:
name: sudoscientist
key: db_pw
- name: EMAIL_SECRET
valueFrom:
secretKeyRef:
name: sudoscientist
key: email_secret
- name: JWT_SECRET
valueFrom:
secretKeyRef:
name: sudoscientist
key: jwt_secret
- name: POSTAL_KEY
valueFrom:
secretKeyRef:
name: sudoscientist
key: jwt_secret