Skip to content

Commit

Permalink
include v1 crds in build
Browse files Browse the repository at this point in the history
  • Loading branch information
RafalSkolasinski committed Feb 23, 2021
1 parent f0c5973 commit 4a1f0ad
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4882,6 +4882,8 @@ spec:
type: string
serviceAccountName:
type: string
storageInitializerImage:
type: string
type:
type: string
type: object
Expand Down Expand Up @@ -10650,6 +10652,8 @@ spec:
type: string
serviceAccountName:
type: string
storageInitializerImage:
type: string
type:
type: string
type: object
Expand Down Expand Up @@ -16418,6 +16422,8 @@ spec:
type: string
serviceAccountName:
type: string
storageInitializerImage:
type: string
type:
type: string
type: object
Expand Down
10 changes: 8 additions & 2 deletions operator/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,15 @@ lint: licenses/dep.txt
./licenses

# Run tests
test: generate fmt vet manifests generate-resources
test: generate fmt vet manifests_all generate-resources
ginkgo -r -outputdir=. -cover -coverprofile=cover.out ./controllers ./utils ./apis

# Build manager binary
manager: generate fmt vet
go build -o bin/manager main.go

# Run against the configured Kubernetes cluster in ~/.kube/config
run: generate fmt vet manifests
run: generate fmt vet manifests_all
go run ./main.go --webhook-port=9000

install-cert-manager:
Expand All @@ -49,6 +49,12 @@ install-cert-manager:
kubectl rollout status deployment.apps/cert-manager-cainjector -n cert-manager
kubectl rollout status deployment.apps/cert-manager-webhook -n cert-manager


manifests_all: manifests manifests_v1

install_all: install install_v1


# Install CRDs into a cluster
install: manifests
kustomize build config/crd | kubectl apply -f -
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8580,6 +8580,8 @@ spec:
type: string
serviceAccountName:
type: string
storageInitializerImage:
type: string
type:
type: string
type: object
Expand Down Expand Up @@ -8645,6 +8647,8 @@ spec:
type: array
serviceAccountName:
type: string
storageInitializerImage:
type: string
type:
type: string
required:
Expand Down Expand Up @@ -17450,6 +17454,8 @@ spec:
type: string
serviceAccountName:
type: string
storageInitializerImage:
type: string
type:
type: string
type: object
Expand Down Expand Up @@ -17515,6 +17521,8 @@ spec:
type: array
serviceAccountName:
type: string
storageInitializerImage:
type: string
type:
type: string
required:
Expand Down Expand Up @@ -26320,6 +26328,8 @@ spec:
type: string
serviceAccountName:
type: string
storageInitializerImage:
type: string
type:
type: string
type: object
Expand Down Expand Up @@ -26385,6 +26395,8 @@ spec:
type: array
serviceAccountName:
type: string
storageInitializerImage:
type: string
type:
type: string
required:
Expand Down

0 comments on commit 4a1f0ad

Please sign in to comment.