59 lines
1.2 KiB
YAML
59 lines
1.2 KiB
YAML
image:
|
|
repository: pepperlabs/peppermint
|
|
pullPolicy: IfNotPresent
|
|
tag: latest@sha256:1c00641ce4a15e2760ffd67234f1bf70ae62bb52a9677ce1f17647e00b1389e0
|
|
|
|
securityContext:
|
|
container:
|
|
runAsNonRoot: false
|
|
readOnlyRootFilesystem: false
|
|
runAsUser: 0
|
|
runAsGroup: 0
|
|
|
|
service:
|
|
main:
|
|
ports:
|
|
main:
|
|
protocol: http
|
|
targetPort: 3000
|
|
port: 10699
|
|
api:
|
|
enabled: true
|
|
type: ClusterIP
|
|
ports:
|
|
api:
|
|
enabled: true
|
|
protocol: http
|
|
port: 5003
|
|
|
|
workload:
|
|
main:
|
|
podSpec:
|
|
containers:
|
|
main:
|
|
env:
|
|
DB_USERNAME: "{{ .Values.cnpg.main.user }}"
|
|
DB_PASSWORD:
|
|
secretKeyRef:
|
|
name: cnpg-main-user
|
|
key: password
|
|
DB_HOST:
|
|
secretKeyRef:
|
|
name: cnpg-main-urls
|
|
key: host
|
|
SECRET:
|
|
secretKeyRef:
|
|
name: peppermint-secrets
|
|
key: SECRET
|
|
API_URL: '{{ printf "http://%v:%v" (include "tc.v1.common.lib.chart.names.fullname" $) .Values.service.api.ports.api.port }}'
|
|
|
|
cnpg:
|
|
main:
|
|
enabled: true
|
|
user: peppermint
|
|
database: peppermint
|
|
|
|
portal:
|
|
open:
|
|
enabled: true
|