Skip to content

Commit 2f6c415

Browse files
authored
chore(ci): controller-gen version v0.18.0 (#2411)
1 parent 997cf80 commit 2f6c415

File tree

7 files changed

+16
-39
lines changed

7 files changed

+16
-39
lines changed

kinds/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ vet: ## Run go vet against code.
2020
CONTROLLER_GEN ?= $(LOCALBIN)/controller-gen
2121

2222
## Tool Versions
23-
CONTROLLER_TOOLS_VERSION ?= v0.14.0
23+
CONTROLLER_TOOLS_VERSION ?= v0.18.0
2424

2525
.PHONY: controller-gen
2626
controller-gen: $(CONTROLLER_GEN) ## Download controller-gen locally if necessary. If wrong version is installed, it will be overwritten.

operator/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ ENVTEST ?= $(LOCALBIN)/setup-envtest
9999

100100
## Tool Versions
101101
KUSTOMIZE_VERSION ?= v3.8.7
102-
CONTROLLER_TOOLS_VERSION ?= v0.14.0
102+
CONTROLLER_TOOLS_VERSION ?= v0.18.0
103103

104104
.PHONY: kustomize
105105
kustomize: $(KUSTOMIZE) ## Download kustomize locally if necessary. If wrong version is installed, it will be removed before downloading.

operator/charts/embedded-cluster-operator/charts/crds/templates/resources.yaml

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: apiextensions.k8s.io/v1
22
kind: CustomResourceDefinition
33
metadata:
44
annotations:
5-
controller-gen.kubebuilder.io/version: v0.14.0
5+
controller-gen.kubebuilder.io/version: v0.18.0
66
labels:
77
replicated.com/disaster-recovery: infra
88
replicated.com/disaster-recovery-chart: embedded-cluster-operator
@@ -248,7 +248,7 @@ apiVersion: apiextensions.k8s.io/v1
248248
kind: CustomResourceDefinition
249249
metadata:
250250
annotations:
251-
controller-gen.kubebuilder.io/version: v0.14.0
251+
controller-gen.kubebuilder.io/version: v0.18.0
252252
labels:
253253
replicated.com/disaster-recovery: ec-install
254254
name: installations.embeddedcluster.replicated.com
@@ -684,7 +684,7 @@ spec:
684684
conditions:
685685
description: Conditions is an array of current observed installation conditions.
686686
items:
687-
description: "Condition contains details for one aspect of the current state of this API Resource.\n---\nThis struct is intended for direct use as an array at the field path .status.conditions. For example,\n\n\n\ttype FooStatus struct{\n\t // Represents the observations of a foo's current state.\n\t // Known .status.conditions.type are: \"Available\", \"Progressing\", and \"Degraded\"\n\t // +patchMergeKey=type\n\t // +patchStrategy=merge\n\t // +listType=map\n\t // +listMapKey=type\n\t Conditions []metav1.Condition `json:\"conditions,omitempty\" patchStrategy:\"merge\" patchMergeKey:\"type\" protobuf:\"bytes,1,rep,name=conditions\"`\n\n\n\t // other fields\n\t}"
687+
description: Condition contains details for one aspect of the current state of this API Resource.
688688
properties:
689689
lastTransitionTime:
690690
description: |-
@@ -725,12 +725,7 @@ spec:
725725
- Unknown
726726
type: string
727727
type:
728-
description: |-
729-
type of condition in CamelCase or in foo.example.com/CamelCase.
730-
---
731-
Many .condition.type values are consistent across resources like Available, but because arbitrary conditions can be
732-
useful (see .node.status.conditions), the ability to deconflict is important.
733-
The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt)
728+
description: type of condition in CamelCase or in foo.example.com/CamelCase.
734729
maxLength: 316
735730
pattern: ^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$
736731
type: string

operator/config/crd/bases/embeddedcluster.replicated.com_configs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
33
kind: CustomResourceDefinition
44
metadata:
55
annotations:
6-
controller-gen.kubebuilder.io/version: v0.14.0
6+
controller-gen.kubebuilder.io/version: v0.18.0
77
name: configs.embeddedcluster.replicated.com
88
spec:
99
group: embeddedcluster.replicated.com

operator/config/crd/bases/embeddedcluster.replicated.com_installations.yaml

