Skip to content

Commit

Permalink
Remove unused status.clusterStatus (#646)
Browse files Browse the repository at this point in the history
  • Loading branch information
ChunyiLyu committed Mar 26, 2021
1 parent 97d4cb4 commit 4f13b9a
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 10 deletions.
2 changes: 0 additions & 2 deletions api/v1beta1/rabbitmqcluster_status.go
Expand Up @@ -8,8 +8,6 @@ import (

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

Expand Down
1 change: 0 additions & 1 deletion api/v1beta1/rabbitmqcluster_types.go
Expand Up @@ -25,7 +25,6 @@ import (
// corresponds to a single RabbitMQ cluster.
// +kubebuilder:subresource:status
// +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp"
// +kubebuilder:printcolumn:name="Status",type="string",JSONPath=".status.clusterStatus"
// +kubebuilder:resource:shortName={"rmq"}
type RabbitmqCluster struct {
// Embedded metadata identifying a Kind and API Verison of an object.
Expand Down
6 changes: 0 additions & 6 deletions config/crd/bases/rabbitmq.com_rabbitmqclusters.yaml
Expand Up @@ -28,9 +28,6 @@ spec:
- jsonPath: .metadata.creationTimestamp
name: Age
type: date
- jsonPath: .status.clusterStatus
name: Status
type: string
name: v1beta1
schema:
openAPIV3Schema:
Expand Down Expand Up @@ -3624,9 +3621,6 @@ spec:
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?'
type: string
type: object
clusterStatus:
description: Unused.
type: string
conditions:
description: Set of Conditions describing the current state of the RabbitmqCluster
items:
Expand Down
1 change: 0 additions & 1 deletion docs/api/rabbitmq.com.ref.asciidoc
Expand Up @@ -325,7 +325,6 @@ Status presents the observed state of RabbitmqCluster
[cols="25a,75a", options="header"]
|===
| Field | Description
| *`clusterStatus`* __string__ | Unused.
| *`conditions`* __xref:{anchor_prefix}-github-com-rabbitmq-cluster-operator-internal-status-rabbitmqclustercondition[$$RabbitmqClusterCondition$$] array__ | Set of Conditions describing the current state of the RabbitmqCluster
| *`defaultUser`* __xref:{anchor_prefix}-github-com-rabbitmq-cluster-operator-api-v1beta1-rabbitmqclusterdefaultuser[$$RabbitmqClusterDefaultUser$$]__ | Identifying information on internal resources
| *`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
Expand Down

0 comments on commit 4f13b9a

Please sign in to comment.