Istio version bump, ingress terminationgraceperiod patch, aws-ebs version bump
This commit is contained in:
parent
79dc6e9413
commit
521bb2a5c1
@ -2,7 +2,7 @@ apiVersion: v2
|
|||||||
name: kubezero-aws-ebs-csi-driver
|
name: kubezero-aws-ebs-csi-driver
|
||||||
description: KubeZero Umbrella Chart for aws-ebs-csi-driver
|
description: KubeZero Umbrella Chart for aws-ebs-csi-driver
|
||||||
type: application
|
type: application
|
||||||
version: 0.3.3
|
version: 0.3.4
|
||||||
appVersion: 0.8.0
|
appVersion: 0.8.0
|
||||||
home: https://kubezero.com
|
home: https://kubezero.com
|
||||||
icon: https://cdn.zero-downtime.net/assets/kubezero/logo-small-64.png
|
icon: https://cdn.zero-downtime.net/assets/kubezero/logo-small-64.png
|
||||||
@ -18,7 +18,7 @@ maintainers:
|
|||||||
- name: Quarky9
|
- name: Quarky9
|
||||||
dependencies:
|
dependencies:
|
||||||
- name: aws-ebs-csi-driver
|
- name: aws-ebs-csi-driver
|
||||||
version: 0.7.0
|
version: 0.7.1
|
||||||
repository: https://kubernetes-sigs.github.io/aws-ebs-csi-driver
|
repository: https://kubernetes-sigs.github.io/aws-ebs-csi-driver
|
||||||
- name: kubezero-lib
|
- name: kubezero-lib
|
||||||
version: ">= 0.1.3"
|
version: ">= 0.1.3"
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
# kubezero-aws-ebs-csi-driver
|
# kubezero-aws-ebs-csi-driver
|
||||||
|
|
||||||
![Version: 0.3.3](https://img.shields.io/badge/Version-0.3.3-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.8.0](https://img.shields.io/badge/AppVersion-0.8.0-informational?style=flat-square)
|
![Version: 0.3.4](https://img.shields.io/badge/Version-0.3.4-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.8.0](https://img.shields.io/badge/AppVersion-0.8.0-informational?style=flat-square)
|
||||||
|
|
||||||
KubeZero Umbrella Chart for aws-ebs-csi-driver
|
KubeZero Umbrella Chart for aws-ebs-csi-driver
|
||||||
|
|
||||||
@ -23,7 +23,7 @@ Kubernetes: `>= 1.16.0`
|
|||||||
|
|
||||||
| Repository | Name | Version |
|
| Repository | Name | Version |
|
||||||
|------------|------|---------|
|
|------------|------|---------|
|
||||||
| https://kubernetes-sigs.github.io/aws-ebs-csi-driver | aws-ebs-csi-driver | 0.7.0 |
|
| https://kubernetes-sigs.github.io/aws-ebs-csi-driver | aws-ebs-csi-driver | 0.7.1 |
|
||||||
| https://zero-down-time.github.io/kubezero/ | kubezero-lib | >= 0.1.3 |
|
| https://zero-down-time.github.io/kubezero/ | kubezero-lib | >= 0.1.3 |
|
||||||
|
|
||||||
## IAM Role
|
## IAM Role
|
||||||
|
@ -2,8 +2,8 @@ apiVersion: v2
|
|||||||
name: kubezero-istio-ingress
|
name: kubezero-istio-ingress
|
||||||
description: KubeZero Umbrella Chart for Istio based Ingress
|
description: KubeZero Umbrella Chart for Istio based Ingress
|
||||||
type: application
|
type: application
|
||||||
version: 0.1.0
|
version: 0.1.1
|
||||||
appVersion: 1.8.0
|
appVersion: 1.8.1
|
||||||
home: https://kubezero.com
|
home: https://kubezero.com
|
||||||
icon: https://cdn.zero-downtime.net/assets/kubezero/logo-small-64.png
|
icon: https://cdn.zero-downtime.net/assets/kubezero/logo-small-64.png
|
||||||
keywords:
|
keywords:
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
# kubezero-istio-ingress
|
# kubezero-istio-ingress
|
||||||
|
|
||||||
![Version: 0.1.0](https://img.shields.io/badge/Version-0.1.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.8.0](https://img.shields.io/badge/AppVersion-1.8.0-informational?style=flat-square)
|
![Version: 0.1.1](https://img.shields.io/badge/Version-0.1.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.8.1](https://img.shields.io/badge/AppVersion-1.8.1-informational?style=flat-square)
|
||||||
|
|
||||||
KubeZero Umbrella Chart for Istio based Ingress
|
KubeZero Umbrella Chart for Istio based Ingress
|
||||||
|
|
||||||
@ -34,7 +34,7 @@ Kubernetes: `>= 1.16.0`
|
|||||||
| global.jwtPolicy | string | `"first-party-jwt"` | |
|
| global.jwtPolicy | string | `"first-party-jwt"` | |
|
||||||
| global.logAsJson | bool | `true` | |
|
| global.logAsJson | bool | `true` | |
|
||||||
| global.priorityClassName | string | `"system-cluster-critical"` | |
|
| global.priorityClassName | string | `"system-cluster-critical"` | |
|
||||||
| global.tag | string | `"1.8.0"` | |
|
| global.tag | string | `"1.8.1"` | |
|
||||||
| istio-ingress.dnsNames | list | `[]` | |
|
| istio-ingress.dnsNames | list | `[]` | |
|
||||||
| istio-ingress.enabled | bool | `false` | |
|
| istio-ingress.enabled | bool | `false` | |
|
||||||
| istio-ingress.gateways.istio-ingressgateway.autoscaleEnabled | bool | `false` | |
|
| istio-ingress.gateways.istio-ingressgateway.autoscaleEnabled | bool | `false` | |
|
||||||
|
@ -63,6 +63,7 @@ spec:
|
|||||||
{{- if .Values.global.priorityClassName }}
|
{{- if .Values.global.priorityClassName }}
|
||||||
priorityClassName: "{{ .Values.global.priorityClassName }}"
|
priorityClassName: "{{ .Values.global.priorityClassName }}"
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
terminationGracePeriodSeconds: 90
|
||||||
{{- if .Values.global.proxy.enableCoreDump }}
|
{{- if .Values.global.proxy.enableCoreDump }}
|
||||||
initContainers:
|
initContainers:
|
||||||
- name: enable-core-dump
|
- name: enable-core-dump
|
||||||
|
@ -63,6 +63,7 @@ spec:
|
|||||||
{{- if .Values.global.priorityClassName }}
|
{{- if .Values.global.priorityClassName }}
|
||||||
priorityClassName: "{{ .Values.global.priorityClassName }}"
|
priorityClassName: "{{ .Values.global.priorityClassName }}"
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
terminationGracePeriodSeconds: 90
|
||||||
{{- if .Values.global.proxy.enableCoreDump }}
|
{{- if .Values.global.proxy.enableCoreDump }}
|
||||||
initContainers:
|
initContainers:
|
||||||
- name: enable-core-dump
|
- name: enable-core-dump
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
# Make sure these values match kuberzero-istio !!!
|
# Make sure these values match kuberzero-istio !!!
|
||||||
global:
|
global:
|
||||||
hub: docker.io/istio
|
hub: docker.io/istio
|
||||||
tag: 1.8.0
|
tag: 1.8.1
|
||||||
|
|
||||||
logAsJson: true
|
logAsJson: true
|
||||||
jwtPolicy: first-party-jwt
|
jwtPolicy: first-party-jwt
|
||||||
@ -53,7 +53,7 @@ istio-ingress:
|
|||||||
port: 443
|
port: 443
|
||||||
targetPort: 8443
|
targetPort: 8443
|
||||||
nodePort: 30443
|
nodePort: 30443
|
||||||
|
|
||||||
dnsNames: []
|
dnsNames: []
|
||||||
# - '*.example.com'
|
# - '*.example.com'
|
||||||
|
|
||||||
|
@ -2,8 +2,8 @@ apiVersion: v2
|
|||||||
name: kubezero-istio
|
name: kubezero-istio
|
||||||
description: KubeZero Umbrella Chart for Istio
|
description: KubeZero Umbrella Chart for Istio
|
||||||
type: application
|
type: application
|
||||||
version: 0.4.0
|
version: 0.4.1
|
||||||
appVersion: 1.7.4
|
appVersion: 1.8.1
|
||||||
home: https://kubezero.com
|
home: https://kubezero.com
|
||||||
icon: https://cdn.zero-downtime.net/assets/kubezero/logo-small-64.png
|
icon: https://cdn.zero-downtime.net/assets/kubezero/logo-small-64.png
|
||||||
keywords:
|
keywords:
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
# kubezero-istio
|
# kubezero-istio
|
||||||
|
|
||||||
![Version: 0.4.0](https://img.shields.io/badge/Version-0.4.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.7.4](https://img.shields.io/badge/AppVersion-1.7.4-informational?style=flat-square)
|
![Version: 0.4.1](https://img.shields.io/badge/Version-0.4.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.8.1](https://img.shields.io/badge/AppVersion-1.8.1-informational?style=flat-square)
|
||||||
|
|
||||||
KubeZero Umbrella Chart for Istio
|
KubeZero Umbrella Chart for Istio
|
||||||
|
|
||||||
|
@ -3735,9 +3735,7 @@ webhooks:
|
|||||||
- CREATE
|
- CREATE
|
||||||
- UPDATE
|
- UPDATE
|
||||||
apiGroups:
|
apiGroups:
|
||||||
- config.istio.io
|
|
||||||
- security.istio.io
|
- security.istio.io
|
||||||
- authentication.istio.io
|
|
||||||
- networking.istio.io
|
- networking.istio.io
|
||||||
apiVersions:
|
apiVersions:
|
||||||
- "*"
|
- "*"
|
||||||
|
@ -24,9 +24,7 @@ webhooks:
|
|||||||
- CREATE
|
- CREATE
|
||||||
- UPDATE
|
- UPDATE
|
||||||
apiGroups:
|
apiGroups:
|
||||||
- config.istio.io
|
|
||||||
- security.istio.io
|
- security.istio.io
|
||||||
- authentication.istio.io
|
|
||||||
- networking.istio.io
|
- networking.istio.io
|
||||||
apiVersions:
|
apiVersions:
|
||||||
- "*"
|
- "*"
|
||||||
|
12
charts/kubezero-istio/ingress-terminationgraceperiod.patch
Normal file
12
charts/kubezero-istio/ingress-terminationgraceperiod.patch
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
diff --git a/charts/kubezero-istio-ingress/charts/istio-ingress/templates/deployment.yaml b/charts/kubezero-istio-ingress/charts/istio-ingress/templates/deployment.yaml
|
||||||
|
index b69da65..b5137a4 100644
|
||||||
|
--- a/charts/kubezero-istio-ingress/charts/istio-ingress/templates/deployment.yaml
|
||||||
|
+++ b/charts/kubezero-istio-ingress/charts/istio-ingress/templates/deployment.yaml
|
||||||
|
@@ -63,6 +63,7 @@ spec:
|
||||||
|
{{- if .Values.global.priorityClassName }}
|
||||||
|
priorityClassName: "{{ .Values.global.priorityClassName }}"
|
||||||
|
{{- end }}
|
||||||
|
+ terminationGracePeriodSeconds: 90
|
||||||
|
{{- if .Values.global.proxy.enableCoreDump }}
|
||||||
|
initContainers:
|
||||||
|
- name: enable-core-dump
|
@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
set -ex
|
set -ex
|
||||||
|
|
||||||
export ISTIO_VERSION=1.8.0
|
export ISTIO_VERSION=1.8.1
|
||||||
|
|
||||||
if [ ! -d istio-$ISTIO_VERSION ]; then
|
if [ ! -d istio-$ISTIO_VERSION ]; then
|
||||||
NAME="istio-$ISTIO_VERSION"
|
NAME="istio-$ISTIO_VERSION"
|
||||||
@ -10,7 +10,7 @@ if [ ! -d istio-$ISTIO_VERSION ]; then
|
|||||||
curl -sL "$URL" | tar xz
|
curl -sL "$URL" | tar xz
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Extract control plane charts
|
# Extract control plane charts
|
||||||
rm -rf charts/base charts/istio-*
|
rm -rf charts/base charts/istio-*
|
||||||
cp -r istio-${ISTIO_VERSION}/manifests/charts/base charts/
|
cp -r istio-${ISTIO_VERSION}/manifests/charts/base charts/
|
||||||
cp -r istio-${ISTIO_VERSION}/manifests/charts/istio-control/istio-discovery charts/
|
cp -r istio-${ISTIO_VERSION}/manifests/charts/istio-control/istio-discovery charts/
|
||||||
@ -18,7 +18,7 @@ cp -r istio-${ISTIO_VERSION}/manifests/charts/istio-control/istio-discovery char
|
|||||||
# Patch for istiod to control plane
|
# Patch for istiod to control plane
|
||||||
patch -p3 -i istio-discovery.patch
|
patch -p3 -i istio-discovery.patch
|
||||||
|
|
||||||
# Minor tweaks
|
# remove unused old telemetry filters
|
||||||
rm -f charts/istio-discovery/templates/telemetryv2_1.[67].yaml
|
rm -f charts/istio-discovery/templates/telemetryv2_1.[67].yaml
|
||||||
|
|
||||||
# Ingress charts
|
# Ingress charts
|
||||||
@ -29,5 +29,9 @@ cp -r istio-${ISTIO_VERSION}/manifests/charts/gateways/istio-ingress ../kubezero
|
|||||||
# Rename private chart
|
# Rename private chart
|
||||||
sed -i -e 's/name: istio-ingress/name: istio-private-ingress/' ../kubezero-istio-ingress/charts/istio-private-ingress/Chart.yaml
|
sed -i -e 's/name: istio-ingress/name: istio-private-ingress/' ../kubezero-istio-ingress/charts/istio-private-ingress/Chart.yaml
|
||||||
|
|
||||||
|
# Patch for ingress for extended termination grace period
|
||||||
|
patch -i ingress-terminationgraceperiod.patch ../kubezero-istio-ingress/charts/istio-ingress/templates/deployment.yaml
|
||||||
|
patch -i ingress-terminationgraceperiod.patch ../kubezero-istio-ingress/charts/istio-private-ingress/templates/deployment.yaml
|
||||||
|
|
||||||
# Get matching istioctl
|
# Get matching istioctl
|
||||||
[ -x istioctl ] && [ "$(./istioctl version --remote=false)" == $ISTIO_VERSION ] || { curl -sL https://github.com/istio/istio/releases/download/${ISTIO_VERSION}/istioctl-${ISTIO_VERSION}-linux-amd64.tar.gz | tar xz; chmod +x istioctl; }
|
[ -x istioctl ] && [ "$(./istioctl version --remote=false)" == $ISTIO_VERSION ] || { curl -sL https://github.com/istio/istio/releases/download/${ISTIO_VERSION}/istioctl-${ISTIO_VERSION}-linux-amd64.tar.gz | tar xz; chmod +x istioctl; }
|
||||||
|
@ -134,6 +134,7 @@ kube-prometheus-stack:
|
|||||||
alertmanager:
|
alertmanager:
|
||||||
enabled: false
|
enabled: false
|
||||||
alertmanagerSpec:
|
alertmanagerSpec:
|
||||||
|
# externalUrl:
|
||||||
logFormat: json
|
logFormat: json
|
||||||
|
|
||||||
# Metrics adapter
|
# Metrics adapter
|
||||||
|
Loading…
Reference in New Issue
Block a user