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-03-07 00:59:10 +00:00
|
|
|
tag: v5.4.0@sha256:f7a8b7ab935fbc4683b46e134c9ec9741e8e2df2049520a9dccc834a9edc3b38
|
2021-11-30 13:33:15 +00:00
|
|
|
|
|
|
|
secret: {}
|
|
|
|
|
|
|
|
# See more environment variables in the snipe documentation
|
|
|
|
# https://github.com/linuxserver/docker-snipe-it#parameters
|
|
|
|
env:
|
|
|
|
NGINX_APP_URL: '{{ include "common.names.fullname" . }}:8080'
|
|
|
|
MYSQL_USER: snipe-it
|
|
|
|
MYSQL_DATABASE: "snipe-it"
|
|
|
|
MYSQL_PORT_3306_TCP_PORT: "3306"
|
|
|
|
|
|
|
|
securityContext:
|
|
|
|
runAsNonRoot: false
|
|
|
|
readOnlyRootFilesystem: false
|
|
|
|
|
|
|
|
podSecurityContext:
|
|
|
|
runAsUser: 0
|
|
|
|
runAsGroup: 0
|
|
|
|
|
|
|
|
service:
|
|
|
|
main:
|
|
|
|
ports:
|
|
|
|
main:
|
|
|
|
port: 10120
|
|
|
|
targetPort: 80
|
|
|
|
|
|
|
|
persistence:
|
|
|
|
varrun:
|
|
|
|
enabled: true
|
|
|
|
config:
|
|
|
|
enabled: true
|
2021-12-18 19:25:00 +00:00
|
|
|
mountPath: "/config"
|
2021-11-30 13:33:15 +00:00
|
|
|
|
|
|
|
envValueFrom:
|
|
|
|
MYSQL_PORT_3306_TCP_ADDR:
|
|
|
|
secretKeyRef:
|
|
|
|
name: mariadbcreds
|
|
|
|
key: plainhost
|
|
|
|
MYSQL_PASSWORD:
|
|
|
|
secretKeyRef:
|
|
|
|
name: mariadbcreds
|
|
|
|
key: mariadb-password
|
|
|
|
|
|
|
|
mariadb:
|
|
|
|
enabled: true
|
|
|
|
mariadbUsername: snipe-it
|
|
|
|
mariadbDatabase: snipe-it
|
|
|
|
existingSecret: "mariadbcreds"
|