Skip to content

Commit

Permalink
[RELEASE 0.5] Use Istio 1.0.7. (#3668)
Browse files Browse the repository at this point in the history
* Use Istio 1.0.7.

* Update to offical release URL.

* Use Istio 1.0.7 in tests.

* Add `--now` to `kubectl delete` to avoid hanging tests.

* More `--now` in `kubectl delete`.
  • Loading branch information
tcnghia authored and knative-prow-robot committed Apr 5, 2019
1 parent ca4fffb commit de51b2c
Show file tree
Hide file tree
Showing 10 changed files with 34 additions and 34 deletions.
6 changes: 3 additions & 3 deletions hack/generate-yamls.sh
Expand Up @@ -42,9 +42,9 @@ readonly YAML_REPO_ROOT=${1:?"First argument must be the repo root dir"}
readonly YAML_LIST_FILE=${2:?"Second argument must be the output file"}

# Location of istio YAMLs
readonly ISTIO_CRD_YAML=${YAML_REPO_ROOT}/third_party/istio-1.0.6/istio-crds.yaml
readonly ISTIO_YAML=${YAML_REPO_ROOT}/third_party/istio-1.0.6/istio.yaml
readonly ISTIO_LEAN_YAML=${YAML_REPO_ROOT}/third_party/istio-1.0.6/istio-lean.yaml
readonly ISTIO_CRD_YAML=${YAML_REPO_ROOT}/third_party/istio-1.0.7/istio-crds.yaml
readonly ISTIO_YAML=${YAML_REPO_ROOT}/third_party/istio-1.0.7/istio.yaml
readonly ISTIO_LEAN_YAML=${YAML_REPO_ROOT}/third_party/istio-1.0.7/istio-lean.yaml

# Set output directory
if [[ -z "${YAML_OUTPUT_DIR:-}" ]]; then
Expand Down
10 changes: 5 additions & 5 deletions test/e2e-common.sh
Expand Up @@ -197,7 +197,7 @@ function knative_teardown() {
echo ">> Uninstalling Knative serving from custom YAMLs"
for yaml in ${INSTALL_CUSTOM_YAMLS}; do
echo "Uninstalling '${yaml}'"
kubectl delete --ignore-not-found=true -f "${yaml}" || return 1
kubectl delete --ignore-not-found=true --now -f "${yaml}" || return 1
done
else
echo ">> Uninstalling Knative serving"
Expand All @@ -206,10 +206,10 @@ function knative_teardown() {
echo "Knative Build YAML: ${INSTALL_BUILD_DIR}"
echo "Knative Build Pipeline YAML: ${INSTALL_PIPELINE_DIR}"
echo ">> Bringing down Serving"
ko delete --ignore-not-found=true -f "${INSTALL_RELEASE_YAML}" || return 1
ko delete --ignore-not-found=true --now -f "${INSTALL_RELEASE_YAML}" || return 1
if [[ -n "${INSTALL_MONITORING_YAML}" ]]; then
echo ">> Bringing down monitoring"
ko delete --ignore-not-found=true -f "${INSTALL_MONITORING_YAML}" || return 1
ko delete --ignore-not-found=true --now -f "${INSTALL_MONITORING_YAML}" || return 1
fi
echo ">> Bringing down Build"
ko delete --ignore-not-found=true -f "${INSTALL_BUILD_DIR}" || return 1
Expand All @@ -234,6 +234,6 @@ function test_teardown() {
echo ">> Removing test resources (test/config/)"
ko delete --ignore-not-found=true -f test/config/
echo ">> Removing test namespace"
kubectl delete all --all --ignore-not-found=true -n serving-tests
kubectl delete --ignore-not-found=true namespace serving-tests
kubectl delete all --all --ignore-not-found=true --now -n serving-tests
kubectl delete --ignore-not-found=true --now namespace serving-tests
}
File renamed without changes.
@@ -1,5 +1,5 @@
# Download and unpack Istio
ISTIO_VERSION=1.0.6
ISTIO_VERSION=1.0.7
DOWNLOAD_URL=https://github.com/istio/istio/releases/download/${ISTIO_VERSION}/istio-${ISTIO_VERSION}-linux.tar.gz

wget $DOWNLOAD_URL
Expand Down
File renamed without changes.
Expand Up @@ -2143,7 +2143,7 @@ spec:
serviceAccountName: istio-galley-service-account
containers:
- name: validator
image: "docker.io/istio/galley:1.0.6"
image: "docker.io/istio/galley:1.0.7"
imagePullPolicy: IfNotPresent
ports:
- containerPort: 443
Expand Down Expand Up @@ -2257,7 +2257,7 @@ spec:
serviceAccountName: istio-egressgateway-service-account
containers:
- name: istio-proxy
image: "docker.io/istio/proxyv2:1.0.6"
image: "docker.io/istio/proxyv2:1.0.7"
imagePullPolicy: IfNotPresent
ports:
- containerPort: 80
Expand Down Expand Up @@ -2396,7 +2396,7 @@ spec:
serviceAccountName: istio-ingressgateway-service-account
containers:
- name: istio-proxy
image: "docker.io/istio/proxyv2:1.0.6"
image: "docker.io/istio/proxyv2:1.0.7"
imagePullPolicy: IfNotPresent
ports:
- containerPort: 80
Expand Down Expand Up @@ -2584,7 +2584,7 @@ spec:
- s390x
containers:
- name: mixer
image: "docker.io/istio/mixer:1.0.6"
image: "docker.io/istio/mixer:1.0.7"
imagePullPolicy: IfNotPresent
ports:
- containerPort: 9093
Expand Down Expand Up @@ -2613,7 +2613,7 @@ spec:
initialDelaySeconds: 5
periodSeconds: 5
- name: istio-proxy
image: "docker.io/istio/proxyv2:1.0.6"
image: "docker.io/istio/proxyv2:1.0.7"
imagePullPolicy: IfNotPresent
ports:
- containerPort: 9091
Expand Down Expand Up @@ -2691,7 +2691,7 @@ spec:
emptyDir: {}
containers:
- name: mixer
image: "docker.io/istio/mixer:1.0.6"
image: "docker.io/istio/mixer:1.0.7"
imagePullPolicy: IfNotPresent
ports:
- containerPort: 9093
Expand Down Expand Up @@ -2719,7 +2719,7 @@ spec:
initialDelaySeconds: 5
periodSeconds: 5
- name: istio-proxy
image: "docker.io/istio/proxyv2:1.0.6"
image: "docker.io/istio/proxyv2:1.0.7"
imagePullPolicy: IfNotPresent
ports:
- containerPort: 9091
Expand Down Expand Up @@ -2797,7 +2797,7 @@ spec:
serviceAccountName: istio-pilot-service-account
containers:
- name: discovery
image: "docker.io/istio/pilot:1.0.6"
image: "docker.io/istio/pilot:1.0.7"
imagePullPolicy: IfNotPresent
args:
- "discovery"
Expand Down Expand Up @@ -2842,7 +2842,7 @@ spec:
mountPath: /etc/certs
readOnly: true
- name: istio-proxy
image: "docker.io/istio/proxyv2:1.0.6"
image: "docker.io/istio/proxyv2:1.0.7"
imagePullPolicy: IfNotPresent
ports:
- containerPort: 15003
Expand Down Expand Up @@ -2950,7 +2950,7 @@ spec:
serviceAccountName: istio-citadel-service-account
containers:
- name: citadel
image: "docker.io/istio/citadel:1.0.6"
image: "docker.io/istio/citadel:1.0.7"
imagePullPolicy: IfNotPresent
args:
- --append-dns-names=true
Expand Down Expand Up @@ -4009,7 +4009,7 @@ spec:
serviceAccountName: cluster-local-gateway-service-account
containers:
- name: istio-proxy
image: "docker.io/istio/proxyv2:1.0.6"
image: "docker.io/istio/proxyv2:1.0.7"
imagePullPolicy: IfNotPresent
ports:
- containerPort: 80
Expand Down
Expand Up @@ -328,7 +328,7 @@ data:
template: |-
initContainers:
- name: istio-init
image: "docker.io/istio/proxy_init:1.0.6"
image: "docker.io/istio/proxy_init:1.0.7"
args:
- "-p"
- [[ .MeshConfig.ProxyListenPort ]]
Expand All @@ -353,7 +353,7 @@ data:
restartPolicy: Always
containers:
- name: istio-proxy
image: [[ annotation .ObjectMeta `sidecar.istio.io/proxyImage` "docker.io/istio/proxyv2:1.0.6" ]]
image: [[ annotation .ObjectMeta `sidecar.istio.io/proxyImage` "docker.io/istio/proxyv2:1.0.7" ]]
# PATCH #2: Graceful shutdown of the istio-proxy. See https://github.com/istio/istio/issues/7136.
lifecycle:
preStop:
Expand Down Expand Up @@ -2386,7 +2386,7 @@ spec:
serviceAccountName: istio-galley-service-account
containers:
- name: validator
image: "docker.io/istio/galley:1.0.6"
image: "docker.io/istio/galley:1.0.7"
imagePullPolicy: IfNotPresent
ports:
- containerPort: 443
Expand Down Expand Up @@ -2500,7 +2500,7 @@ spec:
serviceAccountName: istio-egressgateway-service-account
containers:
- name: istio-proxy
image: "docker.io/istio/proxyv2:1.0.6"
image: "docker.io/istio/proxyv2:1.0.7"
imagePullPolicy: IfNotPresent
ports:
- containerPort: 80
Expand Down Expand Up @@ -2639,7 +2639,7 @@ spec:
serviceAccountName: istio-ingressgateway-service-account
containers:
- name: istio-proxy
image: "docker.io/istio/proxyv2:1.0.6"
image: "docker.io/istio/proxyv2:1.0.7"
imagePullPolicy: IfNotPresent
ports:
- containerPort: 80
Expand Down Expand Up @@ -2827,7 +2827,7 @@ spec:
- s390x
containers:
- name: mixer
image: "docker.io/istio/mixer:1.0.6"
image: "docker.io/istio/mixer:1.0.7"
imagePullPolicy: IfNotPresent
ports:
- containerPort: 9093
Expand Down Expand Up @@ -2856,7 +2856,7 @@ spec:
initialDelaySeconds: 5
periodSeconds: 5
- name: istio-proxy
image: "docker.io/istio/proxyv2:1.0.6"
image: "docker.io/istio/proxyv2:1.0.7"
imagePullPolicy: IfNotPresent
ports:
- containerPort: 9091
Expand Down Expand Up @@ -2934,7 +2934,7 @@ spec:
emptyDir: {}
containers:
- name: mixer
image: "docker.io/istio/mixer:1.0.6"
image: "docker.io/istio/mixer:1.0.7"
imagePullPolicy: IfNotPresent
ports:
- containerPort: 9093
Expand Down Expand Up @@ -2962,7 +2962,7 @@ spec:
initialDelaySeconds: 5
periodSeconds: 5
- name: istio-proxy
image: "docker.io/istio/proxyv2:1.0.6"
image: "docker.io/istio/proxyv2:1.0.7"
imagePullPolicy: IfNotPresent
ports:
- containerPort: 9091
Expand Down Expand Up @@ -3040,7 +3040,7 @@ spec:
serviceAccountName: istio-pilot-service-account
containers:
- name: discovery
image: "docker.io/istio/pilot:1.0.6"
image: "docker.io/istio/pilot:1.0.7"
imagePullPolicy: IfNotPresent
args:
- "discovery"
Expand Down Expand Up @@ -3085,7 +3085,7 @@ spec:
mountPath: /etc/certs
readOnly: true
- name: istio-proxy
image: "docker.io/istio/proxyv2:1.0.6"
image: "docker.io/istio/proxyv2:1.0.7"
imagePullPolicy: IfNotPresent
ports:
- containerPort: 15003
Expand Down Expand Up @@ -3193,7 +3193,7 @@ spec:
serviceAccountName: istio-citadel-service-account
containers:
- name: citadel
image: "docker.io/istio/citadel:1.0.6"
image: "docker.io/istio/citadel:1.0.7"
imagePullPolicy: IfNotPresent
args:
- --append-dns-names=true
Expand Down Expand Up @@ -3266,7 +3266,7 @@ spec:
serviceAccountName: istio-sidecar-injector-service-account
containers:
- name: sidecar-injector-webhook
image: "docker.io/istio/sidecar_injector:1.0.6"
image: "docker.io/istio/sidecar_injector:1.0.7"
imagePullPolicy: IfNotPresent
args:
- --caCertFile=/etc/istio/certs/root-cert.pem
Expand Down Expand Up @@ -4397,7 +4397,7 @@ spec:
serviceAccountName: cluster-local-gateway-service-account
containers:
- name: istio-proxy
image: "docker.io/istio/proxyv2:1.0.6"
image: "docker.io/istio/proxyv2:1.0.7"
imagePullPolicy: IfNotPresent
ports:
- containerPort: 80
Expand Down

0 comments on commit de51b2c

Please sign in to comment.