deckhouse / deckhouse

Kubernetes platform from Flant
https://deckhouse.io
Other
1.09k stars 116 forks source link

[ingress-nginx] Missed 'if' in CRD for rules creation #7441

Closed raabdullaev closed 8 months ago

raabdullaev commented 8 months ago

Preflight Checklist

Version

1.57

Actual Behavior

It looks like some if is missed in CRD for rules creation.

│ │ ingress-nginx/: ModuleRun failed in phase 'CanRunHelm'. Requeue task to retry after delay. Failed count is 3. Error: unable to build
│ │ kubernetes objects from release manifest: [resource mapping not found for name: "kruise-state-metrics" namespace: "d8-monitoring"
│ │ from "": no matches for kind "PodMonitor" in version "monitoring.coreos.com/v1"
│ │ ensure CRDs are installed first, resource mapping not found for name:
│ │ "prometheus-metrics-adapter-d8-ingress-nginx-cpu-utilization-for-hpa" namespace: "d8-monitoring" from "": no matches for kind
│ │ "PrometheusRule" in version "monitoring.coreos.com/v1"
│ │ ensure CRDs are installed first]

Steps To Reproduce

No response

Additional Information

https://github.com/deckhouse/deckhouse/tree/main/modules/402-ingress-nginx/templates/kruise https://github.com/deckhouse/deckhouse/blob/main/modules/402-ingress-nginx/templates/controller/hpa.yaml

Logs

No response

raabdullaev commented 8 months ago

Duplicate https://github.com/deckhouse/deckhouse/issues/7433