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

CRD API Group apiextensions.k8s.io/v1beta1 is deprecated in k8s 1.19 #645

Closed
keiSunagawa opened this issue Feb 26, 2021 · 1 comment · Fixed by #681
Closed

CRD API Group apiextensions.k8s.io/v1beta1 is deprecated in k8s 1.19 #645

keiSunagawa opened this issue Feb 26, 2021 · 1 comment · Fixed by #681
Labels
good first issue Good for newcomers help wanted Extra attention is needed

Comments

@keiSunagawa
Copy link
Contributor

CRD resource API Group version v1beta is deprecated in k8s 1.19.
kubernetes/kubernetes#90673

external-secret helm chart has apiextensions.k8s.io/v1beta1 crd resource.
https://github.com/external-secrets/kubernetes-external-secrets/blob/master/charts/kubernetes-external-secrets/crds/kubernetes-client.io_externalsecrets_crd.yaml#L2

but, less 1.17 use v1beta version.
use .Files.Get $path | template and write template syntax to crd file switch those by k8s version if helm3+.
but this way un support helm2.

Is there a way to switch api version by k8s version and un depend helm version.

@moolen moolen added good first issue Good for newcomers help wanted Extra attention is needed labels Mar 9, 2021
@moolen
Copy link
Member

moolen commented Mar 9, 2021

Thank you for bringing this up. We will migrate to v1 eventually and get rid of v1beta1. I think it's fine to drop support for 1.16 and below and instead use v1 only.

/related #621

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants