Skip to content

Commit

Permalink
config/crds
Browse files Browse the repository at this point in the history
  • Loading branch information
marccampbell committed Jul 9, 2019
1 parent a4824db commit 277ad11
Show file tree
Hide file tree
Showing 13 changed files with 1,090 additions and 20 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -30,16 +30,16 @@ run: generate fmt vet

# Install CRDs into a cluster
install: manifests
kubectl apply -f config/crd
kubectl apply -f config/crds

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

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

.PHONY: fmt
fmt:
Expand Down
12 changes: 0 additions & 12 deletions config/crd/troubleshoot.replicated.com_collectorjobs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -390,18 +390,6 @@ spec:
type: string
type: object
spec:
properties:
collector:
properties:
name:
type: string
namespace:
type: string
required:
- name
type: object
required:
- collector
type: object
status:
type: object
Expand Down
Empty file added config/crds/manifests.yaml
Empty file.
433 changes: 433 additions & 0 deletions config/crds/troubleshoot.replicated.com_collectorjobs.yaml

Large diffs are not rendered by default.

Loading

0 comments on commit 277ad11

Please sign in to comment.