We are using this chart:
apiVersion: v2
appVersion: 1.0
version: 0.0.1
description: Helm chart for setting up Kafka platform (Kafka, Zookeeper, Kafka Rest, Kafka Schema Registry, Kafka Connect, KSQL Server)
name: kafka-platform
dependencies:
- name: cp-helm-charts
version: 0.6.0
repository: "https://confluentinc.github.io/cp-helm-charts"
We need to create new local template that does not exist in the public chart, and this new template should access built-in variables as defined in the public chart. For example, the .Chart.Name
apiVersion: v1
appVersion: "1.0"
description: A Helm chart for Confluent Kafka on Kubernetes
name: cp-kafka
version: 0.1.0
How could we access "cp-kafka" from a local .tpl named template or template? All I manage to access right now is either an error of type " at <.Chart.Name>: can't evaluate field Chart in type int" or the value of the local Chart "kafka-platform".
I've searched for this question/answer but although I see things that look alike, I did not find one that fully fits or answers this exact question.