hack: comment out autogenerated warning (#182)

Fixes #181.
This commit is contained in:
Ahmet Alp Balkan 2019-03-07 23:29:18 -08:00 committed by GitHub
parent b44d855e5c
commit a0a9852afe
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 26 additions and 6 deletions

View file

@ -34,9 +34,9 @@ print_license_header() {
print_autogenerated_warning() { print_autogenerated_warning() {
cat<<EOF cat<<EOF
---------------------------------------------------------- # ----------------------------------------------------------
WARNING: This file is autogenerated. Do not manually edit. # WARNING: This file is autogenerated. Do not manually edit.
---------------------------------------------------------- # ----------------------------------------------------------
EOF EOF
} }
@ -76,6 +76,8 @@ mk_kubernetes_manifests() {
} }
mk_istio_manifests() { mk_istio_manifests() {
print_license_header
print_autogenerated_warning
read_manifests "${SCRIPTDIR}/../istio-manifests" read_manifests "${SCRIPTDIR}/../istio-manifests"
} }

View file

@ -1,3 +1,21 @@
# Copyright 2018 Google LLC
#
# 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
#
# http://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.
# ----------------------------------------------------------
# WARNING: This file is autogenerated. Do not manually edit.
# ----------------------------------------------------------
apiVersion: networking.istio.io/v1alpha3 apiVersion: networking.istio.io/v1alpha3
kind: Gateway kind: Gateway
metadata: metadata:

View file

@ -12,9 +12,9 @@
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
---------------------------------------------------------- # ----------------------------------------------------------
WARNING: This file is autogenerated. Do not manually edit. # WARNING: This file is autogenerated. Do not manually edit.
---------------------------------------------------------- # ----------------------------------------------------------
apiVersion: apps/v1 apiVersion: apps/v1
kind: Deployment kind: Deployment