-
Notifications
You must be signed in to change notification settings - Fork 1
Create karpenter custom resources in workload clusters #268
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
base: main
Are you sure you want to change the base?
Conversation
dc1b90f
to
e18c5b6
Compare
7355246
to
b81dc60
Compare
7ecbf14
to
bfa3f0c
Compare
bfa3f0c
to
0482904
Compare
7367893
to
cc1af99
Compare
- apiGroups: | ||
- controlplane.cluster.x-k8s.io | ||
resources: | ||
- awsmanagedcontrolplanes | ||
- kubeadmcontrolplanes |
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.
Only GET seems required for kubeadmcontrolplanes
[...]r.client.Get(ctx, client.ObjectKey{Name: cluster.Spec.ControlPlaneRef.Name, Namespace: cluster.Spec.ControlPlaneRef.Namespace}, controlPlane)[...]
@@ -20,10 +20,12 @@ rules: | |||
- list | |||
- patch | |||
- watch | |||
- update |
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.
Where is this needed?
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.
I think this is needed to update the machinepools as we set the number of instances in there and karpentermachinepools
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.
and adding finalizers as I just found out
What this PR does / why we need it
Checklist