-
Notifications
You must be signed in to change notification settings - Fork 6.6k
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
fix image pull url for coredns v1.8.0 #7702
fix image pull url for coredns v1.8.0 #7702
Conversation
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: LuckySB The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/cc @floryut |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/cc @oomichi
|
||
coredns_version: "v1.8.0" | ||
coredns_image_is_namespaced: "{{ (kube_version is version('v1.21.0','>=')) or (coredns_version is version('v1.7.1','>=')) }}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The linked discussion shows the subpath depends on coredns_version(v1.7.1+).
Why here needs to depend on kube_version also?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ah, that is for the existing commit a0ee569
It seems fine to keep here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
The last version v1.7.0 was not yet using a subpath due to it using the legacy promotion.
now have a subpath so it should be available under k8s.gcr.io/coredns/coredns:v1.8.0 and k8s.gcr.io/coredns/coredns:v1.7.1.
kubernetes/k8s.io#1405 (comment)
What type of PR is this?
/kind bug