Skip to content

Commit

Permalink
Fix CRD for helm chart (#58)
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolas-geniteau authored Sep 20, 2021
1 parent 236a893 commit 88f0924
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
14 changes: 7 additions & 7 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ install: ## Install all resources (RBAC and Operator)
kubectl apply -f deploy/role_binding.yaml -n ${NAMESPACE}
kubectl apply -f deploy/service_account.yaml -n ${NAMESPACE}
@echo ....... Applying CRDs .......
kubectl apply -f deploy/helm-chart/crds/secretgenerator.mittwald.de_basicauths_crd.yaml
kubectl apply -f deploy/helm-chart/crds/secretgenerator.mittwald.de_sshkeypairs_crd.yaml
kubectl apply -f deploy/helm-chart/crds/secretgenerator.mittwald.de_stringsecrets_crd.yaml
kubectl apply -f deploy/crds/secretgenerator.mittwald.de_basicauths_crd.yaml
kubectl apply -f deploy/crds/secretgenerator.mittwald.de_sshkeypairs_crd.yaml
kubectl apply -f deploy/crds/secretgenerator.mittwald.de_stringsecrets_crd.yaml
@echo ....... Applying Operator .......
kubectl apply -f deploy/operator.yaml -n ${NAMESPACE}

Expand Down Expand Up @@ -66,11 +66,11 @@ deletekind:

.PHONY: crd
crd: kind
kubectl --context kind-kind-k8s-secret-generator apply -f deploy/helm-chart/crds/secretgenerator.mittwald.de_basicauths_crd.yaml
kubectl --context kind-kind-k8s-secret-generator apply -f deploy/helm-chart/crds/secretgenerator.mittwald.de_sshkeypairs_crd.yaml
kubectl --context kind-kind-k8s-secret-generator apply -f deploy/helm-chart/crds/secretgenerator.mittwald.de_stringsecrets_crd.yaml
kubectl --context kind-kind-k8s-secret-generator apply -f deploy/crds/secretgenerator.mittwald.de_basicauths_crd.yaml
kubectl --context kind-kind-k8s-secret-generator apply -f deploy/crds/secretgenerator.mittwald.de_sshkeypairs_crd.yaml
kubectl --context kind-kind-k8s-secret-generator apply -f deploy/crds/secretgenerator.mittwald.de_stringsecrets_crd.yaml

.PHONY: build
build:
operator-sdk build --go-build-args "-ldflags -X=version.Version=${SECRET_OPERATOR_VERSION}" ${DOCKER_IMAGE}
@exit $(.SHELLSTATUS)
@exit $(.SHELLSTATUS)
1 change: 0 additions & 1 deletion deploy/helm-chart/crds

This file was deleted.

1 change: 1 addition & 0 deletions deploy/helm-chart/kubernetes-secret-generator/crds

0 comments on commit 88f0924

Please sign in to comment.