Skip to content

Commit 4f13b9a

Browse files
authored
Remove unused status.clusterStatus (#646)
1 parent 97d4cb4 commit 4f13b9a

File tree

4 files changed

+0
-10
lines changed

4 files changed

+0
-10
lines changed

api/v1beta1/rabbitmqcluster_status.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@ import (
88

99
// Status presents the observed state of RabbitmqCluster
1010
type RabbitmqClusterStatus struct {
11-
// Unused.
12-
ClusterStatus string `json:"clusterStatus,omitempty"`
1311
// Set of Conditions describing the current state of the RabbitmqCluster
1412
Conditions []status.RabbitmqClusterCondition `json:"conditions"`
1513

api/v1beta1/rabbitmqcluster_types.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ import (
2525
// corresponds to a single RabbitMQ cluster.
2626
// +kubebuilder:subresource:status
2727
// +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp"
28-
// +kubebuilder:printcolumn:name="Status",type="string",JSONPath=".status.clusterStatus"
2928
// +kubebuilder:resource:shortName={"rmq"}
3029
type RabbitmqCluster struct {
3130
// Embedded metadata identifying a Kind and API Verison of an object.

config/crd/bases/rabbitmq.com_rabbitmqclusters.yaml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,6 @@ spec:
2828
- jsonPath: .metadata.creationTimestamp
2929
name: Age
3030
type: date
31-
- jsonPath: .status.clusterStatus
32-
name: Status
33-
type: string
3431
name: v1beta1
3532
schema:
3633
openAPIV3Schema:
@@ -3624,9 +3621,6 @@ spec:
36243621
description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?'
36253622
type: string
36263623
type: object
3627-
clusterStatus:
3628-
description: Unused.
3629-
type: string
36303624
conditions:
36313625
description: Set of Conditions describing the current state of the RabbitmqCluster
36323626
items:

docs/api/rabbitmq.com.ref.asciidoc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,6 @@ Status presents the observed state of RabbitmqCluster
325325
[cols="25a,75a", options="header"]
326326
|===
327327
| Field | Description
328-
| *`clusterStatus`* __string__ | Unused.
329328
| *`conditions`* __xref:{anchor_prefix}-github-com-rabbitmq-cluster-operator-internal-status-rabbitmqclustercondition[$$RabbitmqClusterCondition$$] array__ | Set of Conditions describing the current state of the RabbitmqCluster
330329
| *`defaultUser`* __xref:{anchor_prefix}-github-com-rabbitmq-cluster-operator-api-v1beta1-rabbitmqclusterdefaultuser[$$RabbitmqClusterDefaultUser$$]__ | Identifying information on internal resources
331330
| *`binding`* __link:https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#localobjectreference-v1-core[$$LocalObjectReference$$]__ | Binding exposes a secret containing the binding information for this RabbitmqCluster. It implements the service binding Provisioned Service duck type. See: https://k8s-service-bindings.github.io/spec/#provisioned-service

0 commit comments

Comments
 (0)