fix(tls) Add post render script to add non-www hostname
The python script add katenary.io without "www" to generate the certificate and to be able to accept https://katenary.io to make the redirection.
This commit is contained in:
2
Makefile
2
Makefile
@@ -11,7 +11,7 @@ dist: $(wildcard src/* compose.yaml)
|
||||
podman run --rm -it -u $(id -u):$(id -g) -v $(PWD):/app -w /app node:alpine sh -c "yarn install && yarn parcel build --no-source-maps"
|
||||
|
||||
deploy: build
|
||||
helm -n $(NS) upgrade --install $(RELEASE) ./chart/ -f override.yaml --create-namespace
|
||||
helm -n $(NS) upgrade --install $(RELEASE) ./chart/ -f override.yaml --create-namespace --post-render=./post-render.py
|
||||
sleep 1
|
||||
kubectl -n $(NS) rollout restart deployment $(RELEASE)-server
|
||||
|
||||
|
||||
Reference in New Issue
Block a user