TrueChartsClone/charts/stable/ferdi-server/values.yaml

112 lines
2.3 KiB
YAML
Raw Normal View History

image:
repository: tccr.io/truecharts/ferdi-server
tag: v1.3.2@sha256:f8e0023f5bb616e08174af1030ea69364d2d85e5d3c393daf6f1f453a8a5a37e
pullPolicy: IfNotPresent
securityContext:
readOnlyRootFilesystem: false
runAsNonRoot: false
podSecurityContext:
runAsUser: 0
runAsGroup: 0
env:
NODE_ENV: "production"
DATA_DIR: "/app/data"
DB_CONNECTION: "pg"
DB_PORT: "5432"
DB_SSL: false
DB_USER: "{{ .Values.postgresql.postgresqlUsername }}"
DB_DATABASE: "{{ .Values.postgresql.postgresqlDatabase }}"
# User Defined
APP_URL: "http://localhost:3333"
IS_CREATION_ENABLED: true
IS_DASHBOARD_ENABLED: true
IS_REGISTRATION_ENABLED: true
CONNECT_WITH_FRANZ: true
# MAIL_CONNECTION: "smtp"
# SMTP_HOST: "localhost"
# SMTP_PORT: 587
# MAIL_SSL: true
# MAIL_USERNAME: "username@example.com"
# MAIL_PASSWORD: "password"
# MAIL_SENDER: "noreply@example.com"
# SPARKPOST_API_KEY: ""
# MAILGUN_DOMAIN: ""
# MAILGUN_API_REGION: ""
# MAILGUN_API_KEY: ""
DB_HOST:
secretKeyRef:
name: dbcreds
key: plainhost
DB_PASSWORD:
secretKeyRef:
name: dbcreds
key: postgresql-password
probes:
liveness:
path: "/health"
readiness:
path: "/health"
startup:
path: "/health"
service:
main:
ports:
main:
port: 10206
targetPort: 3333
persistence:
data:
enabled: true
mountPath: "/app/data"
recipes:
enabled: true
mountPath: "/app/recipes"
postgresql:
enabled: true
existingSecret: "dbcreds"
postgresqlUsername: ferdi-server
postgresqlDatabase: ferdi-server
installContainers:
1-create-key-file:
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
volumeMounts:
- name: data
mountPath: "/app/data"
env:
- name: APP_KEY
valueFrom:
secretKeyRef:
name: ferdi-server-secrets
key: APP_KEY
command: ["sh", "-c"]
args:
- >
keyfile="/app/data/FERDI_APP_KEY.txt";
if [ ! -f ${keyfile} ];
then
echo "No APP_KEY File...";
echo "Creating APP_KEY file...";
echo "${APP_KEY}" > ${keyfile};
if [ -f ${keyfile} ];
then
echo "Success!";
else
echo "Failed.";
fi;
else
echo "APP_KEY File exists. Skipping...";
fi;
chore(questions): replace questions parts with templates (#3402) * chore(questions): replace port parts with templates * chore(questions): replace controller parts with templates * remove tons of whitespce * remove quotes from strings on templates * make complete controller an include * default to recreate * remove replica and strategies as it's covered from controllerStrtegies include * remove whitespace again * replace controllertype with include (deployment/daemonset/statefulset) * replace advanced port part except targetport * remove more quotes * add hidden toggle of enable the port * new includes * update build script * controller deploy/stateful/deamon template changes * replace controllerStrategies with replicas, replica#, strategy, recreate * move 2 templates into a subfolder * remove quotes * remove disabled portals from questions and defined them on values * remove enabled portal from the questions and add it on values * one more app * Portal cleanup * remove portal templates * add more includes * replace portal links * move some templates in folders * replace ingressRoot with template * more grouping * replace persistenceroot with template * replace serviceExpertRoot * replace serviceroot * fix a rogue one * vctRoot * securityContext cleanup * remove quotes from templates on string * replace vctRoot * replace advanedSecurityRoot * replace podsecurity root * Update .github/scripts/build-catalog.sh * Update values.yaml * remove dupe portal * update build-release script * fix paths * fix apps with imageSelector Co-authored-by: Kjeld Schouten-Lebbing <kjeld@schouten-lebbing.nl>
2022-08-08 17:25:02 -04:00
portal:
enabled: true