Skip to content

Commit 277ad11

Browse files
committed
config/crds
1 parent a4824db commit 277ad11

13 files changed

+1090
-20
lines changed

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,16 +30,16 @@ run: generate fmt vet
3030

3131
# Install CRDs into a cluster
3232
install: manifests
33-
kubectl apply -f config/crd
33+
kubectl apply -f config/crds
3434

3535
# Deploy controller in the configured Kubernetes cluster in ~/.kube/config
3636
deploy: manifests
37-
kubectl apply -f config/crd
37+
kubectl apply -f config/crds
3838
kustomize build config/default | kubectl apply -f -
3939

4040
# Generate manifests e.g. CRD, RBAC etc.
4141
manifests:
42-
controller-gen paths=./pkg/apis/...
42+
controller-gen paths=./pkg/apis/... output:dir=./config/crds
4343

4444
.PHONY: fmt
4545
fmt:

config/crd/troubleshoot.replicated.com_collectorjobs.yaml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -390,18 +390,6 @@ spec:
390390
type: string
391391
type: object
392392
spec:
393-
properties:
394-
collector:
395-
properties:
396-
name:
397-
type: string
398-
namespace:
399-
type: string
400-
required:
401-
- name
402-
type: object
403-
required:
404-
- collector
405393
type: object
406394
status:
407395
type: object

config/crds/manifests.yaml

Whitespace-only changes.

config/crds/troubleshoot.replicated.com_collectorjobs.yaml

Lines changed: 433 additions & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)