-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
⚠️ Add filter to associate variables with specific patches #8128
⚠️ Add filter to associate variables with specific patches #8128
Conversation
ce5ab5f
to
dbb9fdf
Compare
6e2ff22
to
2da2063
Compare
internal/controllers/topology/cluster/patches/variables/variables.go
Outdated
Show resolved
Hide resolved
I like the general direction of this PR. I think we have to do an additional check though (#8128 (comment)), otherwise only nits |
690554e
to
3b57d7f
Compare
internal/controllers/topology/cluster/patches/variables/variables.go
Outdated
Show resolved
Hide resolved
internal/controllers/topology/cluster/patches/variables/variables.go
Outdated
Show resolved
Hide resolved
internal/controllers/topology/cluster/patches/variables/variables.go
Outdated
Show resolved
Hide resolved
internal/controllers/topology/cluster/patches/variables/variables_test.go
Outdated
Show resolved
Hide resolved
internal/controllers/topology/cluster/patches/variables/variables_test.go
Outdated
Show resolved
Hide resolved
internal/controllers/topology/cluster/patches/variables/variables_test.go
Outdated
Show resolved
Hide resolved
2acb3cd
to
a91cbd1
Compare
a91cbd1
to
edb64fa
Compare
/retest |
internal/controllers/topology/cluster/patches/variables/variables.go
Outdated
Show resolved
Hide resolved
internal/controllers/topology/cluster/patches/variables/variables_test.go
Outdated
Show resolved
Hide resolved
internal/controllers/topology/cluster/patches/variables/variables_test.go
Show resolved
Hide resolved
edb64fa
to
090c27b
Compare
Thank you very much! /lgtm |
LGTM label has been added. Git tree hash: ade3f05801abd2e6891576ae5a98677464313b84
|
/test pull-cluster-api-e2e-full-main |
/hold |
/lgtm feel free to un-hold when ready |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: fabriziopandini The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
e2e is green Thx everyone! /hold cancel |
This PR adds a filter to the variable creation logic in the patch engine to associate variables with specific patches. This means that variables now have a per-patch definition i.e. inline patches can only use inline variables, while external patches only use variables discovered through a discoverVariablesExtension defined as part of that patch.
Part of #7985