Rephrase makefile set-redis-password command
@@ -371,9 +371,7 @@ set-redis-password:
read REDIS_PASSWORD; \
stty echo; \
printf "\n"; \
- REDIS_PASSWORD=$$(printf "$$REDIS_PASSWORD" | base64); \
- printf "apiVersion: v1\nkind: Secret\nmetadata:\n name: $(REDIS_NAME)\n namespace: $(OPEN_MATCH_KUBERNETES_NAMESPACE)\ndata:\n redis-password: $$REDIS_PASSWORD\n" | \
- $(KUBECTL) replace -f - --force
+ $(KUBECTL) create secret generic $(REDIS_NAME) -n $(OPEN_MATCH_EXAMPLE_KUBERNETES_NAMESPACE) --from-literal=redis-password=$$REDIS_PASSWORD --dry-run -o yaml | $(KUBECTL) replace -f - --force
install-toolchain: install-kubernetes-tools install-web-tools install-protoc-tools install-openmatch-tools
install-kubernetes-tools: build/toolchain/bin/kubectl$(EXE_EXTENSION) build/toolchain/bin/helm$(EXE_EXTENSION) build/toolchain/bin/minikube$(EXE_EXTENSION) build/toolchain/bin/skaffold$(EXE_EXTENSION)
