Qingyi Liu

Results 10 comments of Qingyi Liu

@tylerphelan They are two different credentials. The service principal used in clusterstack is configured in /etc/kubernetes/azure.json. We set the AZURE_CONTAINER_REGISTRY_CONFIG in kpack-controller and mount the file. like this: containers: name:...

@tylerphelan Yes. It can work before but not in kpack 0.6.0 and kpack 0.6.1.

Thanks @tylerphelan using the environment variables can work. But could you please find out why it doesn't work with `AZURE_CONTAINER_REGISTRY_CONFIG`. We need this environment because we not only use the...

@tylerphelan I see it still import https://github.com/vdemeester/k8s-pkg-credentialprovider/ [here](https://github.com/pivotal/kpack/blob/ed7fe5056666f0ec1aa4378c92db1d52a0a872c5/pkg/dockercreds/k8sdockercreds/azurecredentialhelperfix/setup.go)

@tylerphelan we still need this env `AZURE_CONTAINER_REGISTRY_CONFIG`. Could you please read the secret and id from azure.json and then set the env `AZURE_CLIENT_ID` in kpack-controller. It doesn't make sense the...

@tylerphelan The benefit is that we don't need to do the migration. The `azure.json` has two configurations which are service principal and MSI. We don't care which configuration is it....

The builder message shows 'could not find buildpack with id 'tanzu-buildpacks/java-azure''. And the kpack-controller error logs: ``` {"level":"error","ts":"2023-02-27T02:03:21.507046469Z","logger":"controller","caller":"controller/controller.go:566","msg":"Reconcile error","commit":"9343a26-dirty","knative.dev/kind":"builders.kpack.io","knative.dev/traceid":"6bf87daa-0ae4-46d6-a7a5-611947c07f1a","knative.dev/key":"build-service/default.default.1","duration":2.632799627,"error":"could not find buildpack with id 'tanzu-buildpacks/java-azure'","errorVerbose":"could not find buildpack with id...

I have a founding that [Tanzu Java Azure Buildpack](https://network.pivotal.io/products/tanzu-java-azure-buildpack#/releases/1249088) takes much longer than other buildpacks, such as [.NET Core Buildpack](https://network.pivotal.io/products/tanzu-dotnet-core-buildpack/#/releases/1249160). Java Azure Builder takes 6min49 ![Screenshot 2023-02-27 141448](https://user-images.githubusercontent.com/34502364/221488627-81f2503a-2d9a-473a-ac08-376e29edbe3c.png) .Net Core...

@tomkennedy513 For our used case, it's difficult to relocate the buildpack images to the builder registry. And we used two registries all the time but it didn't take so much...