Browse Source

Fixing Makefile and helm README

Signed-off-by: Gustavo Carvalho <gustavo.carvalho@container-solutions.com>
Gustavo Carvalho 4 years ago
parent
commit
773d362a5c
2 changed files with 4 additions and 4 deletions
  1. 3 3
      Makefile
  2. 1 1
      deploy/charts/external-secrets/README.md

+ 3 - 3
Makefile

@@ -154,10 +154,10 @@ manifests: helm.generate ## Generate manifests from helm chart
 	helm template external-secrets $(HELM_DIR) -f deploy/manifests/helm-values.yaml > $(OUTPUT_DIR)/deploy/manifests/external-secrets.yaml
 
 crds.install: generate ## Install CRDs into a cluster. This is for convenience
-	kubectl apply -f $(CRD_DIR)
+	kubectl apply -f $(BUNDLE_DIR)
 
 crds.uninstall: ## Uninstall CRDs from a cluster. This is for convenience
-	kubectl delete -f $(CRD_DIR)
+	kubectl delete -f $(BUNDLE_DIR)
 
 # ====================================================================================
 # Helm Chart
@@ -175,7 +175,7 @@ helm.build: helm.generate ## Build helm chart
 	@$(OK) helm package
 
 helm.generate: helm.docs ## Copy crds to helm chart directory
-	@cp $(CRD_DIR)/*.yaml $(HELM_DIR)/templates/crds/
+	@cp $(BUNDLE_DIR)/*.yaml $(HELM_DIR)/templates/crds/
 # Add helm if statement for controlling the install of CRDs
 	@for i in $(HELM_DIR)/templates/crds/*.yaml; do \
 		cp "$$i" "$$i.bkp" && \

+ 1 - 1
deploy/charts/external-secrets/README.md

@@ -64,5 +64,5 @@ The command removes all the Kubernetes components associated with the chart and
 | serviceAccount.create | bool | `true` | Specifies whether a service account should be created. |
 | serviceAccount.name | string | `""` | The name of the service account to use. If not set and create is true, a name is generated using the fullname template. |
 | tolerations | list | `[]` |  |
+| webhook.certDir | string | `"/tmp/k8s-webhook-server/serving-certs"` |  |
 | webhook.enabled | bool | `true` |  |
-| webhook.secretName | string | `"secret-certificate"` |  |