diff --git a/.github/workflows/charts-lint-test.yaml b/.github/workflows/charts-lint-test.yaml index ff82b26d..5eaea520 100644 --- a/.github/workflows/charts-lint-test.yaml +++ b/.github/workflows/charts-lint-test.yaml @@ -96,4 +96,4 @@ jobs: - name: Run chart-testing (install) if: needs.lint.outputs.changed == 'true' - run: find ./ -type f -name *.yaml -exec sed -i 's/tccr.io/ghcr.io/gI' {} \; && ct install --config .github/ct-install.yaml + run: find ./ -type f -name "*.yaml" -exec sed -i 's/tccr.io/ghcr.io/gI' {} \; && ct install --config .github/ct-install.yaml diff --git a/charts/common/Chart.yaml b/charts/common/Chart.yaml index ea511799..5e5d1c1d 100644 --- a/charts/common/Chart.yaml +++ b/charts/common/Chart.yaml @@ -15,4 +15,4 @@ maintainers: name: common sources: null type: library -version: 10.6.9 +version: 10.6.11 diff --git a/charts/common/templates/class/_pvc.tpl b/charts/common/templates/class/_pvc.tpl index 28b04626..1fe87269 100644 --- a/charts/common/templates/class/_pvc.tpl +++ b/charts/common/templates/class/_pvc.tpl @@ -42,7 +42,7 @@ spec: - {{ ( $values.accessMode | default "ReadWriteOnce" ) | quote }} resources: requests: - storage: {{ $values.size | default "256Gi" | quote }} + storage: {{ $values.size | default "999Gi" | quote }} {{- with $values.spec }} {{ tpl ( toYaml . ) $ | indent 2 }} {{- end }} diff --git a/charts/common/templates/lib/controller/_prepare.tpl b/charts/common/templates/lib/controller/_prepare.tpl index 9b0f4b20..3fb6c843 100644 --- a/charts/common/templates/lib/controller/_prepare.tpl +++ b/charts/common/templates/lib/controller/_prepare.tpl @@ -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" diff --git a/charts/common/templates/lib/dependencies/_solrInjector.tpl b/charts/common/templates/lib/dependencies/_solrInjector.tpl index ef98fc69..ea86d43a 100644 --- a/charts/common/templates/lib/dependencies/_solrInjector.tpl +++ b/charts/common/templates/lib/dependencies/_solrInjector.tpl @@ -22,7 +22,8 @@ data: {{- $solrPass = randAlphaNum 50 }} solr-password: {{ $solrPass | b64enc | quote }} {{- end }} - url: {{ ( printf "http://%v:%v@%v-solr:8983/%v" .Values.solr.solrUsername $solrPass .Release.Name .Values.solr.solrCores ) | b64enc | quote }} + url: {{ ( printf "http://%v:%v@%v-solr:8983/%v" .Values.solr.solrUsername $solrPass .Release.Name .Values.solr.solrCores ) | b64enc | quote }} + plainhost: {{ ( ( printf "%v-%v" .Release.Name "solr" ) ) | b64enc | quote }} type: Opaque {{- $_ := set .Values.solr "solrPassword" ( $solrPass | quote ) }} {{- $_ := set .Values.solr.url "plain" ( ( printf "%v-%v" .Release.Name "solr" ) | quote ) }} diff --git a/charts/common/values.yaml b/charts/common/values.yaml index 38252bbd..93556d40 100644 --- a/charts/common/values.yaml +++ b/charts/common/values.yaml @@ -740,7 +740,7 @@ persistence: accessMode: ReadWriteOnce # -- The amount of storage that is requested for the persistent volume. - size: 256Gi + size: 999Gi # -- Set to true to retain the PVC upon `helm uninstall` retain: false