37 lines
739 B
YAML
37 lines
739 B
YAML
image:
|
|
repository: tccr.io/truecharts/coupon-store
|
|
tag: 1.3.0@sha256:329a146d81079584a2c5465be24ff826c493d3f78017a3ba58625317129b9f80
|
|
pullPolicy: IfNotPresent
|
|
|
|
command:
|
|
- bash
|
|
- -c
|
|
- rm -f tmp/pids/server.pid && bundle exec rails s -p {{ .Values.service.main.ports.main.port }} -b '0.0.0.0'
|
|
|
|
securityContext:
|
|
readOnlyRootFilesystem: false
|
|
runAsNonRoot: false
|
|
|
|
podSecurityContext:
|
|
runAsUser: 0
|
|
runAsGroup: 0
|
|
|
|
envFrom:
|
|
- secretRef:
|
|
name: '{{ include "tc.common.names.fullname" . }}-couponstore-secret'
|
|
|
|
service:
|
|
main:
|
|
ports:
|
|
main:
|
|
port: 10304
|
|
|
|
postgresql:
|
|
enabled: true
|
|
existingSecret: dbcreds
|
|
postgresqlUsername: coupon-store
|
|
postgresqlDatabase: coupon-store
|
|
|
|
portal:
|
|
enabled: true
|