2021-11-30 13:33:15 +00:00
|
|
|
image:
|
2021-12-03 12:02:44 +00:00
|
|
|
repository: tccr.io/truecharts/snipe-it
|
2021-11-30 13:33:15 +00:00
|
|
|
pullPolicy: IfNotPresent
|
2022-04-17 07:55:14 +00:00
|
|
|
tag: v5.4.3@sha256:3d842203a3d17744cd6bf4bc9834af4d3942923d1eae36f498cb42be2ea5664d
|
2021-11-30 13:33:15 +00:00
|
|
|
|
|
|
|
securityContext:
|
|
|
|
runAsNonRoot: false
|
|
|
|
readOnlyRootFilesystem: false
|
|
|
|
|
|
|
|
podSecurityContext:
|
|
|
|
runAsUser: 0
|
2022-03-24 18:30:25 +00:00
|
|
|
runAsGroup: 1000
|
2022-03-24 15:08:37 +00:00
|
|
|
fsGroup: 50
|
2021-11-30 13:33:15 +00:00
|
|
|
|
2022-03-23 19:10:15 +00:00
|
|
|
env:
|
|
|
|
APP_ENV: "production"
|
|
|
|
DB_CONNECTION: "mysql"
|
|
|
|
DB_USERNAME: "{{ .Values.mariadb.mariadbUsername }}"
|
|
|
|
DB_DATABASE: "{{ .Values.mariadb.mariadbDatabase }}"
|
|
|
|
DB_PORT: "3306"
|
|
|
|
REDIS_PORT: "6379"
|
|
|
|
APP_TIMEZONE: "{{ .Values.TZ }}"
|
|
|
|
FILESYSTEM_DISK: "local"
|
|
|
|
# User Defined
|
|
|
|
APP_URL: "http://localhost:80"
|
|
|
|
APP_LOCALE: "en"
|
|
|
|
MAX_RESULTS: 500
|
|
|
|
IMAGE_LIB: "gd"
|
2022-03-24 18:30:25 +00:00
|
|
|
# APP_DEBUG: true
|
|
|
|
# APP_LOG_LEVEL: "debug"
|
2022-03-23 19:10:15 +00:00
|
|
|
# Session
|
|
|
|
SESSION_LIFETIME: 30
|
|
|
|
EXPIRE_ON_CLOSE: false
|
|
|
|
ENCRYPT: false
|
|
|
|
COOKIE_NAME: "snipeit_session"
|
|
|
|
SECURE_COOKIES: false
|
|
|
|
API_TOKEN_EXPIRATION_YEARS: 40
|
|
|
|
# Login
|
|
|
|
LOGIN_MAX_ATTEMPTS: 5
|
|
|
|
LOGIN_LOCKOUT_DURATION: 60
|
|
|
|
|
|
|
|
envValueFrom:
|
|
|
|
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
|
|
|
|
|
2022-03-26 15:53:37 +00:00
|
|
|
probes:
|
|
|
|
liveness:
|
|
|
|
path: "/health"
|
|
|
|
readiness:
|
|
|
|
path: "/health"
|
|
|
|
startup:
|
|
|
|
path: "/health"
|
|
|
|
|
2021-11-30 13:33:15 +00:00
|
|
|
service:
|
|
|
|
main:
|
|
|
|
ports:
|
|
|
|
main:
|
|
|
|
port: 10120
|
|
|
|
targetPort: 80
|
|
|
|
|
|
|
|
persistence:
|
2022-03-23 19:10:15 +00:00
|
|
|
logs:
|
2021-11-30 13:33:15 +00:00
|
|
|
enabled: true
|
2022-03-23 19:10:15 +00:00
|
|
|
mountPath: "/var/www/html/storage/logs"
|
2022-03-24 18:30:25 +00:00
|
|
|
data:
|
|
|
|
enabled: true
|
|
|
|
mountPath: "/var/lib/snipeit/data"
|
|
|
|
backups:
|
|
|
|
enabled: true
|
|
|
|
mountPath: "/var/lib/snipeit/dumps"
|
2021-11-30 13:33:15 +00:00
|
|
|
|
|
|
|
mariadb:
|
|
|
|
enabled: true
|
|
|
|
mariadbUsername: snipe-it
|
|
|
|
mariadbDatabase: snipe-it
|
|
|
|
existingSecret: "mariadbcreds"
|
2022-03-23 19:10:15 +00:00
|
|
|
|
|
|
|
redis:
|
|
|
|
enabled: true
|
|
|
|
existingSecret: "rediscreds"
|