diff --git a/charts/karpenter-crd/templates/karpenter.k8s.aws_ec2nodeclasses.yaml b/charts/karpenter-crd/templates/karpenter.k8s.aws_ec2nodeclasses.yaml new file mode 120000 index 000000000000..3bb741dfaf65 --- /dev/null +++ b/charts/karpenter-crd/templates/karpenter.k8s.aws_ec2nodeclasses.yaml @@ -0,0 +1 @@ +../../../pkg/apis/crds/karpenter.k8s.aws_ec2nodeclasses.yaml \ No newline at end of file diff --git a/charts/karpenter-crd/templates/karpenter.sh_nodeclaims.yaml b/charts/karpenter-crd/templates/karpenter.sh_nodeclaims.yaml new file mode 120000 index 000000000000..3f572b57547e --- /dev/null +++ b/charts/karpenter-crd/templates/karpenter.sh_nodeclaims.yaml @@ -0,0 +1 @@ +../../../pkg/apis/crds/karpenter.sh_nodeclaims.yaml \ No newline at end of file diff --git a/charts/karpenter-crd/templates/karpenter.sh_nodepools.yaml b/charts/karpenter-crd/templates/karpenter.sh_nodepools.yaml new file mode 120000 index 000000000000..36d2d1dd918a --- /dev/null +++ b/charts/karpenter-crd/templates/karpenter.sh_nodepools.yaml @@ -0,0 +1 @@ +../../../pkg/apis/crds/karpenter.sh_nodepools.yaml \ No newline at end of file diff --git a/charts/karpenter/crds/karpenter.k8s.aws_ec2nodeclasses.yaml b/charts/karpenter/crds/karpenter.k8s.aws_ec2nodeclasses.yaml new file mode 120000 index 000000000000..3bb741dfaf65 --- /dev/null +++ b/charts/karpenter/crds/karpenter.k8s.aws_ec2nodeclasses.yaml @@ -0,0 +1 @@ +../../../pkg/apis/crds/karpenter.k8s.aws_ec2nodeclasses.yaml \ No newline at end of file diff --git a/charts/karpenter/crds/karpenter.sh_nodeclaims.yaml b/charts/karpenter/crds/karpenter.sh_nodeclaims.yaml new file mode 120000 index 000000000000..3f572b57547e --- /dev/null +++ b/charts/karpenter/crds/karpenter.sh_nodeclaims.yaml @@ -0,0 +1 @@ +../../../pkg/apis/crds/karpenter.sh_nodeclaims.yaml \ No newline at end of file diff --git a/charts/karpenter/crds/karpenter.sh_nodepools.yaml b/charts/karpenter/crds/karpenter.sh_nodepools.yaml new file mode 120000 index 000000000000..36d2d1dd918a --- /dev/null +++ b/charts/karpenter/crds/karpenter.sh_nodepools.yaml @@ -0,0 +1 @@ +../../../pkg/apis/crds/karpenter.sh_nodepools.yaml \ No newline at end of file diff --git a/charts/karpenter/templates/webhooks.yaml b/charts/karpenter/templates/webhooks.yaml index 2c5c5d2356f1..e52fc722aab1 100644 --- a/charts/karpenter/templates/webhooks.yaml +++ b/charts/karpenter/templates/webhooks.yaml @@ -23,24 +23,24 @@ webhooks: - apiGroups: - karpenter.k8s.aws apiVersions: - - v1beta1 + - v1alpha1 operations: - CREATE - UPDATE resources: - - ec2nodeclasses - - ec2nodeclasses/status + - awsnodetemplates + - awsnodetemplates/status scope: '*' - apiGroups: - karpenter.k8s.aws apiVersions: - - v1alpha1 + - v1beta1 operations: - CREATE - UPDATE resources: - - awsnodetemplates - - awsnodetemplates/status + - ec2nodeclasses + - ec2nodeclasses/status scope: '*' - apiGroups: - karpenter.sh @@ -75,17 +75,6 @@ webhooks: failurePolicy: Fail sideEffects: None rules: - - apiGroups: - - karpenter.k8s.aws - apiVersions: - - v1beta1 - operations: - - CREATE - - UPDATE - resources: - - nodeclasses - - nodeclasses/status - scope: '*' - apiGroups: - karpenter.k8s.aws apiVersions: @@ -98,37 +87,25 @@ webhooks: - awsnodetemplates/status scope: '*' - apiGroups: - - karpenter.sh - apiVersions: - - v1alpha5 - operations: - - CREATE - - UPDATE - resources: - - nodepools - - nodepools/status - scope: '*' - - apiGroups: - - karpenter.sh + - karpenter.k8s.aws apiVersions: - v1beta1 operations: - CREATE - UPDATE - - DELETE resources: - - nodeclaims - - nodeclaims/status + - ec2nodeclasses + - ec2nodeclasses/status scope: '*' - apiGroups: - karpenter.sh apiVersions: - - v1beta1 + - v1alpha5 operations: - CREATE - UPDATE resources: - - nodepools - - nodepools/status + - provisioners + - provisioners/status scope: '*' {{- end }} \ No newline at end of file