54 lines
1.1 KiB
YAML
54 lines
1.1 KiB
YAML
image:
|
|
repository: tccr.io/truecharts/snipe-it
|
|
pullPolicy: IfNotPresent
|
|
tag: v5.3.8@sha256:1f41b427ed425211c89e4a0bb483e4cfb54cff9be6d3083e03752dccdc7706e3
|
|
|
|
secret: {}
|
|
|
|
# See more environment variables in the snipe documentation
|
|
# https://github.com/linuxserver/docker-snipe-it#parameters
|
|
env:
|
|
PUID: 568
|
|
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"
|