Zarf Variables/Constants and imported components #3983
Unanswered
Riley-Brooksher
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Is there well defined behavior regarding variables and constants (defined at the package level) when components from that package are imported into a higher level package?
For reference, I am building my top-level zarf.yaml as a composition of many imported components from smaller packages broken up by functional area (storage, security, logging, etc). Widely applicable variables, like those defining storage endpoints, have use in components in multiple packages, and it doesn't feel very DRY to repeat those variable definitions everywhere they're needed.
Is there a recommended way of handling variables with component imports? Should I not be composing a top-level zarf.yaml with many imported components, and instead create a monolithic zarf.yaml manifest?
I appreciate any insight/assistance.
Beta Was this translation helpful? Give feedback.
All reactions