Skip to content

Commit

Permalink
Remove ConfigMap creation from Certificates components (#11525)
Browse files Browse the repository at this point in the history
  • Loading branch information
Michał Jakóbczyk authored Jun 28, 2021
1 parent 3055a94 commit 72cb41e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 18 deletions.
9 changes: 0 additions & 9 deletions resources/certificates/files/gardener.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
9 changes: 0 additions & 9 deletions resources/certificates/files/legacy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 72cb41e

Please sign in to comment.