Skip to content

Commit

Permalink
Update path for CRD generation to include all (#2846)
Browse files Browse the repository at this point in the history
  • Loading branch information
lucacome committed Jul 13, 2022
1 parent 7ae1cfa commit c95ceb7
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 3 deletions.
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

0 comments on commit c95ceb7

Please sign in to comment.