-
Notifications
You must be signed in to change notification settings - Fork 527
feat: add support for Kubernetes v1.19.0 #3754
Conversation
Codecov Report
@@ Coverage Diff @@
## master #3754 +/- ##
=======================================
Coverage 73.20% 73.20%
=======================================
Files 148 148
Lines 25372 25372
=======================================
Hits 18573 18573
Misses 5663 5663
Partials 1136 1136
Continue to review full report at Codecov.
|
parts/k8s/addons/1.15/calico.yaml
Outdated
@@ -41,7 +41,7 @@ data: | |||
|
|||
--- | |||
{{- /* Source: calico/templates/kdd-crds.yaml */}} | |||
apiVersion: apiextensions.k8s.io/v1beta1 | |||
apiVersion: apiextensions.k8s.io/v1{{- if not (IsKubernetesVersionGe "1.19.0")}}beta1{{end}} |
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.
We can omit these conditionals if apiextensions.k8s.io/v1
was supported on Kubernetes 1.15. The v1beta1
version became deprecated with 1.19, but IDK when v1
first became supported.
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.
This calico spec will only be delivered in a Kubernetes v1.15 cluster creation context, do we need to do anything 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.
Oops...bad example. I reverted changes to this file, but there are many similar changes in other manifests.
The changes to the apiextensions.k8s.io/v1beta1 apiVersion are breaking the secrets-store-csi spec. From kube-addon-manager logs:
This seems to be complaining about these lines: https://github.com/Azure/aks-engine/blob/master/parts/k8s/addons/secrets-store-csi-driver.yaml#L203 @chewong @aramase Do we need to undo the api version change and revert back to:
Or do we want to delete that |
@jackfrancis Can we keep the version for now as
|
@aramase Great plan, will do! |
1cee7c8
to
d4d9cc8
Compare
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
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jackfrancis, mboersma 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 |
Reason for Change:
See https://github.com/kubernetes/kubernetes/blob/master/CHANGELOG/CHANGELOG-1.19.md#v1190
Issue Fixed:
Requirements:
Notes:
The official release is in progress, and then we will kick off the pipeline to build signed artifacts hosted with Azure. So this will fail testing for now.Edit: all done!