1
0
Fork 0
mirror of https://github.com/external-secrets/external-secrets.git synced 2024-12-15 17:51:01 +00:00

Fixing Makefile and helm README

Signed-off-by: Gustavo Carvalho <gustavo.carvalho@container-solutions.com>
This commit is contained in:
Gustavo Carvalho 2022-02-10 17:00:52 -03:00
parent 23784803ff
commit 773d362a5c
2 changed files with 4 additions and 4 deletions

View file

@ -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 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 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 crds.uninstall: ## Uninstall CRDs from a cluster. This is for convenience
kubectl delete -f $(CRD_DIR) kubectl delete -f $(BUNDLE_DIR)
# ==================================================================================== # ====================================================================================
# Helm Chart # Helm Chart
@ -175,7 +175,7 @@ helm.build: helm.generate ## Build helm chart
@$(OK) helm package @$(OK) helm package
helm.generate: helm.docs ## Copy crds to helm chart directory 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 # Add helm if statement for controlling the install of CRDs
@for i in $(HELM_DIR)/templates/crds/*.yaml; do \ @for i in $(HELM_DIR)/templates/crds/*.yaml; do \
cp "$$i" "$$i.bkp" && \ cp "$$i" "$$i.bkp" && \

View file

@ -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.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. | | 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 | `[]` | | | tolerations | list | `[]` | |
| webhook.certDir | string | `"/tmp/k8s-webhook-server/serving-certs"` | |
| webhook.enabled | bool | `true` | | | webhook.enabled | bool | `true` | |
| webhook.secretName | string | `"secret-certificate"` | |