diff --git a/config/crd/bases/kamaji.clastix.io_tenantcontrolplanes.yaml b/config/crd/bases/kamaji.clastix.io_tenantcontrolplanes.yaml index 23475d7d..b6c791e0 100644 --- a/config/crd/bases/kamaji.clastix.io_tenantcontrolplanes.yaml +++ b/config/crd/bases/kamaji.clastix.io_tenantcontrolplanes.yaml @@ -1227,6 +1227,10 @@ spec: by this deployment (their labels match the selector). format: int32 type: integer + selector: + description: Selector is the label selector used to group + the Tenant Control Plane Pods used by the scale subresource. + type: string unavailableReplicas: description: Total number of unavailable pods targeted by this deployment. This is the total number of pods that are @@ -1243,6 +1247,7 @@ spec: required: - name - namespace + - selector type: object ingress: description: KubernetesIngressStatus defines the status for the @@ -1547,4 +1552,8 @@ spec: served: true storage: true subresources: + scale: + labelSelectorPath: .status.kubernetesResources.deployment.selector + specReplicasPath: .spec.deployment.replicas + statusReplicasPath: .status.kubernetesResources.deployment.replicas status: {} diff --git a/config/install.yaml b/config/install.yaml index 3e705ae5..c42262a8 100644 --- a/config/install.yaml +++ b/config/install.yaml @@ -943,6 +943,9 @@ spec: description: Total number of non-terminated pods targeted by this deployment (their labels match the selector). format: int32 type: integer + selector: + description: Selector is the label selector used to group the Tenant Control Plane Pods used by the scale subresource. + type: string unavailableReplicas: description: Total number of unavailable pods targeted by this deployment. This is the total number of pods that are still required for the deployment to have 100% available capacity. They may either be pods that are running but not yet available or pods that still have not been created. format: int32 @@ -954,6 +957,7 @@ spec: required: - name - namespace + - selector type: object ingress: description: KubernetesIngressStatus defines the status for the Tenant Control Plane Ingress in the management cluster. @@ -1172,6 +1176,10 @@ spec: served: true storage: true subresources: + scale: + labelSelectorPath: .status.kubernetesResources.deployment.selector + specReplicasPath: .spec.deployment.replicas + statusReplicasPath: .status.kubernetesResources.deployment.replicas status: {} --- apiVersion: v1