Skip to content

Commit 8bd406e

Browse files
authored
Merge pull request #587 from banzaicloud/istio-1.9.0
Support Istio 1.9.0
2 parents f814d51 + 69c52da commit 8bd406e

File tree

83 files changed

+854
-588
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

83 files changed

+854
-588
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ GOLANGCI_VERSION = 1.31.0
1313
LICENSEI_VERSION = 0.1.0
1414
KUBEBUILDER_VERSION = 2.3.1
1515
KUSTOMIZE_VERSION = 2.0.3
16-
ISTIO_VERSION = 1.8.2
16+
ISTIO_VERSION = 1.9.0
1717

1818
KUSTOMIZE_BASE = config/overlays/specific-manager-version
1919

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ For a complete list of [Backyards](https://banzaicloud.com/products/backyards/)
7373

7474
## Istio operator installation
7575

76-
The operator (`release-1.8` branch) installs the 1.8.2 version of Istio, and can run on Minikube v1.1.1+ and Kubernetes 1.16.0+.
76+
The operator (`release-1.9` branch) installs the 1.9.0 version of Istio, and can run on Minikube v1.1.1+ and Kubernetes 1.17.0+.
7777

7878
As a pre-requisite it needs a Kubernetes cluster (you can create one using [Pipeline](https://github.com/banzaicloud/pipeline)).
7979

@@ -99,7 +99,7 @@ Alternatively, if you just can’t let go of Helm completely, you can deploy the
9999

100100
```bash
101101
helm repo add banzaicloud-stable https://kubernetes-charts.banzaicloud.com/
102-
helm install istio-operator-v17x --create-namespace --namespace=istio-system banzaicloud-stable/istio-operator
102+
helm install istio-operator-v19x --create-namespace --namespace=istio-system banzaicloud-stable/istio-operator
103103
```
104104

105105
### Installation with Kustomize
@@ -108,8 +108,8 @@ You can also have your own `kustomization.yaml` file with a reference to Istio o
108108

109109
```bash
110110
bases:
111-
- github.com/banzaicloud/istio-operator/config?ref=release-1.8
112-
- github.com/banzaicloud/istio-operator/config/overlays/auth-proxy-enabled?ref=release-1.8
111+
- github.com/banzaicloud/istio-operator/config?ref=release-1.9
112+
- github.com/banzaicloud/istio-operator/config/overlays/auth-proxy-enabled?ref=release-1.9
113113
```
114114

115115
## Istio upgrade

config/README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,38 +4,38 @@ Developers can have their own `kustomization.yaml` file with a reference to Isti
44

55
You can install the operator with multiple possible configurations with the use of overlays (choose one option):
66

7-
> Note that in all cases, first you'll need to install the necessary crds and namespace with the following base: `github.com/banzaicloud/istio-operator/config?ref=release-1.8`
7+
> Note that in all cases, first you'll need to install the necessary crds and namespace with the following base: `github.com/banzaicloud/istio-operator/config?ref=release-1.9`
88
99
- `basic`: installs the clusterrole, clusterrolebinding and statefulset for the operator
1010

1111
```bash
1212
bases:
13-
- github.com/banzaicloud/istio-operator/config?ref=release-1.8
14-
- github.com/banzaicloud/istio-operator/config/overlays/basic?ref=release-1.8
13+
- github.com/banzaicloud/istio-operator/config?ref=release-1.9
14+
- github.com/banzaicloud/istio-operator/config/overlays/basic?ref=release-1.9
1515
```
1616

1717
- `auth-proxy-enabled`: besides the basic configs, installs the auth proxy resources as well
1818

1919
```bash
2020
bases:
21-
- github.com/banzaicloud/istio-operator/config?ref=release-1.8
22-
- github.com/banzaicloud/istio-operator/config/overlays/auth-proxy-enabled?ref=release-1.8
21+
- github.com/banzaicloud/istio-operator/config?ref=release-1.9
22+
- github.com/banzaicloud/istio-operator/config/overlays/auth-proxy-enabled?ref=release-1.9
2323
```
2424

2525
- `prometheus-scpraping-enabled`: besides the basic configs, enables Prometheus scraping for the manager pod
2626

2727
```bash
2828
bases:
29-
- github.com/banzaicloud/istio-operator/config?ref=release-1.8
30-
- github.com/banzaicloud/istio-operator/config/overlays/prometheus-scpraping-enabled?ref=release-1.8
29+
- github.com/banzaicloud/istio-operator/config?ref=release-1.9
30+
- github.com/banzaicloud/istio-operator/config/overlays/prometheus-scpraping-enabled?ref=release-1.9
3131
```
3232

3333
- `psp`: besides the basic configs, add basic pod security policy for the operator and the Istio component pods
3434

3535
```bash
3636
bases:
37-
- github.com/banzaicloud/istio-operator/config?ref=release-1.8
38-
- github.com/banzaicloud/istio-operator/config/overlays/psp?ref=release-1.8
37+
- github.com/banzaicloud/istio-operator/config?ref=release-1.9
38+
- github.com/banzaicloud/istio-operator/config/overlays/psp?ref=release-1.9
3939
```
4040

4141
The default istio init container runs as root, which won't work in this psp enabled case, so make sure that you use Istio CNI, e.g. with the `samples/istio_v1beta1_istio_cni.yaml` Istio CR.

config/base/crds/istio.banzaicloud.io_istios.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2965,6 +2965,11 @@ spec:
29652965
type: boolean
29662966
exposeWebhookPort:
29672967
type: boolean
2968+
externalIstiod:
2969+
properties:
2970+
enabled:
2971+
type: boolean
2972+
type: object
29682973
multiClusterSupport:
29692974
type: boolean
29702975
multiControlPlaneSupport:

config/base/manager/manager.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ spec:
3939
containers:
4040
- command:
4141
- /manager
42-
image: banzaicloud/istio-operator:latest-1.8
42+
image: banzaicloud/istio-operator:latest-1.9
4343
imagePullPolicy: Always
4444
name: manager
4545
env:

config/base/rbac/role.yaml

Lines changed: 18 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ rules:
3232
verbs:
3333
- get
3434
- list
35+
- patch
36+
- update
3537
- watch
3638
- apiGroups:
3739
- ""
@@ -116,18 +118,6 @@ rules:
116118
- get
117119
- list
118120
- watch
119-
- apiGroups:
120-
- authentication.istio.io
121-
- cloud.istio.io
122-
- config.istio.io
123-
- istio.istio.io
124-
- networking.istio.io
125-
- scalingpolicy.istio.io
126-
- security.istio.io
127-
resources:
128-
- '*'
129-
verbs:
130-
- '*'
131121
- apiGroups:
132122
- authentication.k8s.io
133123
resources:
@@ -172,6 +162,15 @@ rules:
172162
- signers
173163
verbs:
174164
- approve
165+
- apiGroups:
166+
- coordination.k8s.io
167+
resources:
168+
- leases
169+
verbs:
170+
- create
171+
- get
172+
- list
173+
- update
175174
- apiGroups:
176175
- discovery.k8s.io
177176
resources:
@@ -286,6 +285,13 @@ rules:
286285
- get
287286
- patch
288287
- update
288+
- apiGroups:
289+
- networking.istio.io
290+
- security.istio.io
291+
resources:
292+
- '*'
293+
verbs:
294+
- '*'
289295
- apiGroups:
290296
- networking.k8s.io
291297
resources:

config/samples/istio_v1beta1_istio.yaml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,15 @@ kind: Istio
33
metadata:
44
labels:
55
controller-tools.k8s.io: "1.0"
6-
name: istio-sample-v18x
6+
name: istio-sample-v19x
77
spec:
8-
version: "1.8.2"
8+
version: "1.9.0"
99
global: false
1010
meshPolicy:
1111
mtlsMode: PERMISSIVE
1212
autoMtls: true
1313
includeIPRanges: "*"
1414
excludeIPRanges: ""
15-
autoInjectionNamespaces:
16-
- "default"
1715
controlPlaneAuthPolicy: "MUTUAL_TLS"
1816
mountMtlsCerts: false
1917
# priorityClassName: system-cluster-critical
@@ -26,9 +24,11 @@ spec:
2624
enabled: true
2725
enableAnalysis: true
2826
enableStatus: true
27+
externalIstiod:
28+
enabled: false
2929
pilot:
3030
enabled: true
31-
image: "docker.io/istio/pilot:1.8.2"
31+
image: "docker.io/istio/pilot:1.9.0"
3232
replicaCount: 1
3333
minReplicas: 1
3434
maxReplicas: 5
@@ -101,18 +101,18 @@ spec:
101101
enabled: false
102102
policy:
103103
enabled: false
104-
image: "docker.io/istio/mixer:1.8.2"
104+
image: "docker.io/istio/mixer:1.9.0"
105105
replicaCount: 1
106106
minReplicas: 1
107107
maxReplicas: 5
108108
telemetry:
109109
enabled: false
110-
image: "docker.io/istio/mixer:1.8.2"
110+
image: "docker.io/istio/mixer:1.9.0"
111111
replicaCount: 1
112112
minReplicas: 1
113113
maxReplicas: 5
114114
proxy:
115-
image: "docker.io/istio/proxyv2:1.8.2"
115+
image: "docker.io/istio/proxyv2:1.9.0"
116116
accessLogFile: "/dev/stdout"
117117
accessLogFormat: ""
118118
accessLogEncoding: "TEXT"
@@ -126,7 +126,7 @@ spec:
126126
cpu: 2000m
127127
memory: 1024Mi
128128
proxyInit:
129-
image: "docker.io/istio/proxyv2:1.8.2"
129+
image: "docker.io/istio/proxyv2:1.9.0"
130130
defaultPodDisruptionBudget:
131131
enabled: true
132132
outboundTrafficPolicy:

config/samples/istio_v1beta1_istio_cni.yaml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,12 @@ kind: Istio
33
metadata:
44
labels:
55
controller-tools.k8s.io: "1.0"
6-
name: istio-sample-v18x
6+
name: istio-sample-v19x
77
spec:
8-
version: "1.8.2"
8+
version: "1.9.0"
99
global: false
1010
meshPolicy:
1111
mtlsMode: PERMISSIVE
12-
autoInjectionNamespaces:
13-
- "default"
1412
gateways:
1513
ingress:
1614
runAsRoot: false
@@ -28,5 +26,5 @@ spec:
2826
brokenPodLabelKey: "cni.istio.io/uninitialized"
2927
brokenPodLabelValue: "true"
3028
proxy:
31-
image: "docker.io/istio/proxyv2:1.8.2"
29+
image: "docker.io/istio/proxyv2:1.9.0"
3230
jwtPolicy: "first-party-jwt"

config/samples/istio_v1beta1_istio_cni_gke.yaml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,12 @@ kind: Istio
33
metadata:
44
labels:
55
controller-tools.k8s.io: "1.0"
6-
name: istio-sample-v18x
6+
name: istio-sample-v19x
77
spec:
8-
version: "1.8.2"
8+
version: "1.9.0"
99
global: false
1010
meshPolicy:
1111
mtlsMode: PERMISSIVE
12-
autoInjectionNamespaces:
13-
- "default"
1412
gateways:
1513
ingress:
1614
runAsRoot: false
@@ -29,5 +27,5 @@ spec:
2927
brokenPodLabelKey: "cni.istio.io/uninitialized"
3028
brokenPodLabelValue: "true"
3129
proxy:
32-
image: "docker.io/istio/proxyv2:1.8.2"
30+
image: "docker.io/istio/proxyv2:1.9.0"
3331
jwtPolicy: "first-party-jwt"

config/samples/istio_v1beta1_istio_meshexpansion.yaml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,13 @@ kind: Istio
33
metadata:
44
labels:
55
controller-tools.k8s.io: "1.0"
6-
name: istio-sample-v18x
6+
name: istio-sample-v19x
77
spec:
8-
version: "1.8.2"
8+
version: "1.9.0"
99
global: false
10-
autoInjectionNamespaces:
11-
- "default"
12-
useMCP: false
1310
meshPolicy:
1411
mtlsMode: STRICT
1512
meshExpansion: true
1613
proxy:
17-
image: "docker.io/istio/proxyv2:1.8.2"
14+
image: "docker.io/istio/proxyv2:1.9.0"
1815
jwtPolicy: "first-party-jwt"

0 commit comments

Comments
 (0)