You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is this a BUG REPORT or FEATURE REQUEST? (choose one):
BUG REPORT
Version of Helm and Kubernetes:
Helm: 3.14.4
Kubernetes: 1.25.16
Which chart:
artifactory-ha
Which product license (Enterprise/Pro/oss):
Enterprise
JFrog support reference (if already raised with support team):
N/A
What happened:
The helm templating is broken in release 7.84.10 because the template logic tries to reference .Values within a loop without using the global scope $:
There is a bug there where {{ .Values.artifactory.image.pullPolicy }} should be {{ $.Values.artifactory.image.pullPolicy }} so that it uses the global scope.
Specifically, we receive the error:
Error: template: artifactory-ha/templates/artifactory-primary-statefulset.yaml:1140:35: executing "artifactory-ha/templates/artifactory-primary-statefulset.yaml" at <.Values.artifactory.image.pullPolicy>: can't evaluate field Values in type interface {}
Use --debug flag to render out invalid YAML
What you expected to happen:
We expected the helm chart to render successfully when loggers are set.
How to reproduce it (as minimally and precisely as possible):
To reproduce, you need to have .Values.artifactory.loggers set and run helm template with those values:
Is this a request for help?: No.
Is this a BUG REPORT or FEATURE REQUEST? (choose one):
BUG REPORT
Version of Helm and Kubernetes:
Helm: 3.14.4
Kubernetes: 1.25.16
Which chart:
artifactory-ha
Which product license (Enterprise/Pro/oss):
Enterprise
JFrog support reference (if already raised with support team):
N/A
What happened:
The helm templating is broken in release 7.84.10 because the template logic tries to reference
.Values
within a loop without using the global scope$
:charts/stable/artifactory-ha/templates/artifactory-primary-statefulset.yaml
Lines 1137 to 1156 in cef1e61
There is a bug there where
{{ .Values.artifactory.image.pullPolicy }}
should be{{ $.Values.artifactory.image.pullPolicy }}
so that it uses the global scope.Specifically, we receive the error:
What you expected to happen:
We expected the helm chart to render successfully when loggers are set.
How to reproduce it (as minimally and precisely as possible):
To reproduce, you need to have
.Values.artifactory.loggers
set and runhelm template
with those values:Anything else we need to know: N/A
The text was updated successfully, but these errors were encountered: