I have a steering chart that requires stable/redis
as a child chart. The parent diagram must provide the redis service as an environment variable.
The red diagram includes a template with a name redis.fullname
. How can I refer to this in my parent chart? That is, I want something like this in my parent deployment, but this does not work:
kind: Deployment
spec:
template:
containers:
env:
- name: REDIS_CLUSTER_SERVICE_HOST
value: {{ template "redis.fullname" . }}
source
share