Skip to content
This repository has been archived by the owner on Nov 1, 2022. It is now read-only.

Use Kubernetes API batch/v1beta1 instead of batch/v2alpha1 #875

Merged
merged 1 commit into from
Jan 2, 2018

Conversation

squaremo
Copy link
Member

Not all clusters support the API batch/v2lpha1 (to wit: our own
clusters don't). Instead use v1beta1, which is counter-intuitively
only available in newer revisions of k8s.io/client-go. They are
apparently backwards-compatible: fluxctl will happily deal with
resources marked with either v1beta1 or v2alpha1, despite it using the
API only for the former.

Not all clusters support the API batch/v2lpha1 (to wit: our own
clusters don't). Instead use v1beta1, which is counter-intuitively
only available in newer revisions of k8s.io/client-go. They are
apparently backwards-compatible: fluxctl will happily deal with
resources marked with either v1beta1 or v2alpha1, despite it using the
API only for the former.

Updating the client-go revision required a lot of `dep`ing
around.
@squaremo squaremo force-pushed the issue/868-use-batch-v1beta1 branch from f4f99f5 to ce3b293 Compare January 2, 2018 14:07
@squaremo squaremo merged commit c8afc30 into master Jan 2, 2018
@squaremo squaremo deleted the issue/868-use-batch-v1beta1 branch January 2, 2018 14:38
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants