chore(deps): bump controller-gen to v0.18.0 (#23000)

Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
This commit is contained in:
Michael Crenshaw 2025-05-16 12:33:48 -04:00 committed by GitHub
parent 6aa5f84631
commit 6c1cfedd14
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 7 additions and 5 deletions

4
assets/swagger.json generated
View file

@ -8894,8 +8894,8 @@
"type": "string"
},
"pullRequestState": {
"type": "string",
"title": "PullRequestState is an additional MRs filter to get only those with a certain state. PullRequestState is an additional MRs filter to get only those with a certain state. By default \"\" (all states). Valid values: opened, closed, merged, locked"
"description": "PullRequestState is an additional MRs filter to get only those with a certain state. Default: \"\" (all states).\nValid values: opened, closed, merged, locked\".",
"type": "string"
},
"tokenRef": {
"$ref": "#/definitions/v1alpha1SecretRef"

View file

@ -45,7 +45,7 @@ go_mod_install k8s.io/code-generator/cmd/lister-gen
go_mod_install k8s.io/kube-openapi/cmd/openapi-gen
# controller-gen is run by ./hack/gen-crd-spec to generate the CRDs
go install sigs.k8s.io/controller-tools/cmd/controller-gen@v0.14.0
go install sigs.k8s.io/controller-tools/cmd/controller-gen@v0.18.0
# swagger cli is used to generate swagger docs
go install github.com/go-swagger/go-swagger/cmd/swagger@v0.28.0

View file

@ -698,7 +698,8 @@ type PullRequestGeneratorGitLab struct {
TokenRef *SecretRef `json:"tokenRef,omitempty" protobuf:"bytes,3,opt,name=tokenRef"`
// Labels is used to filter the MRs that you want to target
Labels []string `json:"labels,omitempty" protobuf:"bytes,4,rep,name=labels"`
// PullRequestState is an additional MRs filter to get only those with a certain state. Default: "" (all states)
// PullRequestState is an additional MRs filter to get only those with a certain state. Default: "" (all states).
// Valid values: opened, closed, merged, locked".
PullRequestState string `json:"pullRequestState,omitempty" protobuf:"bytes,5,rep,name=pullRequestState"`
// Skips validating the SCM provider's TLS certificate - useful for self-signed certificates.; default: false
Insecure bool `json:"insecure,omitempty" protobuf:"varint,6,opt,name=insecure"`

View file

@ -1612,7 +1612,8 @@ message PullRequestGeneratorGitLab {
// Labels is used to filter the MRs that you want to target
repeated string labels = 4;
// PullRequestState is an additional MRs filter to get only those with a certain state. Default: "" (all states)
// PullRequestState is an additional MRs filter to get only those with a certain state. Default: "" (all states).
// Valid values: opened, closed, merged, locked".
optional string pullRequestState = 5;
// Skips validating the SCM provider's TLS certificate - useful for self-signed certificates.; default: false