diff --git a/config/crd/bases/infrastructure.cluster.x-k8s.io_azuremanagedmachinepools.yaml b/config/crd/bases/infrastructure.cluster.x-k8s.io_azuremanagedmachinepools.yaml index d831baf90117..425b15f688ae 100644 --- a/config/crd/bases/infrastructure.cluster.x-k8s.io_azuremanagedmachinepools.yaml +++ b/config/crd/bases/infrastructure.cluster.x-k8s.io_azuremanagedmachinepools.yaml @@ -173,7 +173,11 @@ spec: storage: false subresources: status: {} - - name: v1beta1 + - additionalPrinterColumns: + - jsonPath: .spec.mode + name: Mode + type: string + name: v1beta1 schema: openAPIV3Schema: description: AzureManagedMachinePool is the Schema for the azuremanagedmachinepools diff --git a/exp/api/v1beta1/azuremanagedmachinepool_types.go b/exp/api/v1beta1/azuremanagedmachinepool_types.go index 00611b584656..cb07ea973ca1 100644 --- a/exp/api/v1beta1/azuremanagedmachinepool_types.go +++ b/exp/api/v1beta1/azuremanagedmachinepool_types.go @@ -146,6 +146,7 @@ type AzureManagedMachinePoolStatus struct { } // +kubebuilder:object:root=true +// +kubebuilder:printcolumn:name="Mode",type="string",JSONPath=".spec.mode" // +kubebuilder:resource:path=azuremanagedmachinepools,scope=Namespaced,categories=cluster-api,shortName=ammp // +kubebuilder:storageversion // +kubebuilder:subresource:status