diff --git a/resources/certificates/files/gardener.sh b/resources/certificates/files/gardener.sh index bae7cc54be16..a7bf24814948 100644 --- a/resources/certificates/files/gardener.sh +++ b/resources/certificates/files/gardener.sh @@ -72,12 +72,3 @@ check_cert_status "kyma-tls-cert" $KYMA_SECRET_NAMESPACE $CERT_CHECK_TIMEOUT echo "Annotating istio-ingressgateway/istio-system service" kubectl -n istio-system annotate service istio-ingressgateway dns.gardener.cloud/class='garden' dns.gardener.cloud/dnsnames='*.'"${DOMAIN}"'' --overwrite - -# TODO: remove this when global.ingress.domainName is removed -kubectl create configmap net-global-overrides \ - --from-literal global.domainName="$DOMAIN" \ - --from-literal global.ingress.domainName="$DOMAIN" \ - -n kyma-installer -o yaml --dry-run | kubectl apply -f - - -kubectl label configmap net-global-overrides --overwrite installer=overrides -n kyma-installer -kubectl label configmap net-global-overrides --overwrite kyma-project.io/installation="" -n kyma-installer \ No newline at end of file diff --git a/resources/certificates/files/legacy.sh b/resources/certificates/files/legacy.sh index 1d64a61c66fd..92e77a3ef097 100644 --- a/resources/certificates/files/legacy.sh +++ b/resources/certificates/files/legacy.sh @@ -36,12 +36,3 @@ kubectl create secret generic -n $KYMA_SECRET_NAMESPACE $KYMA_SECRET_NAME \ --from-literal tls.crt="$(echo "$TLS_CRT" | base64 --decode)" \ --from-literal tls.key="$(echo "$TLS_KEY" | base64 --decode)" \ --dry-run -o yaml | kubectl apply -f - - -# TODO: remove this when global.ingress.domainName is removed -kubectl create configmap net-global-overrides \ - --from-literal global.domainName="$DOMAIN" \ - --from-literal global.ingress.domainName="$DOMAIN" \ - -n kyma-installer -o yaml --dry-run | kubectl apply -f - - -kubectl label configmap net-global-overrides --overwrite installer=overrides -n kyma-installer -kubectl label configmap net-global-overrides --overwrite kyma-project.io/installation="" -n kyma-installer \ No newline at end of file