Files
truecharts/charts/stable/recipes/values.yaml
T
Stavros KoisandGitHub 19df900522 chore(apps): persistence cleanup and small bugfixes (#1329)
* chore(apps): remove persistence size from values

* remove type from persistence from values.yaml

* remove accessMode from persistence from values

* devices dont user persistence

* remove empty lines

* restore accessMode in common, whoops

* quote all mountPaths

* convert `'` to `"`

* fix empty lines

* add missing mountPath on values

* add missing persistence on values

* fix var name on quetsions

* remove disabled persistence from values which are not even defined in questions

* remove more type, accessMode and size

* mountpath -> mountPath

* mounthPath -> mountPath

* booksonic-air persistence cleanup

* remove empty lines

* fix mountPath

* remove unused persistence

* teamspeak3 fix var name in persistence

* remove persistence that will probably be user defined storage

* remove persistence that will probably be user defined storage

* add missing persistence from values

* fix openldap volclaim

* remove persistence that will probably be user defined storage

* add missing persistence from values

* fix path ff3

* fix mountPath

* add missing persistence from values

* remove persistence that will probably be user defined storage

* revert changes in volClaimTemplate

* remove varrun from questions

* fix and cleanup questions postgres

* calm down CI

* ci only value
2021-11-14 20:19:16 +01:00

94 lines
2.2 KiB
YAML

image:
# -- image repository
repository: vabene1111/recipes
# -- image tag
tag: 1.0.1@sha256:0039fb1d3a48eb8d12425d7e60fd86a8cff1e314f82c95c94b1e4982e2fd3791
# -- image pull policy
pullPolicy: IfNotPresent
nginxImage:
# -- nginx sidecar image repository
repository: nginx
# -- nginx sidecar image tag
tag: 1.21.4@sha256:6ff52ff9299052a1454df88f6a46adefedac67dd7350cfaf510b9f1fdd1dafab
securityContext:
readOnlyRootFilesystem: false
runAsNonRoot: false
podSecurityContext:
runAsUser: 0
runAsGroup: 0
# -- environment variables. See [project docs](https://raw.githubusercontent.com/vabene1111/recipes/master/.env.template) for more details.
# @default -- See below
env:
TIMEZONE: UTC
DEBUG: 0
ALLOWED_HOSTS: "*"
SECRET_KEY: "changeme"
GUNICORN_MEDIA: 0
FRACTION_PREF_DEFAULT: 0
COMMENT_PREF_DEFAULT: 1
SHOPPING_MIN_AUTOSYNC_INTERVAL: 5
envTpl:
DB_ENGINE: "django.db.backends.postgresql"
POSTGRES_DB: "{{ .Values.postgresql.postgresqlDatabase }}"
POSTGRES_USER: "{{ .Values.postgresql.postgresqlUsername }}"
POSTGRES_PORT: "5432"
envValueFrom:
POSTGRES_PASSWORD:
secretKeyRef:
name: dbcreds
key: postgresql-password
POSTGRES_HOST:
secretKeyRef:
name: dbcreds
key: plainhost
additionalContainers:
nginx:
name: nginx
image: "{{ .Values.nginxImage.repository }}:{{ .Values.nginxImage.tag }}"
ports:
- containerPort: 80
name: main
volumeMounts:
- name: recipes-config
mountPath: "/etc/nginx/nginx.conf"
subPath: nginx-config
readOnly: true
- name: media
mountPath: "/media"
- name: static
mountPath: "/static"
# -- Configures service settings for the chart.
# @default -- See values.yaml
service:
main:
ports:
main:
port: 80
targetPort: 80
# -- Configure persistence settings for the chart under this key.
# @default -- See values.yaml
persistence:
media:
enabled: true
mountPath: "/opt/recipes/mediafiles"
static:
enabled: true
type: emptyDir
mountPath: "/opt/recipes/staticfiles"
# Enabled postgres
postgresql:
enabled: true
existingSecret: "dbcreds"
postgresqlUsername: recipes
postgresqlDatabase: recipes