Skip to content

Commit

Permalink
Enable cleanup by default
Browse files Browse the repository at this point in the history
  • Loading branch information
leosarra committed May 16, 2024
1 parent e1a4e98 commit 167a40e
Show file tree
Hide file tree
Showing 108 changed files with 88 additions and 221 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,6 @@ spec:
{{ if or .Values.pilot.cni.enabled .Values.istio_cni.enabled -}}
- "--run-validation"
- "--skip-rule-apply"
{{ else }}
- "--preemptive-cleanup"
{{ end -}}
{{with .Values.global.imagePullPolicy }}imagePullPolicy: "{{.}}"{{end}}
{{- if .ProxyConfig.ProxyMetadata }}
Expand Down
2 changes: 0 additions & 2 deletions manifests/charts/istiod-remote/files/injection-template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,6 @@ spec:
{{ if or .Values.pilot.cni.enabled .Values.istio_cni.enabled -}}
- "--run-validation"
- "--skip-rule-apply"
{{ else }}
- "--preemptive-cleanup"
{{ end -}}
{{with .Values.global.imagePullPolicy }}imagePullPolicy: "{{.}}"{{end}}
{{- if .ProxyConfig.ProxyMetadata }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,6 @@ spec:
- -d
- 15090,15021,15020
- --log_output_level=default:info
- --preemptive-cleanup
image: gcr.io/istio-testing/proxyv2:latest
name: istio-init
resources:
Expand Down
1 change: 0 additions & 1 deletion pkg/kube/inject/testdata/inject/auth.yaml.injected
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,6 @@ spec:
- -d
- 15090,15021,15020
- --log_output_level=default:info
- --preemptive-cleanup
image: gcr.io/istio-testing/proxyv2:latest
name: istio-init
resources:
Expand Down
1 change: 0 additions & 1 deletion pkg/kube/inject/testdata/inject/cronjob.yaml.injected
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,6 @@ spec:
- -d
- 15090,15021,15020
- --log_output_level=default:info
- --preemptive-cleanup
image: gcr.io/istio-testing/proxyv2:latest
name: istio-init
resources:
Expand Down
1 change: 0 additions & 1 deletion pkg/kube/inject/testdata/inject/daemonset.yaml.injected
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,6 @@ spec:
- -d
- 15090,15021,15020
- --log_output_level=default:info
- --preemptive-cleanup
image: gcr.io/istio-testing/proxyv2:latest
name: istio-init
resources:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,6 @@ items:
- -d
- 15090,15021,15020
- --log_output_level=default:info
- --preemptive-cleanup
image: gcr.io/istio-testing/proxyv2:latest
name: istio-init
resources:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,6 @@ spec:
- -d
- 15090,15021,15020
- --log_output_level=default:info
- --preemptive-cleanup
image: gcr.io/istio-testing/proxyv2:latest
name: istio-init
resources:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,6 @@ spec:
- -d
- 15090,15021,15020
- --log_output_level=default:info
- --preemptive-cleanup
image: gcr.io/istio-testing/proxyv2:latest
name: istio-init
resources:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,6 @@ spec:
- -d
- 15090,15021,15020
- --log_output_level=default:info
- --preemptive-cleanup
image: gcr.io/istio-testing/proxyv2:latest
name: istio-init
resources:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,6 @@ spec:
- -d
- 15090,15021,15020
- --log_output_level=default:info
- --preemptive-cleanup
image: gcr.io/istio-testing/proxyv2:latest
name: istio-init
resources:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,6 @@ spec:
- -d
- 15090,15021,15020
- --log_output_level=default:info
- --preemptive-cleanup
image: gcr.io/istio-testing/proxyv2:latest
name: istio-init
resources:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,6 @@ spec:
- -d
- 15090,15021,15020
- --log_output_level=default:info
- --preemptive-cleanup
image: gcr.io/istio-testing/proxyv2:latest
name: istio-init
resources:
Expand Down
1 change: 0 additions & 1 deletion pkg/kube/inject/testdata/inject/frontend.yaml.injected
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,6 @@ spec:
- -d
- 15090,15021,15020
- --log_output_level=default:info
- --preemptive-cleanup
image: gcr.io/istio-testing/proxyv2:latest
name: istio-init
resources:
Expand Down
1 change: 0 additions & 1 deletion pkg/kube/inject/testdata/inject/hello-always.yaml.injected
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,6 @@ spec:
- -d
- 15090,15021,15020
- --log_output_level=default:info
- --preemptive-cleanup
image: gcr.io/istio-testing/proxyv2:latest
imagePullPolicy: Always
name: istio-init
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,6 @@ spec:
- -d
- 15090,15021,15020
- --log_output_level=default:info
- --preemptive-cleanup
image: gcr.io/istio-testing/proxyv2:latest
name: istio-init
resources:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,6 @@ spec:
- -d
- 15090,15021,15020
- --log_output_level=default:info
- --preemptive-cleanup
image: gcr.io/istio-testing/proxyv2:latest
name: istio-init
resources:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,6 @@ spec:
- -d
- 15090,15021,15020
- --log_output_level=default:info
- --preemptive-cleanup
image: gcr.io/istio-testing/proxyv2:latest
name: istio-init
resources:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,6 @@ spec:
- -d
- 15090,15021,15020
- --log_output_level=default:info
- --preemptive-cleanup
image: gcr.io/istio-testing/proxyv2:latest
name: istio-init
resources:
Expand Down
2 changes: 0 additions & 2 deletions pkg/kube/inject/testdata/inject/hello-multi.yaml.injected
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,6 @@ spec:
- -d
- 15090,15021,15020
- --log_output_level=default:info
- --preemptive-cleanup
image: gcr.io/istio-testing/proxyv2:latest
name: istio-init
resources:
Expand Down Expand Up @@ -429,7 +428,6 @@ spec:
- -d
- 15090,15021,15020
- --log_output_level=default:info
- --preemptive-cleanup
image: gcr.io/istio-testing/proxyv2:latest
name: istio-init
resources:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,6 @@ spec:
- -d
- 15090,15021,15020
- --log_output_level=default:info
- --preemptive-cleanup
image: gcr.io/istio-testing/proxyv2:latest
name: istio-init
resources:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,6 @@ spec:
- -d
- 15090,15021,15020
- --log_output_level=default:info
- --preemptive-cleanup
image: gcr.io/istio-testing/proxyv2:latest
name: istio-init
resources:
Expand Down
1 change: 0 additions & 1 deletion pkg/kube/inject/testdata/inject/hello-never.yaml.injected
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,6 @@ spec:
- -d
- 15090,15021,15020
- --log_output_level=default:info
- --preemptive-cleanup
image: gcr.io/istio-testing/proxyv2:latest
imagePullPolicy: Never
name: istio-init
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,6 @@ spec:
- -d
- 15090,15021,15020
- --log_output_level=default:info
- --preemptive-cleanup
image: gcr.io/istio-testing/proxyv2:latest
name: istio-init
resources:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,6 @@ spec:
- -d
- 15090,15021,15020
- --log_output_level=default:info
- --preemptive-cleanup
image: gcr.io/istio-testing/proxyv2:latest
name: istio-init
resources:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,6 @@ spec:
- -d
- 15090,15021,15020
- --log_output_level=default:info
- --preemptive-cleanup
image: gcr.io/istio-testing/proxyv2:latest
name: istio-init
resources:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,6 @@ spec:
- -d
- 15090,15021,15020
- --log_output_level=default:info
- --preemptive-cleanup
image: gcr.io/istio-testing/proxyv2:latest
name: istio-init
resources:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,6 @@ spec:
- -d
- 15090,15021,15020
- --log_output_level=default:info
- --preemptive-cleanup
image: gcr.io/istio-testing/proxyv2:latest
name: istio-init
resources:
Expand Down
1 change: 0 additions & 1 deletion pkg/kube/inject/testdata/inject/hello-probes.yaml.injected
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,6 @@ spec:
- -d
- 15090,15021,15020
- --log_output_level=default:info
- --preemptive-cleanup
image: gcr.io/istio-testing/proxyv2:latest
name: istio-init
resources:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,6 @@ spec:
- -d
- 15090,15021,15020
- --log_output_level=default:info
- --preemptive-cleanup
image: docker.io/istio/proxy2_debug:unittest
name: istio-init
resources:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,6 @@ spec:
- -d
- 15090,15021,15020
- --log_output_level=default:info
- --preemptive-cleanup
image: gcr.io/istio-testing/proxyv2:latest
name: istio-init
resources:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,6 @@ spec:
- -d
- 15090,15021,15020
- --log_output_level=default:info
- --preemptive-cleanup
image: gcr.io/istio-testing/proxyv2:latest
name: istio-init
resources:
Expand Down
1 change: 0 additions & 1 deletion pkg/kube/inject/testdata/inject/hello-tproxy.yaml.injected
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,6 @@ spec:
- -d
- 15090,15021,15020
- --log_output_level=default:info
- --preemptive-cleanup
image: gcr.io/istio-testing/proxyv2:latest
name: istio-init
resources:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,6 @@ spec:
- -d
- 15090,15021,15020
- --log_output_level=default:info
- --preemptive-cleanup
image: gcr.io/istio-testing/proxyv2:latest
name: istio-init
resources:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,6 @@ spec:
- -d
- 15090,15021,15020
- --log_output_level=default:info
- --preemptive-cleanup
image: gcr.io/istio-testing/proxyv2:latest
name: istio-init
resources:
Expand Down
1 change: 0 additions & 1 deletion pkg/kube/inject/testdata/inject/hello.yaml.injected
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,6 @@ spec:
- -d
- 15090,15021,15020
- --log_output_level=default:info
- --preemptive-cleanup
image: gcr.io/istio-testing/proxyv2:latest
name: istio-init
resources:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,6 @@ spec:
- -d
- 15090,15021,15020
- --log_output_level=default:info
- --preemptive-cleanup
image: gcr.io/istio-testing/proxyTest:latest
name: istio-init
resources:
Expand Down
1 change: 0 additions & 1 deletion pkg/kube/inject/testdata/inject/https-probes.yaml.injected
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,6 @@ spec:
- -d
- 15090,15021,15020
- --log_output_level=default:info
- --preemptive-cleanup
image: gcr.io/istio-testing/proxyv2:latest
name: istio-init
resources:
Expand Down
1 change: 0 additions & 1 deletion pkg/kube/inject/testdata/inject/job.yaml.injected
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,6 @@ spec:
- -d
- 15090,15021,15020
- --log_output_level=default:info
- --preemptive-cleanup
image: gcr.io/istio-testing/proxyv2:latest
name: istio-init
resources:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,6 @@ spec:
- -k
- net1
- --log_output_level=default:info
- --preemptive-cleanup
image: gcr.io/istio-testing/proxyv2:latest
name: istio-init
resources:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,6 @@ spec:
- -k
- net1,net2
- --log_output_level=default:info
- --preemptive-cleanup
image: gcr.io/istio-testing/proxyv2:latest
name: istio-init
resources:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,6 @@ items:
- -d
- 15090,15021,15020
- --log_output_level=default:info
- --preemptive-cleanup
image: gcr.io/istio-testing/proxyv2:latest
name: istio-init
resources:
Expand Down
2 changes: 0 additions & 2 deletions pkg/kube/inject/testdata/inject/list.yaml.injected
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,6 @@ items:
- -d
- 15090,15021,15020
- --log_output_level=default:info
- --preemptive-cleanup
image: gcr.io/istio-testing/proxyv2:latest
name: istio-init
resources:
Expand Down Expand Up @@ -430,7 +429,6 @@ items:
- -d
- 15090,15021,15020
- --log_output_level=default:info
- --preemptive-cleanup
image: gcr.io/istio-testing/proxyv2:latest
name: istio-init
resources:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,6 @@ spec:
- -d
- 15090,15021,15020
- --log_output_level=default:info
- --preemptive-cleanup
image: gcr.io/istio-testing/proxyv2:latest
name: istio-init
resources:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,6 @@ spec:
- -d
- 15090,15021,15020
- --log_output_level=default:info
- --preemptive-cleanup
image: gcr.io/istio-testing/proxyv2:latest
name: istio-init
resources:
Expand Down
1 change: 0 additions & 1 deletion pkg/kube/inject/testdata/inject/multi-init.yaml.injected
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,6 @@ spec:
- -d
- 15090,15021,15020
- --log_output_level=default:info
- --preemptive-cleanup
image: gcr.io/istio-testing/proxyv2:latest
name: istio-init
resources:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,6 @@ spec:
- -d
- 15090,15021,15020
- --log_output_level=default:info
- --preemptive-cleanup
image: gcr.io/istio-testing/proxyv2:latest
name: istio-init
resources:
Expand Down
Loading

0 comments on commit 167a40e

Please sign in to comment.