kisamoto opened a new issue #1370: PublishStrategy missing from 
IntegrationPlatform build spec
   * GKE cluster - Kubernetes `1.15.8-gke.3`
   * Kamel `1.0.0-RC2`
   * GCR registry storage
   With a fresh install of Kamel on the cluster, following the GCR instructions 
I was receiving the following error message when running any integration:
        "error": "error during trait customization: unsupported secret type for 
registry authentication",
       "errorVerbose": "unsupported secret type for registry authentication*builderTrait).buildahTask*builderTrait).Apply*Catalog).apply
   I knew I had the secret available with the correct name but it wasn't being 
picked up. Why?
   * `builder.go:Apply()` was incorrectly choosing the buildahTask 
`IntegrationPlatformBuildPublishStrategyBuildah` not the kanikoTask 
   * I traced this back to a missing `publishStrategy` from the installed 
`integrationplatform` resource in the kubernetes cluster
   * After manually adding `build.spec.publishStrategy = Kaniko` camel-k was 
able to push to registry
   * Why is `build.spec.publishStrategy = Kaniko` not correctly added to the 
`integrationplatform` resource? 
   * I couldn't find where this is set during installation. Should it be?

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.
For queries about this service, please contact Infrastructure at:

With regards,
Apache Git Services

Reply via email to