Closed blancharda closed 1 month ago
Would love to better understand the scenarios in which this is problematic. I am tracking a few things that are "dependencies" of the GitLab deployment (and more broadly of any chart deployments using Package
CRs):
Is there a specific example you could give of a problem caused by this timing? Just want to better understand what specific problem is arising here. We have definitely discussed a few different paths forward here:
Package
s and waiting on themEdit: Should also note additional details around network policies...pepr will apply them first in the flow of the Package
reconciliation. After that it will istio-inject the namespace and cycle any pods that pre-existed injection (ensuring that no pre-netpol connections can be maintained).
Closing this issue as "won't fix" - it has the potential for some minor issues but would require being driven by uds-core changes most likely that would have their own tradeoffs.
Overview
The common/zarf.yaml package definition defines a wait action to ensure the uds package object has been properly handled by pepr. However, the action runs after the gitlab application chart is applied, which in rare edge cases could create a race.
I propose we split the charts into separate components to ensure the uds-package has been handled and is
Ready
prior to applying the gitlab chart.