mirror of
https://github.com/truenas/charts.git
synced 2026-05-01 05:50:11 +08:00
* 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
52 lines
1.3 KiB
Smarty
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 -}}
|