37 lines
739 B
YAML
37 lines
739 B
YAML
image:
|
|
repository: tccr.io/truecharts/coupon-store
|
|
tag: 1.2.0@sha256:50d60f9be45f75425c531b2e0c926a5347d2ed5a04ef85b61e6a87c3663c5f2d
|
|
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
|