Skip to content

Commit

Permalink
fix: remove the scale subresource for registry resource (#628)
Browse files Browse the repository at this point in the history
Signed-off-by: He Weiwei <hweiwei@vmware.com>
  • Loading branch information
heww committed Apr 30, 2021
1 parent 0592321 commit daeb48b
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 7 deletions.
1 change: 0 additions & 1 deletion apis/goharbor.io/v1alpha3/registry_types.go
Expand Up @@ -15,7 +15,6 @@ import (
// +k8s:openapi-gen=true
// +resource:path=registry
// +kubebuilder:subresource:status
// +kubebuilder:subresource:scale:specpath=.spec.replicas,statuspath=.status.replicas
// +kubebuilder:resource:categories="goharbor"
// +kubebuilder:printcolumn:name="Age",type=date,JSONPath=`.metadata.creationTimestamp`,description="Timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.",priority=1
// +kubebuilder:printcolumn:name="Failure",type=string,JSONPath=`.status.conditions[?(@.type=="Failed")].message`,description="Human readable message describing the failure",priority=5
Expand Down
3 changes: 0 additions & 3 deletions manifests/cluster/deployment.yaml
Expand Up @@ -10397,9 +10397,6 @@ spec:
served: true
storage: true
subresources:
scale:
specReplicasPath: .spec.replicas
statusReplicasPath: .status.replicas
status: {}
status:
acceptedNames:
Expand Down
3 changes: 0 additions & 3 deletions manifests/harbor/deployment.yaml
Expand Up @@ -10397,9 +10397,6 @@ spec:
served: true
storage: true
subresources:
scale:
specReplicasPath: .spec.replicas
statusReplicasPath: .status.replicas
status: {}
status:
acceptedNames:
Expand Down

0 comments on commit daeb48b

Please sign in to comment.