1+ {{- if .Values.ingestorCluster.enabled }}
2+ apiVersion : enterprise.splunk.com/v4
3+ kind : IngestorCluster
4+ metadata :
5+ name : {{ .Values.ingestorCluster.name }}
6+ namespace : {{ default .Release.Namespace .Values.ingestorCluster.namespaceOverride }}
7+ {{- with .Values.ingestorCluster.additionalLabels }}
8+ labels :
9+ {{ toYaml . | nindent 4 }}
10+ {{- end }}
11+ {{- with .Values.ingestorCluster.additionalAnnotations }}
12+ annotations :
13+ {{ toYaml . | nindent 4 }}
14+ {{- end }}
15+ spec :
16+ replicas : {{ default 3 .Values.ingestorCluster.replicaCount }}
17+ {{- if .Values.image.repository }}
18+ image : {{ .Values.image.repository }}
19+ {{- end }}
20+ {{- if .Values.image.imagePullPolicy }}
21+ imagePullPolicy : {{ .Values.image.imagePullPolicy }}
22+ {{- end }}
23+ {{- with .Values.image.imagePullSecrets }}
24+ imagePullSecrets :
25+ {{- toYaml . | nindent 4 }}
26+ {{- end }}
27+ {{- if .Values.ingestorCluster.serviceAccount }}
28+ serviceAccount : {{ .Values.ingestorCluster.serviceAccount }}
29+ {{- end }}
30+ {{- if .Values.existingLicenseManager.name }}
31+ licenseManagerRef :
32+ name : {{ .Values.existingLicenseManager.name }}
33+ {{- if .Values.existingLicenseManager.namespace }}
34+ namespace : {{ .Values.existingLicenseManager.namespace }}
35+ {{- end }}
36+ {{- else if and .Values.licenseManager.enabled .Values.licenseManager.name }}
37+ licenseManagerRef :
38+ name : {{ .Values.licenseManager.name }}
39+ {{- if .Values.licenseManager.namespaceOverride }}
40+ namespace : {{ .Values.licenseManager.namespaceOverride }}
41+ {{- end }}
42+ {{- end }}
43+ {{- if .Values.existingMonitoringConsole.name }}
44+ monitoringConsoleRef :
45+ name : {{ .Values.existingMonitoringConsole.name }}
46+ {{- if .Values.existingMonitoringConsole.namespace }}
47+ namespace : {{ .Values.existingMonitoringConsole.namespace }}
48+ {{- end }}
49+ {{- else if and .Values.monitoringConsole.enabled .Values.monitoringConsole.name }}
50+ monitoringConsoleRef :
51+ name : {{ .Values.monitoringConsole.name }}
52+ {{- if .Values.monitoringConsole.namespaceOverride }}
53+ namespace : {{ .Values.monitoringConsole.namespaceOverride }}
54+ {{- end }}
55+ {{- end }}
56+ livenessInitialDelaySeconds : {{ default 300 .Values.ingestorCluster.livenessInitialDelaySeconds }}
57+ readinessInitialDelaySeconds : {{ default 10 .Values.ingestorCluster.readinessInitialDelaySeconds }}
58+ {{- with .Values.ingestorCluster.startupProbe }}
59+ startupProbe :
60+ {{- toYaml . | nindent 4 }}
61+ {{- end }}
62+ {{- with .Values.ingestorCluster.livenessProbe }}
63+ livenessProbe :
64+ {{- toYaml . | nindent 4 }}
65+ {{- end }}
66+ {{- with .Values.ingestorCluster.readinessProbe }}
67+ readinessProbe :
68+ {{- toYaml . | nindent 4 }}
69+ {{- end }}
70+ {{- with .Values.ingestorCluster.etcVolumeStorageConfig }}
71+ etcVolumeStorageConfig :
72+ {{- toYaml . | nindent 4 }}
73+ {{- end }}
74+ {{- with .Values.ingestorCluster.varVolumeStorageConfig }}
75+ varVolumeStorageConfig :
76+ {{- toYaml . | nindent 4 }}
77+ {{- end }}
78+ {{- with .Values.ingestorCluster.resources }}
79+ resources :
80+ {{- toYaml . | nindent 4 }}
81+ {{- end }}
82+ {{- with .Values.ingestorCluster.serviceTemplate }}
83+ serviceTemplate :
84+ {{- toYaml . | nindent 4 }}
85+ {{- end }}
86+ {{- with .Values.ingestorCluster.tolerations }}
87+ tolerations :
88+ {{- toYaml . | nindent 4 }}
89+ {{- end }}
90+ {{- with .Values.ingestorCluster.affinity }}
91+ affinity :
92+ {{- toYaml . | nindent 4 }}
93+ {{- end }}
94+ {{- with .Values.ingestorCluster.topologySpreadConstraints }}
95+ topologySpreadConstraints :
96+ {{- toYaml . | nindent 4 }}
97+ {{- end }}
98+ {{- with .Values.ingestorCluster.pipelineConfig }}
99+ pipelineConfig :
100+ {{- if hasKey . "remoteQueueRuleset" }}
101+ remoteQueueRuleset : {{ .remoteQueueRuleset }}
102+ {{- end }}
103+ {{- if hasKey . "ruleSet" }}
104+ ruleSet : {{ .ruleSet }}
105+ {{- end }}
106+ {{- if hasKey . "remoteQueueTyping" }}
107+ remoteQueueTyping : {{ .remoteQueueTyping }}
108+ {{- end }}
109+ {{- if hasKey . "remoteQueueOutput" }}
110+ remoteQueueOutput : {{ .remoteQueueOutput }}
111+ {{- end }}
112+ {{- if hasKey . "typing" }}
113+ typing : {{ .typing }}
114+ {{- end }}
115+ {{- if hasKey . "indexerPipe" }}
116+ indexerPipe : {{ .indexerPipe }}
117+ {{- end }}
118+ {{- end }}
119+ {{- with .Values.ingestorCluster.pushBus }}
120+ pushBus :
121+ type : {{ .type | quote }}
122+ {{- with .sqs }}
123+ sqs :
124+ {{- if .queueName }}
125+ queueName : {{ .queueName | quote }}
126+ {{- end }}
127+ {{- if .authRegion }}
128+ authRegion : {{ .authRegion | quote }}
129+ {{- end }}
130+ {{- if .endpoint }}
131+ endpoint : {{ .endpoint | quote }}
132+ {{- end }}
133+ {{- if .largeMessageStoreEndpoint }}
134+ largeMessageStoreEndpoint : {{ .largeMessageStoreEndpoint | quote }}
135+ {{- end }}
136+ {{- if .largeMessageStorePath }}
137+ largeMessageStorePath : {{ .largeMessageStorePath | quote }}
138+ {{- end }}
139+ {{- if .deadLetterQueueName }}
140+ deadLetterQueueName : {{ .deadLetterQueueName | quote }}
141+ {{- end }}
142+ {{- if not (eq .maxRetriesPerPart nil) }}
143+ maxRetriesPerPart : {{ .maxRetriesPerPart }}
144+ {{- end }}
145+ {{- if .retryPolicy }}
146+ retryPolicy : {{ .retryPolicy | quote }}
147+ {{- end }}
148+ {{- if .sendInterval }}
149+ sendInterval : {{ .sendInterval | quote }}
150+ {{- end }}
151+ {{- if .encodingFormat }}
152+ encodingFormat : {{ .encodingFormat | quote }}
153+ {{- end }}
154+ {{- end }}
155+ {{- end }}
156+ {{- with .Values.ingestorCluster.extraEnv }}
157+ extraEnv :
158+ {{- toYaml . | nindent 4 }}
159+ {{- end }}
160+ {{- with .Values.ingestorCluster.appRepo }}
161+ appRepo :
162+ {{- toYaml . | nindent 4 }}
163+ {{- end }}
164+ {{- with .Values.ingestorCluster.volumes }}
165+ volumes :
166+ {{ toYaml . | indent 4 }}
167+ {{- end }}
168+ {{- if .Values.ingestorCluster.licenseUrl }}
169+ licenseUrl : {{ .Values.ingestorCluster.licenseUrl }}
170+ {{- end }}
171+ {{- if .Values.ingestorCluster.defaultsUrl }}
172+ defaultsUrl : {{ .Values.ingestorCluster.defaultsUrl }}
173+ {{- end }}
174+ {{- if .Values.ingestorCluster.defaults }}
175+ defaults : |-
176+ {{ toYaml .Values.ingestorCluster.defaults | indent 4 }}
177+ {{- end }}
178+ {{- if .Values.ingestorCluster.defaultsUrlApps }}
179+ defaultsUrlApps : {{ .Values.ingestorCluster.defaultsUrlApps }}
180+ {{- end }}
181+ {{- end }}
0 commit comments