czhfe commented on code in PR #342:
URL: https://github.com/apache/pulsar-helm-chart/pull/342#discussion_r1048080911
##########
charts/pulsar/templates/bookkeeper-statefulset.yaml:
##########
@@ -267,7 +267,7 @@ spec:
{{- if .storageClassName }}
storageClassName: "{{ .storageClassName }}"
{{- end }}
- {{- with .Values.bookkeeper.volumes.journal.selector }}
+ {{- with $.Values.bookkeeper.volumes.journal.selector }}
Review Comment:
> Thanks for your contribution @czhfe. I am not familiar with this syntax.
Do you have any documentation showing that this is the correct solution? Thanks!
We can check the official helm documentation for the `with` instructions
Here is the link:
https://helm.sh/docs/chart_template_guide/control_structures/#modifying-scope-using-with
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]