@@ -773,6 +773,7 @@ copyright: ## Check copyright headers
773773 @java -cp hack/glassfish-copyright-maven-plugin-2.1.jar \
774774 org.glassfish.copyright.Copyright -C hack/copyright.txt \
775775 -X .adoc \
776+ -X artifacts/ \
776777 -X bin/ \
777778 -X build/ \
778779 -X clientset/ \
@@ -812,6 +813,7 @@ copyright: ## Check copyright headers
812813 -X mvnw \
813814 -X mvnw.cmd \
814815 -X .png \
816+ -X preflight.log \
815817 -X PROJECT \
816818 -X .sh \
817819 -X tanzu/package/package.yml \
@@ -1612,6 +1614,9 @@ $(BUILD_MANIFESTS_PKG): $(TOOLS_BIN)/kustomize $(TOOLS_BIN)/yq
16121614 cp config/namespace/namespace.yaml $(BUILD_OUTPUT ) /coherence-operator.yaml
16131615 $(KUSTOMIZE ) build $(BUILD_DEPLOY ) /default >> $(BUILD_OUTPUT ) /coherence-operator.yaml
16141616 $(SED ) -e ' s/name: coherence-operator-env-vars-.*/name: coherence-operator-env-vars/g' $(BUILD_OUTPUT ) /coherence-operator.yaml
1617+ $(KUSTOMIZE ) build $(BUILD_DEPLOY ) /overlays/restricted >> $(BUILD_OUTPUT ) /coherence-operator-restricted.yaml
1618+ $(SED ) -e ' s/name: coherence-operator-env-vars-.*/name: coherence-operator-env-vars/g' $(BUILD_OUTPUT ) //coherence-operator-restricted.yaml
1619+ $(SED ) -e ' s/ClusterRole/Role/g' $(BUILD_OUTPUT ) //coherence-operator-restricted.yaml
16151620 cd $(BUILD_MANIFESTS ) /crd && $(TOOLS_BIN ) /yq --no-doc -s ' .metadata.name + ".yaml"' temp.yaml
16161621 rm $(BUILD_MANIFESTS ) /crd/temp.yaml
16171622 mv $(BUILD_MANIFESTS ) /crd/coherence.coherence.oracle.com.yaml $(BUILD_MANIFESTS ) /crd/coherence.oracle.com_coherence.yaml
@@ -2404,15 +2409,23 @@ uninstall-metallb: ## Uninstall MetalLB
24042409# ----------------------------------------------------------------------------------------------------------------------
24052410.PHONY : install-istio
24062411install-istio : delete-istio-config get-istio # # Install the latest version of Istio into k8s (or override the version using the ISTIO_VERSION env var)
2412+ ifeq (true,$(ISTIO_USE_CONFIG ) )
24072413 $(ISTIO_HOME)/bin/istioctl install -f $(BUILD_OUTPUT)/istio-config.yaml -y
24082414 kubectl -n istio-system wait --for condition=available deployment.apps/istiod-$(ISTIO_REVISION)
2415+ else
2416+ $(ISTIO_HOME)/bin/istioctl install --set profile=demo -y
2417+ kubectl -n istio-system wait --for condition=available deployment.apps/istiod
2418+ endif
24092419 kubectl -n istio-system wait --for condition=available deployment.apps/istio-ingressgateway
24102420 kubectl -n istio-system wait --for condition=available deployment.apps/istio-egressgateway
24112421 kubectl apply -f $(SCRIPTS_DIR)/istio-strict.yaml
24122422 kubectl -n $(OPERATOR_NAMESPACE) apply -f $(SCRIPTS_DIR)/istio-operator.yaml
24132423 kubectl label namespace $(OPERATOR_NAMESPACE) istio-injection=enabled --overwrite=true
2424+ kubectl label namespace $(OPERATOR_NAMESPACE) istio.io/rev=$(ISTIO_REVISION) --overwrite=true
24142425 kubectl label namespace $(OPERATOR_NAMESPACE_CLIENT) istio-injection=enabled --overwrite=true
2426+ kubectl label namespace $(OPERATOR_NAMESPACE_CLIENT) istio.io/rev=$(ISTIO_REVISION) --overwrite=true
24152427 kubectl label namespace $(CLUSTER_NAMESPACE) istio-injection=enabled --overwrite=true
2428+ kubectl label namespace $(CLUSTER_NAMESPACE) istio.io/rev=$(ISTIO_REVISION) --overwrite=true
24162429 kubectl apply -f $(ISTIO_HOME)/samples/addons
24172430
24182431# ----------------------------------------------------------------------------------------------------------------------
0 commit comments