tdiesler commented on PR #5403:
URL: https://github.com/apache/camel-k/pull/5403#issuecomment-2093176168

   I've created the property 
[here](https://github.com/apache/camel-k/pull/5403/files#diff-eda3c0e8e19488b1353c8fe3c45149b065e9341263eff948eee48d5bac7590c7R138)
 and initialized the default 
[here](https://github.com/apache/camel-k/pull/5403/files#diff-48df85e2f487b8dbb6410a345e8b424a021dbaf817f24c3da1d6292dbaa8859eR359).
   
   Then there is some deep copy magic 
[here](https://github.com/apache/camel-k/pull/5403/files#diff-278beb1c64ee3eebc589b133c89f44799260ed5ed7b12a97a916a6c0e2d8c2cdR1461)
 which I'm not supposed to edit
   
   On introspection of the CRD, I don't see that property
   
   ```
   {"level":"info","ts":"2024-05-03T14:40:20Z","logger":"camel-k","msg":">>> 
IntegrationPlatform: &{{IntegrationPlatform camel.apache.org/v1} {camel-k  
default  49f88784-8ed4-404f-b2f9-eb58859a5c78 14520 1 2024-05-03 14:38:36 +0000 
UTC <nil> <nil> map[app:camel-k] map[camel.apache.org/operator.id:camel-k] [] 
[] [{kamel Update camel.apache.org/v1 2024-05-03 14:38:36 +0000 UTC FieldsV1 
{\"f:metadata\":{\"f:annotations\":{\".\":{},\"f:camel.apache.org/operator.id\":{}},\"f:labels\":{\".\":{},\"f:app\":{}}},\"f:spec\":{\".\":{},\"f:build\":{\".\":{},\"f:buildConfiguration\":{},\"f:maven\":{\".\":{},\"f:settings\":{},\"f:settingsSecurity\":{}},\"f:publishStrategy\":{},\"f:registry\":{\".\":{},\"f:address\":{},\"f:insecure\":{}}},\"f:kamelet\":{},\"f:traits\":{}}}
 } {kamel Update camel.apache.org/v1 2024-05-03 14:38:40 +0000 UTC FieldsV1 
{\"f:status\":{\".\":{},\"f:build\":{\".\":{},\"f:baseImage\":{},\"f:buildConfiguration\":{\".\":{},\"f:orderStrategy\":{},\"f:strategy\":{}},\"f:maven\":
 
{\".\":{},\"f:cliOptions\":{},\"f:localRepository\":{}},\"f:maxRunningBuilds\":{},\"f:publishStrategy\":{},\"f:registry\":{\".\":{},\"f:address\":{},\"f:insecure\":{}},\"f:runtimeVersion\":{},\"f:timeout\":{}},\"f:cluster\":{},\"f:conditions\":{},\"f:info\":{\".\":{},\"f:gitCommit\":{},\"f:goOS\":{},\"f:goVersion\":{}},\"f:kamelet\":{\".\":{},\"f:repositories\":{}},\"f:observedGeneration\":{},\"f:phase\":{},\"f:version\":{}}}
 status}]} {  {{        map[] map[] []} Jib    {true 10.96.98.2   } nil nil { 
map[] [] {nil nil} {nil nil} [] [] []} map[] 0 } {<nil> <nil> <nil> <nil> <nil> 
<nil> <nil> <nil> <nil> <nil> <nil> <nil> <nil> <nil> <nil> <nil> <nil> <nil> 
<nil> <nil> <nil> <nil> <nil> <nil> <nil> <nil> <nil> <nil> <nil> <nil> <nil> 
<nil> <nil> <nil> map[] <nil> <nil> <nil> <nil> <nil>} [] {[]}} {{Kubernetes  
{{  routine sequential     map[] map[] []} Jib 3.8.1  eclipse-temurin:17 {true 
10.96.98.2   } nil &Duration{Duration:5m0s,} {/etc/maven/m2 map[] [] {nil nil} 
{nil nil} [] [] [-
 V --no-transfer-progress -Dstyle.color=never]} map[] 3 } {<nil> <nil> <nil> 
<nil> <nil> <nil> <nil> <nil> <nil> <nil> <nil> <nil> <nil> <nil> <nil> <nil> 
<nil> <nil> <nil> <nil> <nil> <nil> <nil> <nil> <nil> <nil> <nil> <nil> <nil> 
<nil> <nil> <nil> <nil> <nil> map[] <nil> <nil> <nil> <nil> <nil>} [] 
{[{none}]}} 1 Ready [{Created True 2024-05-03 14:38:40 +0000 UTC 2024-05-03 
14:38:40 +0000 UTC IntegrationPlatformCreated integration platform created} 
{RegistryAvailable True 2024-05-03 14:38:40 +0000 UTC 2024-05-03 14:38:40 +0000 
UTC IntegrationPlatformRegistryAvailable registry available at 10.96.98.2} 
{CamelCatalogAvailable True 2024-05-03 14:38:40 +0000 UTC 2024-05-03 14:38:40 
+0000 UTC IntegrationPlatformCamelCatalogAvailable camel catalog 3.8.1 
available}] 2.4.0-SNAPSHOT 
map[gitCommit:60dcf5302ab354d6e800dcc5a73d69b6c00202ff goOS:linux 
goVersion:go1.22.1]}}"}
   {"level":"info","ts":"2024-05-03T14:40:20Z","logger":"camel-k","msg":">>> 
ImagePlatform: "}
   ```
   
   as a result, the Jib config does not see the imagePlatform default value. 
Something is missing?
   


-- 
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

Reply via email to