bthj commented on issue #1370: PublishStrategy missing from IntegrationPlatform 
build spec
URL: https://github.com/apache/camel-k/issues/1370#issuecomment-605284589
 
 
   Yes, I did follow the [configuring a gcr.io 
registry](https://camel.apache.org/camel-k/latest/installation/registry/gcr.html)
 instructions, and I installed the `kaniko-secret` to my local MicroK8s cluster.
   
   Several "-kit-" pods get created, one after another, each taking minutes to 
initialise, eventually terminating, with log output like:
   ```
   INFO[0001] Resolved base name 
gcr.io/myproject/camel-k-kit-bpu9fofqigeckfj29sfg:1528335 to 
gcr.io/myproject/camel-k-kit-bpu9fofqigeckfj29sfg:1528335 
   INFO[0001] Resolved base name 
gcr.io/myproject/camel-k-kit-bpu9fofqigeckfj29sfg:1528335 to 
gcr.io/myproject/camel-k-kit-bpu9fofqigeckfj29sfg:1528335 
   INFO[0001] Retrieving image manifest 
gcr.io/myproject/camel-k-kit-bpu9fofqigeckfj29sfg:1528335 
   INFO[0002] Retrieving image manifest 
gcr.io/myproject/camel-k-kit-bpu9fofqigeckfj29sfg:1528335 
   INFO[0003] Built cross stage deps: map[]                
   INFO[0003] Retrieving image manifest 
gcr.io/myproject/camel-k-kit-bpu9fofqigeckfj29sfg:1528335 
   INFO[0004] Retrieving image manifest 
gcr.io/myproject/camel-k-kit-bpu9fofqigeckfj29sfg:1528335 
   INFO[0005] Unpacking rootfs as cmd ADD . /deployments requires it. 
   INFO[0028] Taking snapshot of full filesystem...        
   INFO[0035] Using files from context: 
[/builder/kit-bpud6g7l1e7r7hd1hv60/context] 
   INFO[0035] ADD . /deployments                           
   INFO[0035] Taking snapshot of files...                  
   INFO[0035] USER 1000                                    
   INFO[0035] cmd: USER                                    
   ```
   
   The pod for the integration deployment has the event
   ```
   Failed to pull image 
"gcr.io/myproject/camel-k-kit-bptni2v70ue19lu1sbg0:1528347": rpc error: code = 
Unknown desc = failed to resolve image 
"gcr.io/myproject/camel-k-kit-bptni2v70ue19lu1sbg0:1528347": no available 
registry endpoint: unexpected status code 
https://gcr.io/v2/myproject/camel-k-kit-bptni2v70ue19lu1sbg0/manifests/1528347: 
401 Unauthorized
   ```
   
   - indicating a permission issue
   
   Shouldn't the the permissions come from the installed kaniko-secret?  
   It comes from a GCP service account with the Storage Admin role, according 
to the instructions.

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to