Files
chart/library/ix-dev/community/flame/templates/_flame.tpl
Stavros Kois 1910172b63 add flame to community applications (#1578)
* add `flame` to `community` applications

* fix secCtx

* mroe perms

* add ui

* remove extra word
2023-09-28 18:14:32 +03:00

52 lines
1.4 KiB
Smarty

{{- define "flame.workload" -}}
workload:
flame:
enabled: true
primary: true
type: Deployment
podSpec:
hostNetwork: {{ .Values.flameNetwork.hostNetwork }}
containers:
flame:
enabled: true
primary: true
imageSelector: image
securityContext:
# FIXME: https://github.com/pawelmalak/flame/pull/356
runAsUser: 0
runAsGroup: 0
runAsNonRoot: false
readOnlyRootFilesystem: false
capabilities:
add:
- CHOWN
- DAC_OVERRIDE
- FOWNER
envFrom:
- secretRef:
name: flame-config
{{ with .Values.flameConfig.additionalEnvs }}
envList:
{{ range $env := . }}
- name: {{ $env.name }}
value: {{ $env.value }}
{{ end }}
{{ end }}
probes:
liveness:
enabled: true
type: http
port: {{ .Values.flameNetwork.webPort }}
path: /
readiness:
enabled: true
type: http
port: {{ .Values.flameNetwork.webPort }}
path: /
startup:
enabled: true
type: http
port: {{ .Values.flameNetwork.webPort }}
path: /
{{- end -}}