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 authored and haircommander committed Oct 28, 2024
1 parent 137bedf commit 6bb48c5
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 @@ -1292,6 +1292,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 @@ -1292,6 +1292,9 @@ spec:
served: true
storage: true
subresources:
scale:
specReplicasPath: .spec.replicas
statusReplicasPath: .status.replicas
status: {}
- additionalPrinterColumns:
- description: Cluster
Expand Down

0 comments on commit 6bb48c5

Please sign in to comment.