Skip to content

Commit

Permalink
changing the short name of the preflightvalidation CRD (#225)
Browse files Browse the repository at this point in the history
Upstream-Commit: a86ffb9
  • Loading branch information
yevgeny-shnaidman committed Jan 4, 2023
1 parent fce850e commit e9b1861
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion api/v1beta1/preflightvalidation_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ type PreflightValidationStatus struct {

// PreflightValidation initiates a preflight validations for all Modules on the current Kubernetes cluster.
// +kubebuilder:resource:path=preflightvalidations,scope=Cluster
// +kubebuilder:resource:path=preflightvalidations,scope=Cluster,shortName=pv
// +kubebuilder:resource:path=preflightvalidations,scope=Cluster,shortName=pfv
type PreflightValidation struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ spec:
listKind: PreflightValidationList
plural: preflightvalidations
shortNames:
- pv
- pfv
singular: preflightvalidation
scope: Cluster
versions:
Expand Down

0 comments on commit e9b1861

Please sign in to comment.