gansheer commented on issue #5060: URL: https://github.com/apache/camel-k/issues/5060#issuecomment-1889613363
This is a side effect from this fix https://github.com/apache/camel-k/pull/4887. Since default value where added in the CRD will explicitly declare the "default" values defined in the CR. In short, this IntegrationPlatform: ``` apiVersion: camel.apache.org/v1 kind: IntegrationPlatform metadata: name: camel-k-2 namespace: camel-k spec: build: registry: address: "10.96.90.251" insecure: true cluster: "" traits: builder: tasksRequestCPU: - builder:2000m ``` When added to the kubernetes by `kubectl create -f ip.yaml` will result in: ``` apiVersion: camel.apache.org/v1 kind: IntegrationPlatform metadata: creationTimestamp: "2024-01-12T16:17:09Z" generation: 1 name: camel-k-2 namespace: camel-k resourceVersion: "4064" uid: e139a899-c1f6-42e3-935b-287ca84eef0a spec: build: registry: address: 10.96.90.251 insecure: true cluster: "" traits: builder: incrementalImageBuild: true orderStrategy: sequential strategy: routine tasksRequestCPU: - builder:2000m ``` It will be the same for Integration: ``` apiVersion: camel.apache.org/v1 kind: Integration metadata: name: int-test namespace: camel-k resourceVersion: "5154" uid: 0348d504-dd4b-4ca2-a558-045ae5d51f8d spec: flows: ... traits: builder: incrementalImageBuild: true orderStrategy: sequential strategy: routine tasksRequestCPU: - builder:2000m ``` The way we managed the priority/default values might be at fault. My first intuition would be to rollback the fix https://github.com/apache/camel-k/pull/4887. WDYT @lburgazzoli @squakez ? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org