mirror of
https://github.com/truecharts/library-charts.git
synced 2026-07-05 04:56:37 -03:00
add an extra if
This commit is contained in:
@@ -63,7 +63,7 @@ before chart installation.
|
||||
key: ping
|
||||
{{- end }}
|
||||
{{- if .Values.solr.enabled }}
|
||||
- name: "SOLR_HOST"
|
||||
- name: SOLR_HOST
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: solrcreds
|
||||
@@ -72,6 +72,7 @@ before chart installation.
|
||||
value: "{{ .Values.solr.solrCores }}"
|
||||
- name: SOLR_ENABLE_AUTHENTICATION
|
||||
value: "{{ .Values.solr.solrEnableAuthentication }}"
|
||||
{{- if eq .Values.solr.solrEnableAuthentication "yes" }}
|
||||
- name: SOLR_ADMIN_USERNAME
|
||||
value: "{{ .Values.solr.solrUsername }}"
|
||||
- name: SOLR_ADMIN_PASSWORD
|
||||
@@ -80,6 +81,7 @@ before chart installation.
|
||||
name: solrcreds
|
||||
key: solr-password
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
command:
|
||||
- "/bin/sh"
|
||||
- "-c"
|
||||
|
||||
Reference in New Issue
Block a user