Files
chart/library/ix-dev/enterprise/minio/templates/_logsearch.tpl
Stavros Kois 3a6e29ae9e NAS-120452 / 23.10 / Add MinIO Enterprise (#1002)
* Add minio to enterprise train

* Adjust hostnetwork based on multimode configuration

* add update strategy and explicitly set permissions at install time

* minor typo

* use new common

* bump common

* Add upgrade info json

* make immutable the run context and check backup permissions before chowning

* spacing
2023-04-05 17:57:03 +03:00

52 lines
1.3 KiB
Smarty

{{- define "logsearch.workload" -}}
workload:
logsearch:
enabled: true
type: Deployment
podSpec:
containers:
logsearch:
enabled: true
primary: true
imageSelector: logsearchImage
securityContext:
runAsUser: {{ .Values.minioRunAs.user }}
runAsGroup: {{ .Values.minioRunAs.group }}
envFrom:
- secretRef:
name: logsearch-creds
command: /logsearchapi
probes:
liveness:
enabled: true
type: http
port: 8080
path: /status
readiness:
enabled: true
type: http
port: 8080
path: /status
startup:
enabled: true
type: http
port: 8080
path: /status
initContainers:
{{- include "ix.v1.common.app.postgresWait" (dict "name" "postgres-wait"
"secretName" "postgres-creds") | nindent 8 }}
{{/* Service */}}
service:
logsearch:
enabled: true
type: ClusterIP
targetSelector: logsearch
ports:
logsearch:
enabled: true
primary: true
port: 8080
targetSelector: logsearch
{{- end -}}