Closed gyliu513 closed 5 years ago
@gyliu513 as we already under account cluster-api-provider-ibmcloud
, shall we use names controller
and clusterctl
for simple. Especially for clusterctl
, I think it is better descriptive in docker run quay.io/cluster-api-provider-ibmcloud/clusterctl ...
@xunpan +1 to use simple name, you can create PR to fix this.
+1 to the simple naming given the namespace we added
@xunpan can you help check how federation v2 push the latest image to quay.io
? We can follow same way for ibmcloud.
/assign @xunpan
federation push image to quay.io
when CI succeed. It pushes images for kubernetes-multicluster/federation-v2
with canary
, latest
and tag version, e.g. v0.0.9
.
@xunpan Yes, shall we follow same logic for ibmcloud images?
@gyliu513 I'm trying to understand how to set credential to access quay.io
in travis. After that, I will fix this issue.
how to set credential to access quay.io
Yes, this is exactly what we should do.
@xunpan I think we need to put the credential in k8s secret that prow jobs can access.
only want to make sure my understanding, we will push the image when CI passed and merged into master or just CI passed and push to registry for test purpose? both works for me but I want to make sure I understand the correct way, thank you @morvencao @gyliu513 @xunpan
The logic is pushing image after CI passed for canary
image. The code at the moment is not merged yet. CI is prerequisite for merge but not do code merge automatically.
For release versioned and latest (latest release one), they are only push by a tag (for release).
@morvencao I guess it is not for this case to pass credential manually by k8s secret. It is better to set it in security place and follow up existing practise.
federation v2
uses travis ci but ibmcloud cluster api uses test-infra
.
I think it has no existing ways to push image automatically to cloud and keep security private in test-infra.
I'm still thinking is it necessary to make automatically pushed.
Any comments? @gyliu513
@xunpan +1 for this, let me close this issue.
/kind bug /sig ibmcloud
We should always push controller and clusterctl to quay.io via CI process.
Controller
Clusterctl
@morvencao