|
@@ -2,6 +2,10 @@
|
|
|
{{- print "minio/operator:v4.5.3" -}}
|
|
|
{{- end -}}
|
|
|
|
|
|
+{{- define "logsearchapi.nameSuffix" -}}
|
|
|
+{{- print "logsearchapi" -}}
|
|
|
+{{- end -}}
|
|
|
+
|
|
|
{{- define "logsearchapi.command" -}}
|
|
|
{{- print "/logsearchapi" -}}
|
|
|
{{- end -}}
|
|
@@ -16,7 +20,7 @@
|
|
|
{{- $postgresSecretName := (include "postgres.secretName" .) -}}
|
|
|
{{- $envList = mustAppend $envList (dict "name" "MINIO_LOG_QUERY_AUTH_TOKEN" "valueFromSecret" true "secretName" $secretName "secretKey" "queryToken") -}}
|
|
|
{{- $envList = mustAppend $envList (dict "name" "LOGSEARCH_AUDIT_AUTH_TOKEN" "valueFromSecret" true "secretName" $secretName "secretKey" "auditToken") -}}
|
|
|
-{{- $envList = mustAppend $envList (dict "name" "LOGSEARCH_PG_CONN_STR" "valueFromSecret" true "secretName" $postgresSecretName "secretKey" "postgresURL") -}}
|
|
|
+{{- $envList = mustAppend $envList (dict "name" "LOGSEARCH_PG_CONN_STR" "valueFromSecret" true "secretName" $secretName "secretKey" "postgresURL") -}}
|
|
|
{{- $envList = mustAppend $envList (dict "name" "LOGSEARCH_DISK_CAPACITY_GB" "value" .Values.logsearchapi.diskCapacityGB) -}}
|
|
|
{{- include "common.containers.environmentVariables" (dict "environmentVariables" $envList) -}}
|
|
|
{{- end -}}
|