You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unable to access SetVariableMap outside of zarf packages
In zarf v0.33.0 SetVariableMap is a public field in PackagerConfig
In zarf v0.33.1 the setVariableMap got moved to a field in VariableConfig (the GetSetVariable function was also added so you can still access the setVariableMap even though its a private field of VariableConfig) and variableConfiggot added toPackageras a private field with no getter, making the setVariableMap inaccessible outside of thepackager` package.
Proposed Fix
Add a publicGetVariableConfig() function to allow for external access
The text was updated successfully, but these errors were encountered:
## Description
Makes Packager's variableConfig publicly accessible which in turns
allows access to VariableConfig's setVariableMap which is currently
being used by uds-cli for bundle deployment processing.
## Related Issue
Fixes#2472
## Checklist before merging
- [ ] Test, docs, adr added or updated as needed
- [ ] [Contributor Guide
Steps](https://github.com/defenseunicorns/zarf/blob/main/.github/CONTRIBUTING.md#developer-workflow)
followed
Co-authored-by: Austin Abro <37223396+AustinAbro321@users.noreply.github.com>
Environment
zarf v0.33.1
Description
Unable to access
SetVariableMap
outside of zarf packagesIn zarf v0.33.0
SetVariableMap
is a public field in PackagerConfigIn zarf v0.33.1 the
setVariableMap
got moved to a field inVariableConfig
(theGetSetVariable
function was also added so you can still access thesetVariableMap
even though its a private field ofVariableConfig) and
variableConfiggot added to
Packageras a private field with no getter, making the setVariableMap inaccessible outside of the
packager` package.Proposed Fix
Add a public
GetVariableConfig()
function to allow for external accessThe text was updated successfully, but these errors were encountered: