Skip to content

Commit 0fc0796

Browse files
fix(platform): add cert-manager dependency to webhook-cert consumers
Five PackageSources whose charts apply cert-manager Certificate CRs and mount the resulting Secret on a webhook Deployment lacked an explicit dependsOn: cozystack.cert-manager. Under Flux v2.8 helm-controller v1.5.0 kstatus, the dependent Deployment trips progressDeadlineSeconds (10m default) when cert-manager controller isn't running yet, and the HR is failed early. Repeatedly observed on PR #2619 with capi-operator, kamaji, rabbitmq-operator, cozystack-api (cozystack-engine), and ingress-nginx all cascading to InstallFailed at ~12-15m into a fresh install. The mariadb-operator, kubeovn-webhook, snapshot-controller, etcd-operator, postgres-operator, mongodb-operator, victoria-metrics-operator, linstor, and linstor-scheduler PackageSources already had the dependency, which is why they weren't in the failure set. Assisted-By: Claude <[email protected]> Signed-off-by: Myasnikov Daniil <[email protected]>
1 parent c664b86 commit 0fc0796

5 files changed

Lines changed: 5 additions & 0 deletions

File tree

‎packages/core/platform/sources/capi-operator.yaml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ spec:
1313
- name: default
1414
dependsOn:
1515
- cozystack.networking
16+
- cozystack.cert-manager
1617
components:
1718
- name: capi-operator
1819
path: system/capi-operator

‎packages/core/platform/sources/cozystack-engine.yaml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ spec:
1313
- name: default
1414
dependsOn:
1515
- cozystack.networking
16+
- cozystack.cert-manager
1617
libraries:
1718
- name: cozy-lib
1819
path: library/cozy-lib

‎packages/core/platform/sources/ingress-nginx.yaml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ spec:
1414
dependsOn:
1515
- cozystack.networking
1616
- cozystack.prometheus-operator-crds
17+
- cozystack.cert-manager
1718
components:
1819
- name: ingress-nginx
1920
path: system/ingress-nginx

‎packages/core/platform/sources/kamaji.yaml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ spec:
1313
- name: default
1414
dependsOn:
1515
- cozystack.networking
16+
- cozystack.cert-manager
1617
components:
1718
- name: kamaji
1819
path: system/kamaji

‎packages/core/platform/sources/rabbitmq-operator.yaml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ spec:
1313
- name: default
1414
dependsOn:
1515
- cozystack.networking
16+
- cozystack.cert-manager
1617
components:
1718
- name: rabbitmq-operator
1819
path: system/rabbitmq-operator

0 commit comments

Comments
 (0)