Files
truecharts/charts/stable/snipe-it/values.yaml
T
ac9cc7f736 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 23:25:02 +02:00

145 lines
3.1 KiB
YAML

image:
repository: tccr.io/truecharts/snipe-it
pullPolicy: IfNotPresent
tag: v6.0.8@sha256:291606a4aa70ae3b7ab828f6b15bff32aed5e196986efb805075ac158a9bb714
securityContext:
runAsNonRoot: false
readOnlyRootFilesystem: false
podSecurityContext:
runAsUser: 0
runAsGroup: 1000
fsGroup: 50
env:
APP_ENV: "production"
DB_CONNECTION: "mysql"
DB_USERNAME: "{{ .Values.mariadb.mariadbUsername }}"
DB_DATABASE: "{{ .Values.mariadb.mariadbDatabase }}"
DB_PORT: "3306"
REDIS_PORT: "6379"
SESSION_DRIVER: "redis"
CACHE_DRIVER: "redis"
QUEUE_DRIVER: "redis"
APP_TIMEZONE: "{{ .Values.TZ }}"
FILESYSTEM_DISK: "local"
# User Defined
APP_URL: "http://localhost:80"
# APP_FORCE_TLS: false
# APP_TRUSTED_PROXIES: "172.16.0.0/16"
APP_LOCALE: "en"
MAX_RESULTS: 500
IMAGE_LIB: "gd"
# APP_DEBUG: true
# APP_LOG_LEVEL: "debug"
# Session
SESSION_LIFETIME: 30
EXPIRE_ON_CLOSE: false
ENCRYPT: false
COOKIE_NAME: "snipeit_session"
SECURE_COOKIES: false
# COOKIE_DOMAIN: ""
API_TOKEN_EXPIRATION_YEARS: 40
# Login
LOGIN_MAX_ATTEMPTS: 5
LOGIN_LOCKOUT_DURATION: 60
# ALLOW_IFRAMING: false
# APP_ALLOW_INSECURE_HOSTS: false
# GOOGLE_MAPS_API: ""
# LDAP_MEM_LIM: "500M"
# LDAP_TIME_LIM: 600
# API_THROTTLE_PER_MINUTE: 120
# ENABLE_HSTS: false
# ENABLE_CSP: false
# CORS_ALLOWED_ORIGINS: "null"
# REFERRER_POLICY: "same-origin"
# MAIL_DRIVER: "log"
# MAIL_HOST: ""
# MAIL_PORT: 587
# MAIL_USERNAME: ""
# MAIL_PASSWORD: ""
# MAIL_ENCRYPTION: "null"
# MAIL_FROM_ADDR: ""
# MAIL_FROM_NAME: ""
# MAIL_REPLYTO_ADDR: ""
# MAIL_REPLYTO_NAME: ""
# MAIL_AUTO_EMBED: true
# MAIL_AUTO_EMBED_METHOD: "base64"
# PUBLIC_AWS_SECRET_ACCESS_KEY: ""
# PUBLIC_AWS_ACCESS_KEY_ID: ""
# PUBLIC_AWS_DEFAULT_REGION: ""
# PUBLIC_AWS_BUCKET: ""
# PUBLIC_AWS_URL: ""
# PUBLIC_AWS_BUCKET_ROOT: ""
# PRIVATE_AWS_SECRET_ACCESS_KEY: ""
# PRIVATE_AWS_ACCESS_KEY_ID: ""
# PRIVATE_AWS_DEFAULT_REGION: ""
# PRIVATE_AWS_BUCKET: ""
# PRIVATE_AWS_URL: ""
# PRIVATE_AWS_BUCKET_ROOT: ""
# LOG: "daily"
# APP_LOG_MAX_FILES: 10
# APP_DEBUG: false
# APP_LOG_LEVEL: "error"
DB_HOST:
secretKeyRef:
name: mariadbcreds
key: plainhost
DB_PASSWORD:
secretKeyRef:
name: mariadbcreds
key: mariadb-password
REDIS_HOST:
secretKeyRef:
name: rediscreds
key: plainhost
REDIS_PASSWORD:
secretKeyRef:
name: rediscreds
key: redis-password
APP_KEY:
secretKeyRef:
name: snipeit-secrets
key: APP_KEY
probes:
liveness:
path: "/health"
readiness:
path: "/health"
startup:
path: "/health"
service:
main:
ports:
main:
port: 10120
targetPort: 80
persistence:
logs:
enabled: true
mountPath: "/var/www/html/storage/logs"
data:
enabled: true
mountPath: "/var/lib/snipeit/data"
backups:
enabled: true
mountPath: "/var/lib/snipeit/dumps"
mariadb:
enabled: true
mariadbUsername: snipe-it
mariadbDatabase: snipe-it
existingSecret: "mariadbcreds"
redis:
enabled: true
existingSecret: "rediscreds"
portal:
enabled: true