-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Update 1.12 addon manifests to use apps/v1, rbac v1 #6397
Conversation
cc @justinsb |
/hold |
a0a09d6
to
a2e8368
Compare
a2e8368
to
94381c1
Compare
/hold cancel |
/retest |
all other CI jobs on kubernetes/kubernetes#70672 are now green |
/retest |
You being a member of the kubernetes project makes me trust you going least privilege principle with the serviceaccounts you create 👍 /lgtm |
fyi, this didn't change any of the existing roles/bindings... just copied latest manifests and updated API versions |
/assign @justinsb /retest |
@@ -668,7 +809,9 @@ func (b *BootstrapChannelBuilder) buildManifest() (*channelsapi.Addons, map[stri | |||
"pre-k8s-1.6": "2.4.2-kops.1", | |||
"k8s-1.6": "2.6.9-kops.1", | |||
"k8s-1.7": "2.6.9-kops.1", | |||
"k8s-1.12": "2.6.9-kops.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.
Not sure whether there'd still be an explicit need to keep this / run on 1.12+ with calico v2.6.9? Maybe drop in favour of the new v3.4 manifest which applies with KubernetesVersion: ">=1.12.0"
, so Calico MajorVersion
is effectively defaulted to v3 for k8s v1.12+.
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.
not knowing the history behind having two versions available for 1.7, I wasn't sure if this was a python 2/3 sort of thing where it would make sense to keep both available for 1.12.
I'm happy to collapse onto the v3 version though
if os.Getenv("UPDATE_CHANNEL_BUILDER_TEST_FIXTURES") == "true" { | ||
ioutil.WriteFile(expectedManifestPath, []byte(actualManifest), 0755) | ||
} else { | ||
t.Logf("to update fixtures automatically, run with UPDATE_CHANNEL_BUILDER_TEST_FIXTURES=true") |
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.
Nice ;)
All looks great thanks @liggitt ! :) The E2E tests are fixed now, just needs a rebase and I've left a small comment around the Calico manifest update. As we don't have an official kops v1.12 release yet I think it would be sensible to have Calico v3 as the default for that version onwards. /test pull-kops-e2e-kubernetes-aws |
94381c1
to
1ca4514
Compare
|
Awesome work, many thanks!! /approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: KashifSaadat, liggitt 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 |
xref #6273