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

Update path for CRD generation to include all #2846

Merged
merged 1 commit into from
Jul 13, 2022
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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ update-codegen: ## Generate code

.PHONY: update-crds
update-crds: ## Update CRDs
go run sigs.k8s.io/controller-tools/cmd/controller-gen crd:crdVersions=v1 schemapatch:manifests=./deployments/common/crds/ paths=./pkg/apis/configuration/... output:dir=./deployments/common/crds
go run sigs.k8s.io/controller-tools/cmd/controller-gen crd:crdVersions=v1 schemapatch:manifests=./deployments/common/crds/ paths=./pkg/apis/... output:dir=./deployments/common/crds
@cp -Rp deployments/common/crds/* deployments/helm-chart/crds/

.PHONY: certificate-and-key
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.7.0
controller-gen.kubebuilder.io/version: v0.8.0
creationTimestamp: null
name: dosprotectedresources.appprotectdos.f5.com
spec:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,13 @@ spec:
metadata:
type: object
spec:
description: DNSEndpointSpec holds information about endpoints.
type: object
properties:
endpoints:
type: array
items:
description: Endpoint describes DNS Endpoint.
type: object
properties:
dnsName:
Expand All @@ -48,6 +50,7 @@ spec:
description: ProviderSpecific stores provider specific config
type: array
items:
description: ProviderSpecificProperty represents provider specific config property.
type: object
properties:
name:
Expand All @@ -69,6 +72,7 @@ spec:
items:
type: string
status:
description: DNSEndpointStatus represents generation observed by the external dns controller.
type: object
properties:
observedGeneration:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.7.0
controller-gen.kubebuilder.io/version: v0.8.0
creationTimestamp: null
name: dosprotectedresources.appprotectdos.f5.com
spec:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,13 @@ spec:
metadata:
type: object
spec:
description: DNSEndpointSpec holds information about endpoints.
type: object
properties:
endpoints:
type: array
items:
description: Endpoint describes DNS Endpoint.
type: object
properties:
dnsName:
Expand All @@ -48,6 +50,7 @@ spec:
description: ProviderSpecific stores provider specific config
type: array
items:
description: ProviderSpecificProperty represents provider specific config property.
type: object
properties:
name:
Expand All @@ -69,6 +72,7 @@ spec:
items:
type: string
status:
description: DNSEndpointStatus represents generation observed by the external dns controller.
type: object
properties:
observedGeneration:
Expand Down