53 lines
1.0 KiB
YAML
53 lines
1.0 KiB
YAML
image:
|
|
repository: tccr.io/truecharts/snipe-it
|
|
pullPolicy: IfNotPresent
|
|
tag: v5.4.0@sha256:f7a8b7ab935fbc4683b46e134c9ec9741e8e2df2049520a9dccc834a9edc3b38
|
|
|
|
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
|
|
mountPath: "/config"
|
|
|
|
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"
|