Files
chart/library/ix-dev/community/drawio/templates/_drawio.tpl
Stavros Kois 2ee1489f40 Drawio - migrate storage section (adds acl) (#1926)
* bump version

* add migration

* update ui

* update template

* update template
2023-12-21 10:48:27 +02:00

48 lines
1.4 KiB
Smarty

{{- define "drawio.workload" -}}
workload:
drawio:
enabled: true
primary: true
type: Deployment
podSpec:
hostNetwork: {{ .Values.drawioNetwork.hostNetwork }}
containers:
drawio:
enabled: true
primary: true
imageSelector: image
securityContext:
runAsUser: 1000
runAsGroup: 999
readOnlyRootFilesystem: false
{{ with .Values.drawioConfig.additionalEnvs }}
envList:
{{ range $env := . }}
- name: {{ $env.name }}
value: {{ $env.value }}
{{ end }}
{{ end }}
probes:
liveness:
enabled: true
type: http
port: 8080
path: /
readiness:
enabled: true
type: http
port: 8080
path: /
startup:
enabled: true
type: http
port: 8080
path: /
initContainers:
{{- include "ix.v1.common.app.permissions" (dict "containerName" "01-permissions"
"UID" 1000
"GID" 999
"mode" "check"
"type" "install") | nindent 8 }}
{{- end -}}