Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

upgrade controller-gen v0.12.0 -> v0.14.0 #170

Merged
merged 1 commit into from
Mar 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ CONTROLLER_GEN ?= $(LOCALBIN)/controller-gen
ENVTEST ?= $(LOCALBIN)/setup-envtest

## Tool Versions
CONTROLLER_TOOLS_VERSION ?= v0.12.0
CONTROLLER_TOOLS_VERSION ?= v0.14.0

.PHONY: fmt
fmt: ## Run go fmt against code.
Expand Down
1 change: 0 additions & 1 deletion api/v1alpha1/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

35 changes: 21 additions & 14 deletions pkg/controllers/resources/idpbuilder.cnoe.io_custompackages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.12.0
controller-gen.kubebuilder.io/version: v0.14.0
name: custompackages.idpbuilder.cnoe.io
spec:
group: idpbuilder.cnoe.io
Expand All @@ -19,14 +19,19 @@ spec:
openAPIV3Schema:
properties:
apiVersion:
description: 'APIVersion defines the versioned schema of this representation
of an object. Servers should convert recognized schemas to the latest
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
description: |-
APIVersion defines the versioned schema of this representation of an object.
Servers should convert recognized schemas to the latest internal value, and
may reject unrecognized values.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
type: string
kind:
description: 'Kind is a string value representing the REST resource this
object represents. Servers may infer this from the endpoint the client
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
description: |-
Kind is a string value representing the REST resource this object represents.
Servers may infer this from the endpoint the client submits requests to.
Cannot be updated.
In CamelCase.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
type: string
metadata:
type: object
Expand Down Expand Up @@ -60,12 +65,14 @@ spec:
- namespace
type: object
gitServerURL:
description: GitServerURL specifies the base URL for the git server
for API calls. for example, https://gitea.cnoe.localtest.me:8443
description: |-
GitServerURL specifies the base URL for the git server for API calls.
for example, https://gitea.cnoe.localtest.me:8443
type: string
internalGitServeURL:
description: InternalGitServeURL specifies the base URL for the git
server accessible within the cluster. for example, http://my-gitea-http.gitea.svc.cluster.local:3000
description: |-
InternalGitServeURL specifies the base URL for the git server accessible within the cluster.
for example, http://my-gitea-http.gitea.svc.cluster.local:3000
type: string
replicate:
default: false
Expand Down Expand Up @@ -96,9 +103,9 @@ spec:
type: object
type: array
synced:
description: A Custom package is considered synced when the in-cluster
repository url is set as the repository URL This only applies for
a package that references local directories
description: |-
A Custom package is considered synced when the in-cluster repository url is set as the repository URL
This only applies for a package that references local directories
type: boolean
type: object
type: object
Expand Down
25 changes: 15 additions & 10 deletions pkg/controllers/resources/idpbuilder.cnoe.io_gitrepositories.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.12.0
controller-gen.kubebuilder.io/version: v0.14.0
name: gitrepositories.idpbuilder.cnoe.io
spec:
group: idpbuilder.cnoe.io
Expand All @@ -19,14 +19,19 @@ spec:
openAPIV3Schema:
properties:
apiVersion:
description: 'APIVersion defines the versioned schema of this representation
of an object. Servers should convert recognized schemas to the latest
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
description: |-
APIVersion defines the versioned schema of this representation of an object.
Servers should convert recognized schemas to the latest internal value, and
may reject unrecognized values.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
type: string
kind:
description: 'Kind is a string value representing the REST resource this
object represents. Servers may infer this from the endpoint the client
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
description: |-
Kind is a string value representing the REST resource this object represents.
Servers may infer this from the endpoint the client submits requests to.
Cannot be updated.
In CamelCase.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
type: string
metadata:
type: object
Expand Down Expand Up @@ -63,9 +68,9 @@ spec:
- nginx
type: string
path:
description: Path is the absolute path to directory that contains
Kustomize structure or raw manifests. This is required when
Type is set to local.
description: |-
Path is the absolute path to directory that contains Kustomize structure or raw manifests.
This is required when Type is set to local.
type: string
type:
default: embedded
Expand Down
25 changes: 15 additions & 10 deletions pkg/controllers/resources/idpbuilder.cnoe.io_localbuilds.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.12.0
controller-gen.kubebuilder.io/version: v0.14.0
name: localbuilds.idpbuilder.cnoe.io
spec:
group: idpbuilder.cnoe.io
Expand All @@ -19,14 +19,19 @@ spec:
openAPIV3Schema:
properties:
apiVersion:
description: 'APIVersion defines the versioned schema of this representation
of an object. Servers should convert recognized schemas to the latest
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
description: |-
APIVersion defines the versioned schema of this representation of an object.
Servers should convert recognized schemas to the latest internal value, and
may reject unrecognized values.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
type: string
kind:
description: 'Kind is a string value representing the REST resource this
object represents. Servers may infer this from the endpoint the client
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
description: |-
Kind is a string value representing the REST resource this object represents.
Servers may infer this from the endpoint the client submits requests to.
Cannot be updated.
In CamelCase.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
type: string
metadata:
type: object
Expand All @@ -35,9 +40,9 @@ spec:
packageConfigs:
properties:
argoPackageConfigs:
description: ArgoPackageConfigSpec Allows for configuration of
the ArgoCD Installation. If no fields are specified then the
binary embedded resources will be used to intall ArgoCD.
description: |-
ArgoPackageConfigSpec Allows for configuration of the ArgoCD Installation.
If no fields are specified then the binary embedded resources will be used to intall ArgoCD.
properties:
enabled:
description: Enabled controls whether to install ArgoCD.
Expand Down
Loading