Skip to content

Use canary quay images to test latest sidecars #444

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 16, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@ images:
newName: gcr.io/gke-release-staging/gcp-compute-persistent-disk-csi-driver
newTag: "latest"
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hmmm this is a problem too isn't it?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe we need to enable GCE_PD_DO_DRIVER_BUILD?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah this tag is really old now - from sep 9.

Enabling the build flag isn't so easy - then we also need to add logic to go and parse this kustomization file and swap out "latest" for whatever the new build tag is... Though that logic already exists for the pre-submits so maybe its not so hard to port over to this file too. Want to do that or follow up later with it?

We should really figure out what to do about the test tag versions

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

From a quick glance, I think our k8s-integration.go should be able to handle substituting the image properly when we set the flag. It takes both overlay and registry as an argument. So no extra changes needed here.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ack. are you adding that change to this PR?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no, setting DO_DRIVER_BUILD is not in this repo. I'll send out a separate pr for that

- name: gke.gcr.io/csi-provisioner
newName: gcr.io/gke-release-staging/csi-provisioner
newTag: "latest"
newName: quay.io/k8scsi/csi-provisioner
newTag: "canary"
- name: gke.gcr.io/csi-attacher
newName: gcr.io/gke-release-staging/csi-attacher
newTag: "latest"
newName: quay.io/k8scsi/csi-attacher
newTag: "canary"
- name: gke.gcr.io/csi-node-driver-registrar
newName: gcr.io/gke-release-staging/csi-node-driver-registrar
newTag: "latest"
newName: quay.io/k8scsi/csi-node-driver-registrar
newTag: "canary"
- name: gke.gcr.io/csi-resizer
newName: gke.gcr.io/csi-resizer
newTag: "v0.3.0-gke.0"
newName: quay.io/k8scsi/csi-resizer
newTag: "canary"