66 lines
1.5 KiB
YAML
66 lines
1.5 KiB
YAML
image:
|
|
repository: ghcr.io/pushbits/server
|
|
pullPolicy: IfNotPresent
|
|
tag: 0.10.3@sha256:bb9d82a7c368c85c011618dea29639c77f538e115a73a6c260a6a3e2d01cc5f6
|
|
|
|
service:
|
|
main:
|
|
ports:
|
|
main:
|
|
protocol: http
|
|
port: 8080
|
|
|
|
pushbits:
|
|
admin:
|
|
id: ""
|
|
password: ""
|
|
matrix:
|
|
user: ""
|
|
password: ""
|
|
|
|
workload:
|
|
main:
|
|
podSpec:
|
|
containers:
|
|
main:
|
|
probes:
|
|
liveness:
|
|
path: "/health"
|
|
readiness:
|
|
path: "/health"
|
|
startup:
|
|
path: "/health"
|
|
env:
|
|
PUSHBITS_HTTP_PORT: "{{ .Values.service.main.ports.main.port }}"
|
|
PUSHBITS_DATABASE_DIALECT: "postgres"
|
|
PUSHBITS_DATABASE_CONNECTION:
|
|
secretKeyRef:
|
|
name: cnpg-main-urls
|
|
key: std
|
|
POSTGRES_PASSWORD:
|
|
secretKeyRef:
|
|
name: cnpg-main-user
|
|
key: password
|
|
POSTGRES_USER: "{{ .Values.cnpg.main.user }}"
|
|
POSTGRES_DB: "{{ .Values.cnpg.main.database }}"
|
|
PUSHBITS_ADMIN_MATRIXID: "{{ .Values.pushbits.admin.id }}"
|
|
PUSHBITS_ADMIN_PASSWORD: "{{ .Values.pushbits.admin.password }}"
|
|
PUSHBITS_MATRIX_USERNAME: "{{ .Values.pushbits.matrix.user }}"
|
|
PUSHBITS_MATRIX_PASSWORD: "{{ .Values.pushbits.matrix.password }}"
|
|
|
|
persistence:
|
|
data:
|
|
enabled: true
|
|
mountPath: "/data"
|
|
|
|
# Enabled postgres
|
|
cnpg:
|
|
main:
|
|
enabled: true
|
|
user: pushbits
|
|
database: pushbits
|
|
|
|
portal:
|
|
open:
|
|
enabled: false
|