2021-11-16 17:19:04 +00:00
|
|
|
image:
|
|
|
|
# -- image repository
|
2021-12-03 15:44:22 +00:00
|
|
|
repository: tccr.io/truecharts/openkm-ce
|
2021-11-16 17:19:04 +00:00
|
|
|
# -- image tag
|
2021-12-03 15:44:22 +00:00
|
|
|
tag: v6.3.11@sha256:941156f70c16350fb92d66f60007ac68abaee11265448eaacc40e821a46afc4d
|
2021-11-16 17:19:04 +00:00
|
|
|
# -- image pull policy
|
|
|
|
pullPolicy: IfNotPresent
|
|
|
|
|
|
|
|
initContainers:
|
|
|
|
init:
|
|
|
|
image: "{{ .Values.alpineImage.repository }}:{{ .Values.alpineImage.tag }}"
|
|
|
|
command: ["/config/init/init.sh"]
|
|
|
|
volumeMounts:
|
|
|
|
- name: init
|
|
|
|
mountPath: "/config/init"
|
|
|
|
- name: config
|
|
|
|
mountPath: "/opt/tomcat"
|
|
|
|
|
|
|
|
securityContext:
|
|
|
|
readOnlyRootFilesystem: false
|
|
|
|
runAsNonRoot: false
|
|
|
|
|
|
|
|
podSecurityContext:
|
|
|
|
runAsUser: 0
|
|
|
|
runAsGroup: 0
|
|
|
|
|
|
|
|
# -- environment variables. See more environment variables in the [openkm documentation](https://openkm.org/docs).
|
|
|
|
# @default -- See below
|
|
|
|
env:
|
|
|
|
# -- Set the container timezone
|
|
|
|
TZ: UTC
|
|
|
|
|
|
|
|
# -- Configures service settings for the chart.
|
|
|
|
# @default -- See values.yaml
|
|
|
|
service:
|
|
|
|
main:
|
|
|
|
ports:
|
|
|
|
main:
|
2021-11-30 13:04:19 +00:00
|
|
|
port: 10090
|
2021-11-16 17:19:04 +00:00
|
|
|
targetPort: 8080
|
|
|
|
|
|
|
|
# -- Configure persistence settings for the chart under this key.
|
|
|
|
# @default -- See values.yaml
|
|
|
|
persistence:
|
|
|
|
config:
|
|
|
|
enabled: true
|
|
|
|
mountPath: "/opt/tomcat/repository"
|
|
|
|
|
|
|
|
postgresql:
|
|
|
|
enabled: true
|
|
|
|
existingSecret: "dbcreds"
|
|
|
|
postgresqlUsername: openkm
|
|
|
|
postgresqlDatabase: openkm
|