# Copyright 2018 The Knative Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

apiVersion: v1
kind: ConfigMap
metadata:
  name: config-istio
  namespace: knative-serving
data:
  # TODO(nghia): Extract the .svc.cluster.local suffix into its own config.
  # Default Knative Gateway after v0.3. It points to the Istio standard istio-ingressgateway,
  # instead of a custom one that we used pre-0.3.
  gateway.knative-ingress-gateway: "istio-ingressgateway.istio-system.svc.cluster.local"
  # This is the pre-0.3 shared Gateway.  We leave it here for backward compatibility.
  gateway.knative-shared-gateway: "knative-ingressgateway.istio-system.svc.cluster.local"
