59 lines
1.2 KiB
YAML
59 lines
1.2 KiB
YAML
image:
|
|
repository: pepperlabs/peppermint
|
|
pullPolicy: IfNotPresent
|
|
tag: latest@sha256:7b6818a522f2ed32d6069fac6a64b19b3293399500447756c2e2498cea535a10
|
|
|
|
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
|