Skip to content

Commit

Permalink
feat(istio): Upgrade to 1.20.2 (#1475)
Browse files Browse the repository at this point in the history
* feat(istio): Upgrade to 1.20.2

* chore: copy upstream chart 1.20.2

* chore: copy upstream chart grafana dashboards 1.20.2

* chore: apply patch_1_values.sh

* chore: apply patch_2_templates.sh

* chore: apply patch_3_chartyaml.sh

* chore: apply patch_4_deployment.sh

* fix(istio): Remove bcmendoza from maintainers

* chore: copy upstream chart 1.20.2

* chore: apply patch_1_values.sh

* chore: apply patch_2_templates.sh

* chore: apply patch_3_chartyaml.sh

* chore: apply patch_4_deployment.sh
  • Loading branch information
gracedo authored Jan 18, 2024
1 parent 38f227b commit 14ef4f7
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 33 deletions.
5 changes: 2 additions & 3 deletions staging/istio/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v2
name: istio
version: 1.17.2
appVersion: 1.17.2
version: 1.20.2
appVersion: 1.20.2
description: Helm chart for deploying Istio operator
keywords:
- istio
Expand All @@ -12,7 +12,6 @@ engine: gotpl
icon: https://istio.io/latest/favicons/android-192x192.png
maintainers:
- name: goeldeepak
- name: bcmendoza
- name: gracedo
dependencies:
- name: grafana
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2831,9 +2831,9 @@
"multi": false,
"name": "service",
"options": [],
"query": "label_values(destination_service)",
"query": "query_result(sum(istio_requests_total{}) by (destination_service) or sum(istio_tcp_sent_bytes_total{}) by (destination_service))",
"refresh": 1,
"regex": "",
"regex": "/.*destination_service=\"([^\"]*).*/",
"skipUrlSync": false,
"sort": 0,
"tagValuesQuery": "",
Expand All @@ -2856,16 +2856,15 @@
"label": "Reporter",
"multi": true,
"name": "qrep",
"options": [],
"query": "label_values(reporter)",
"query": "source,destination",
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"sort": 1,
"tagValuesQuery": "",
"tags": [],
"tagsQuery": "",
"type": "query",
"type": "custom",
"useTags": false
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2560,16 +2560,15 @@
"label": "Reporter",
"multi": true,
"name": "qrep",
"options": [],
"query": "label_values(reporter)",
"query": "source,destination",
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"sort": 2,
"tagValuesQuery": "",
"tags": [],
"tagsQuery": "",
"type": "query",
"type": "custom",
"useTags": false
},
{
Expand Down
16 changes: 0 additions & 16 deletions staging/istio/charts/grafana/dashboards/pilot-dashboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -1002,29 +1002,13 @@
"legendFormat": "Inbound Listeners",
"refId": "B"
},
{
"expr": "pilot_conflict_outbound_listener_http_over_current_tcp{app=\"istiod\"}",
"format": "time_series",
"hide": false,
"intervalFactor": 1,
"legendFormat": "Outbound Listeners (http over current tcp)",
"refId": "A"
},
{
"expr": "pilot_conflict_outbound_listener_tcp_over_current_tcp{app=\"istiod\"}",
"format": "time_series",
"hide": false,
"intervalFactor": 1,
"legendFormat": "Outbound Listeners (tcp over current tcp)",
"refId": "C"
},
{
"expr": "pilot_conflict_outbound_listener_tcp_over_current_http{app=\"istiod\"}",
"format": "time_series",
"hide": false,
"intervalFactor": 1,
"legendFormat": "Outbound Listeners (tcp over current http)",
"refId": "D"
}
],
"thresholds": [],
Expand Down
3 changes: 1 addition & 2 deletions staging/istio/patch/patches/3_chartyaml.patch
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,12 @@ index cb1613b6dc..7f05e5acce 100644
description: Helm chart for deploying Istio operator
keywords:
- istio
@@ -13,3 +10,17 @@ sources:
@@ -13,3 +10,16 @@ sources:
- https://github.com/istio/istio/tree/master/operator
engine: gotpl
icon: https://istio.io/latest/favicons/android-192x192.png
+maintainers:
+ - name: goeldeepak
+ - name: bcmendoza
+ - name: gracedo
+dependencies:
+ - name: grafana
Expand Down
2 changes: 0 additions & 2 deletions staging/istio/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,6 @@ spec:
- ALL
privileged: false
readOnlyRootFilesystem: true
runAsGroup: 1337
runAsUser: 1337
runAsNonRoot: true
{{- if .Values.operator.seccompProfile }}
seccompProfile:
Expand Down
2 changes: 1 addition & 1 deletion staging/istio/upgrade_operator.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ [email protected]:istio/istio.git
ISTIO_PATH=manifests/charts/istio-operator
ISTIO_DASHBOARDS_PATH=manifests/addons/dashboards
FORK_DASHBOARDS_PATH=charts/grafana/dashboards
ISTIO_TAG=1.17.2
ISTIO_TAG=1.20.2
TMPDIR=$(mktemp -d)
STARTING_REV=$(git rev-parse HEAD)
export STARTING_REV
Expand Down
2 changes: 1 addition & 1 deletion staging/istio/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ prometheus:
istioOperator:
profile: default
hub: docker.io/istio
tag: 1.17.2
tag: 1.20.2
components:
cni:
enabled: true
Expand Down

0 comments on commit 14ef4f7

Please sign in to comment.