Skip to content

Commit cc2e478

Browse files
Merge pull request #4891 from justinsb/add_missing_labels
fix: add missing label to CloudBuildWorkerPool
2 parents 250464c + 8b18487 commit cc2e478

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

apis/cloudbuild/v1beta1/workerpool_types.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,9 +147,10 @@ type CloudBuildWorkerPoolObservedState struct {
147147
ETag *string `json:"etag,omitempty"`
148148
}
149149

150+
// CloudBuildWorkerPool is the Schema for the CloudBuild WorkerPool API
150151
// +kubebuilder:metadata:labels="cnrm.cloud.google.com/managed-by-kcc=true";"cnrm.cloud.google.com/stability-level=beta"
152+
// +kubebuilder:metadata:labels="cnrm.cloud.google.com/system=true"
151153
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
152-
// CloudBuildWorkerPool is the Schema for the CloudBuild WorkerPool API
153154
// +kubebuilder:subresource:status
154155
// +kubebuilder:storageversion
155156
// +kubebuilder:resource:categories=gcp,shortName=gcpcloudbuildworkerpool;gcpcloudbuildworkerpools
@@ -161,8 +162,8 @@ type CloudBuildWorkerPool struct {
161162
Status CloudBuildWorkerPoolStatus `json:"status,omitempty"`
162163
}
163164

164-
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
165165
// CloudBuildWorkerPoolList contains a list of WorkerPool
166+
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
166167
type CloudBuildWorkerPoolList struct {
167168
metav1.TypeMeta `json:",inline"`
168169
metav1.ListMeta `json:"metadata,omitempty"`

config/crds/resources/apiextensions.k8s.io_v1_customresourcedefinition_cloudbuildworkerpools.cloudbuild.cnrm.cloud.google.com.yaml

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)