Lines changed: 4 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
33
kind: CustomResourceDefinition
44
metadata:
55
annotations:
6-
controller-gen.kubebuilder.io/version: v0.14.0
6+
controller-gen.kubebuilder.io/version: v0.18.0
77
name: installations.embeddedcluster.replicated.com
88
spec:
99
group: embeddedcluster.replicated.com
@@ -463,16 +463,8 @@ spec:
463463
description: Conditions is an array of current observed installation
464464
conditions.
465465
items:
466-
description: "Condition contains details for one aspect of the current
467-
state of this API Resource.\n---\nThis struct is intended for
468-
direct use as an array at the field path .status.conditions. For
469-
example,\n\n\n\ttype FooStatus struct{\n\t // Represents the
470-
observations of a foo's current state.\n\t // Known .status.conditions.type
471-
are: \"Available\", \"Progressing\", and \"Degraded\"\n\t //
472-
+patchMergeKey=type\n\t // +patchStrategy=merge\n\t // +listType=map\n\t
473-
\ // +listMapKey=type\n\t Conditions []metav1.Condition `json:\"conditions,omitempty\"
474-
patchStrategy:\"merge\" patchMergeKey:\"type\" protobuf:\"bytes,1,rep,name=conditions\"`\n\n\n\t
475-
\ // other fields\n\t}"
466+
description: Condition contains details for one aspect of the current
467+
state of this API Resource.
476468
properties:
477469
lastTransitionTime:
478470
description: |-
@@ -513,12 +505,7 @@ spec:
513505
- Unknown
514506
type: string
515507
type:
516-
description: |-
517-
type of condition in CamelCase or in foo.example.com/CamelCase.
518-
---
519-
Many .condition.type values are consistent across resources like Available, but because arbitrary conditions can be
520-
useful (see .node.status.conditions), the ability to deconflict is important.
521-
The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt)
508+
description: type of condition in CamelCase or in foo.example.com/CamelCase.
522509
maxLength: 316
523510
pattern: ^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$
524511
type: string

operator/config/crd/bases/embeddedcluster.replicated.com_kubernetesinstallations.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
33
kind: CustomResourceDefinition
44
metadata:
55
annotations:
6-
controller-gen.kubebuilder.io/version: v0.14.0
6+
controller-gen.kubebuilder.io/version: v0.18.0
77
name: kubernetesinstallations.embeddedcluster.replicated.com
88
spec:
99
group: embeddedcluster.replicated.com

pkg/crds/resources.yaml

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: apiextensions.k8s.io/v1
22
kind: CustomResourceDefinition
33
metadata:
44
annotations:
5-
controller-gen.kubebuilder.io/version: v0.14.0
5+
controller-gen.kubebuilder.io/version: v0.18.0
66
labels:
77
replicated.com/disaster-recovery: infra
88
replicated.com/disaster-recovery-chart: embedded-cluster-operator
@@ -248,7 +248,7 @@ apiVersion: apiextensions.k8s.io/v1
248248
kind: CustomResourceDefinition
249249
metadata:
250250
annotations:
251-
controller-gen.kubebuilder.io/version: v0.14.0
251+
controller-gen.kubebuilder.io/version: v0.18.0
252252
labels:
253253
replicated.com/disaster-recovery: ec-install
254254
name: installations.embeddedcluster.replicated.com
@@ -684,7 +684,7 @@ spec:
684684
conditions:
685685
description: Conditions is an array of current observed installation conditions.
686686
items:
687-
description: "Condition contains details for one aspect of the current state of this API Resource.\n---\nThis struct is intended for direct use as an array at the field path .status.conditions. For example,\n\n\n\ttype FooStatus struct{\n\t // Represents the observations of a foo's current state.\n\t // Known .status.conditions.type are: \"Available\", \"Progressing\", and \"Degraded\"\n\t // +patchMergeKey=type\n\t // +patchStrategy=merge\n\t // +listType=map\n\t // +listMapKey=type\n\t Conditions []metav1.Condition `json:\"conditions,omitempty\" patchStrategy:\"merge\" patchMergeKey:\"type\" protobuf:\"bytes,1,rep,name=conditions\"`\n\n\n\t // other fields\n\t}"
687+
description: Condition contains details for one aspect of the current state of this API Resource.
688688
properties:
689689
lastTransitionTime:
690690
description: |-
@@ -725,12 +725,7 @@ spec:
725725
- Unknown
726726
type: string
727727
type:
728-
description: |-
729-
type of condition in CamelCase or in foo.example.com/CamelCase.
730-
---
731-
Many .condition.type values are consistent across resources like Available, but because arbitrary conditions can be
732-
useful (see .node.status.conditions), the ability to deconflict is important.
733-
The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt)
728+
description: type of condition in CamelCase or in foo.example.com/CamelCase.
734729
maxLength: 316
735730
pattern: ^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$
736731
type: string

0 commit comments

Comments
 (0)