-
Notifications
You must be signed in to change notification settings - Fork 14
Description
Hi .. first of all Hull has been fantastic and a massive time-saver for the whole of my development process on my current (very large) project and it has done everything I've asked of it so I suppose I am getting to a more edge-case scenario so any advice would be welcome :)
In basic terms I want to ask: how to call a hull template/function to trigger _HT*global.versions.thing from a normal helm template not created by Hull.
For context, i have a helm chart based on Hull .. all resources are created as Hull objects except for an ArgoRollouts CRD but it is in the same chart.
I am moving to a more centralised version management approach, as they share the same version I share the version between the services like:
values.yaml
hull:
config:
specific:
services:
thingApi:
image:
tag: &appVersion "_HT*global.versions.thing"
thingManagementApi:
image:
tag: *appVersion
thingService:
image:
tag: *appVersion.. in the ArgoRollout CRD I use ..
{{ .Values.hull.config.specific.services.thingService.image.tag }}This worked fine when i specified the version but now (obviously) I get an error as the _HT*global.versions.thing is not parsed/understood by the normal helm yaml file.
Is it possible to call a Hull template/function to trigger the replacement from this CRD yaml ?