robertonav20 commented on PR #3309:
URL: https://github.com/apache/camel-k/pull/3309#issuecomment-1144852118

   Yes, i made as you describe below the yaml
   ```
   apiVersion: camel.apache.org/v1
   kind: IntegrationPlatform
   metadata:
     annotations:
       kubectl.kubernetes.io/last-applied-configuration: |
         
{"apiVersion":"camel.apache.org/v1","kind":"IntegrationPlatform","metadata":{"annotations":{},"creationTimestamp":"2022-05-20T16:43:42Z","generation":1,"labels":{"app":"camel-k"},"managedFields":[{"apiVersion":"camel.apache.org/v1","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:labels":{".":{},"f:app":{}
  creationTimestamp: "2022-06-01T13:03:33Z"
     generation: 2
     labels:
       app: camel-k
     name: camel-k
     namespace: default
     resourceVersion: "330380"
     uid: 4793fd1d-cafd-4a8e-99cc-5e2cd2edef29
   spec:
     build:
       PublishStrategyOptions:
         BuildahPlatform: linux/arm/v8
       maven:
         settings: {}
       publishStrategy: Buildah
       registry:
         address: ghcr.io/robertonav20
         secret: camel-k-registry-secret
     kamelet: {}
     resources: {}
   status:
     build:
       PublishStrategyOptions:
         BuildahPlatform: linux/arm/v8
         KanikoPersistentVolumeClaim: camel-k
       baseImage: docker.io/adoptopenjdk/openjdk11:slim
       buildStrategy: pod
       maven:
         cliOptions:
         - -V
         - --no-transfer-progress
         - -Dstyle.color=never
         localRepository: /tmp/artifacts/m2
       publishStrategy: Buildah
       registry:
         address: ghcr.io/robertonav20
         secret: camel-k-registry-secret
       runtimeVersion: 1.13.0
       timeout: 5m0s
     cluster: Kubernetes
     info:
       buildahVersion: 1.23.3
       gitCommit: ae3509cbbffdf6bdb5d2124bdc7f09c9fd1cc1f8
       goOS: linux
       goVersion: go1.18.1
     kamelet:
       repositories:
       - uri: none
     phase: Ready
     version: 1.10.0-SNAPSHOT
   ```
   
   In addition i add this logs inside builder.go to trace if the buildahTask is 
builded correctly
   ```
   if platform, found = 
e.Platform.Status.Build.PublishStrategyOptions[builder.BuildahPlatform]; !found 
{
        platform = ""
        t.L.Infof("Attribute platform for buildah not found, default from host 
will be used!")
   } else {
        t.L.Infof("User defined %s platform, will be used from buildah!", 
platform)
   }
   ```
   
   I don't see both logs, so i think the trait builder can't be executed


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