debug parse invalid wire-format data

This commit is contained in:
Stefan Riepenhausen 2022-12-08 10:34:34 +01:00
parent b85811e871
commit b5c88ebe83
1 changed files with 8 additions and 6 deletions

14
helm.mk
View File

@ -1,20 +1,22 @@
# helm # helm
# #
# deploys helm charts on k8s via helmfile # deploys helm charts on k8s via helmfile
#
start-helm: start-helm:
@- echo "\n### starting deployment with helmfile" @- echo "\n### starting deployment with helmfile"
@- echo "\n### setting kubernetes context to $(K8S_CONTEXT)" @- echo "\n### setting kubernetes context to $(K8S_CONTEXT)"
@ kubectl config use-context $(K8S_CONTEXT) @ kubectl config use-context $(K8S_CONTEXT)
#
@- echo "\n### create namespace $(NAMESPACE)" @- echo "\n### create namespace $(NAMESPACE)"
@- kubectl create namespace "$(NAMESPACE)" --dry-run=client -o yaml | kubectl apply -f - @- kubectl create namespace "$(NAMESPACE)" --dry-run=client -o yaml | kubectl apply -f -
@- echo "\n### DEBUG NAMESPACE"
@- kubectl create namespace "$(NAMESPACE)" --dry-run=client -o yaml
#
@- echo "\n### run kubectl apply -f secrets.yaml" @- echo "\n### run kubectl apply -f secrets.yaml"
@- kubectl apply -f secrets.yaml @- kubectl apply -f secrets.yaml -o yaml
#
@- echo "\n### deploying helm chart" @- echo "\n### deploying helm chart"
@ helmfile --file helmfile.yaml apply --suppress-secrets @ helmfile --file helmfile.yaml apply --suppress-secrets
#
pull-helm: pull-helm:
# nop # nop