File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,8 @@ CONTAINER_SOURCES := $(shell find var/container)
1515HELM_SOURCES := $(shell find var/helm)
1616HELM_TARGET := dist/mrmat-python-api-fastapi-$(VERSION ) .tgz
1717
18+ ISTIO := ambient
19+
1820all : python container helm
1921python : $(PYTHON_TARGET )
2022helm : $(HELM_TARGET )
@@ -40,11 +42,13 @@ container: $(PYTHON_TARGET) $(CONTAINER_SOURCES)
4042
4143helm-install : $(HELM_TARGET )
4244 kubectl create ns mpafastapi || true
43- kubectl label --overwrite ns mpafastapi istio-injection=true
45+ if test " $( ISTIO) " == " sidecar" ; then kubectl label --overwrite ns mpafastapi istio-injection=true; fi
46+ if test " $( ISTIO) " == " ambient" ; then kubectl label --overwrite ns mpafastapi istio.io/dataplane-mode=ambient; fi
4447 helm upgrade \
4548 mrmat-python-api-fastapi \
4649 ${HELM_TARGET} \
4750 --install \
51+ --wait \
4852 --force \
4953 --namespace mpafastapi
5054
You can’t perform that action at this time.
0 commit comments