Skip to content

Commit

Permalink
Polish the comment in cluster CRD
Browse files Browse the repository at this point in the history
  • Loading branch information
paulzhang97 committed Jun 7, 2024
1 parent 144de7a commit dd0c3ad
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/go/k8s/api/vectorized/v1alpha1/cluster_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ type ClusterSpec struct {
// Replicas determine how big the cluster will be.
// +kubebuilder:validation:Minimum=0
Replicas *int32 `json:"replicas,omitempty"`
// PriorityClassName is the name of PriortyClass.
// PriorityClassName is used to set the PodSpec.PriorityClassName of the redpanda Statefulset.
PriorityClassName string `json:"priorityClassName,omitempty"`
// PodDisruptionBudget specifies whether PDB resource should be created for
// the cluster and how should it be configured. By default this is enabled
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1072,7 +1072,8 @@ spec:
x-kubernetes-int-or-string: true
type: object
priorityClassName:
description: PriorityClassName is the name of PriortyClass.
description: PriorityClassName is used to set the PodSpec.PriorityClassName
of the redpanda Statefulset.
type: string
replicas:
description: Replicas determine how big the cluster will be.
Expand Down

0 comments on commit dd0c3ad

Please sign in to comment.