Skip to content

Commit

Permalink
Add crd override for NodePool scale subresource
Browse files Browse the repository at this point in the history
While this should be generated by the tooling/marker, it's not atm openshift/api#2075. This fixes the regression while the tooling is fixed
  • Loading branch information
enxebre committed Oct 23, 2024
1 parent 27044d0 commit 8021723
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
name: nodepools.hypershift.openshift.io
spec:
versions:
- name: v1beta1
subresources:
scale:
specReplicasPath: .spec.replicas
statusReplicasPath: .status.replicas
Original file line number Diff line number Diff line change
Expand Up @@ -1280,6 +1280,9 @@ spec:
served: true
storage: true
subresources:
scale:
specReplicasPath: .spec.replicas
statusReplicasPath: .status.replicas
status: {}
- additionalPrinterColumns:
- description: Cluster
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1263,6 +1263,9 @@ spec:
served: true
storage: true
subresources:
scale:
specReplicasPath: .spec.replicas
statusReplicasPath: .status.replicas
status: {}
- additionalPrinterColumns:
- description: Cluster
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1280,6 +1280,9 @@ spec:
served: true
storage: true
subresources:
scale:
specReplicasPath: .spec.replicas
statusReplicasPath: .status.replicas
status: {}
- additionalPrinterColumns:
- description: Cluster
Expand Down

0 comments on commit 8021723

Please sign in to comment.