mirror of
https://github.com/alibaba/higress.git
synced 2026-06-08 20:27:31 +08:00
release 0.7.0 (#243)
This commit is contained in:
@@ -101,6 +101,9 @@ external/package/envoy.tar.gz:
|
|||||||
build-gateway: prebuild external/package/envoy.tar.gz
|
build-gateway: prebuild external/package/envoy.tar.gz
|
||||||
cd external/istio; rm -rf out; GOOS_LOCAL=linux TARGET_OS=linux TARGET_ARCH=amd64 BUILD_WITH_CONTAINER=1 DOCKER_BUILD_VARIANTS=default DOCKER_TARGETS="docker.proxyv2" make docker
|
cd external/istio; rm -rf out; GOOS_LOCAL=linux TARGET_OS=linux TARGET_ARCH=amd64 BUILD_WITH_CONTAINER=1 DOCKER_BUILD_VARIANTS=default DOCKER_TARGETS="docker.proxyv2" make docker
|
||||||
|
|
||||||
|
build-istio: prebuild
|
||||||
|
cd external/istio; rm -rf out; GOOS_LOCAL=linux TARGET_OS=linux TARGET_ARCH=amd64 BUILD_WITH_CONTAINER=1 DOCKER_BUILD_VARIANTS=default DOCKER_TARGETS="docker.pilot" make docker
|
||||||
|
|
||||||
pre-install:
|
pre-install:
|
||||||
cp api/kubernetes/customresourcedefinitions.gen.yaml helm/core/crds
|
cp api/kubernetes/customresourcedefinitions.gen.yaml helm/core/crds
|
||||||
|
|
||||||
@@ -109,19 +112,21 @@ define create_ns
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
install: pre-install
|
install: pre-install
|
||||||
helm install higress helm/core -n higress-system --create-namespace --set-json='global.kind=true'
|
cd helm/higress; helm dependency build
|
||||||
|
helm install higress helm/higress -n higress-system --create-namespace --set 'global.kind=true'
|
||||||
|
|
||||||
ENVOY_LATEST_IMAGE_TAG ?= 0.6.0
|
ENVOY_LATEST_IMAGE_TAG ?= 0.7.0
|
||||||
ISTIO_LATEST_IMAGE_TAG ?= 0.6.0
|
ISTIO_LATEST_IMAGE_TAG ?= 0.7.0
|
||||||
|
|
||||||
install-dev: pre-install
|
install-dev: pre-install
|
||||||
helm install higress helm/core -n higress-system --create-namespace --set-json='controller.tag="$(TAG)"' --set-json='gateway.replicas=1' --set-json='gateway.tag="$(ENVOY_LATEST_IMAGE_TAG)"' --set-json='global.kind=true'
|
helm install higress helm/core -n higress-system --create-namespace --set 'controller.tag=$(TAG)' --set 'gateway.replicas=1' --set 'gateway.tag=$(ENVOY_LATEST_IMAGE_TAG)' --set 'global.kind=true'
|
||||||
|
|
||||||
uninstall:
|
uninstall:
|
||||||
helm uninstall higress -n higress-system
|
helm uninstall higress -n higress-system
|
||||||
|
|
||||||
upgrade: pre-install
|
upgrade: pre-install
|
||||||
helm upgrade higress helm/core -n higress-system --set-json='global.kind=true'
|
cd helm/higress; helm dependency build
|
||||||
|
helm upgrade higress helm/higress -n higress-system --set 'global.kind=true'
|
||||||
|
|
||||||
helm-push:
|
helm-push:
|
||||||
cp api/kubernetes/customresourcedefinitions.gen.yaml helm/core/crds
|
cp api/kubernetes/customresourcedefinitions.gen.yaml helm/core/crds
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
apiVersion: v2
|
apiVersion: v2
|
||||||
appVersion: 0.6.2
|
appVersion: 0.7.0
|
||||||
description: Helm chart for deploying higress gateways
|
description: Helm chart for deploying higress gateways
|
||||||
icon: https://higress.io/img/higress_logo_small.png
|
icon: https://higress.io/img/higress_logo_small.png
|
||||||
keywords:
|
keywords:
|
||||||
@@ -9,4 +9,4 @@ name: higress-core
|
|||||||
sources:
|
sources:
|
||||||
- http://github.com/alibaba/higress
|
- http://github.com/alibaba/higress
|
||||||
type: application
|
type: application
|
||||||
version: 0.6.2
|
version: 0.7.0
|
||||||
|
|||||||
@@ -15,7 +15,7 @@
|
|||||||
# When processing a leaf namespace Istio will search for declarations in that namespace first
|
# When processing a leaf namespace Istio will search for declarations in that namespace first
|
||||||
# and if none are found it will search in the root namespace. Any matching declaration found in the root namespace
|
# and if none are found it will search in the root namespace. Any matching declaration found in the root namespace
|
||||||
# is processed as if it were declared in the leaf namespace.
|
# is processed as if it were declared in the leaf namespace.
|
||||||
{{- if .Values.global.enableMesh }}
|
{{- if .Values.global.enableHigressIstio }}
|
||||||
rootNamespace: {{ .Values.meshConfig.rootNamespace | default .Values.global.istioNamespace }}
|
rootNamespace: {{ .Values.meshConfig.rootNamespace | default .Values.global.istioNamespace }}
|
||||||
{{- else }}
|
{{- else }}
|
||||||
rootNamespace: {{ .Release.Namespace }}
|
rootNamespace: {{ .Release.Namespace }}
|
||||||
@@ -23,6 +23,9 @@
|
|||||||
|
|
||||||
configSources:
|
configSources:
|
||||||
- address: "xds://127.0.0.1:15051"
|
- address: "xds://127.0.0.1:15051"
|
||||||
|
{{- if .Values.global.enableIstioAPI }}
|
||||||
|
- address: "k8s://"
|
||||||
|
{{- end }}
|
||||||
|
|
||||||
defaultConfig:
|
defaultConfig:
|
||||||
{{- if .Values.global.meshID }}
|
{{- if .Values.global.meshID }}
|
||||||
@@ -74,7 +77,7 @@
|
|||||||
discoveryAddress: {{ printf "istiod.%s.svc" .Release.Namespace }}:15012
|
discoveryAddress: {{ printf "istiod.%s.svc" .Release.Namespace }}:15012
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- else }}
|
{{- else }}
|
||||||
{{- if .Values.global.enableMesh }}
|
{{- if .Values.global.enableHigressIstio }}
|
||||||
discoveryAddress: {{ printf "istiod.%s.svc" .Values.global.istioNamespace }}:15012
|
discoveryAddress: {{ printf "istiod.%s.svc" .Values.global.istioNamespace }}:15012
|
||||||
{{- else }}
|
{{- else }}
|
||||||
discoveryAddress: higress-controller.{{.Release.Namespace}}.svc:15012
|
discoveryAddress: higress-controller.{{.Release.Namespace}}.svc:15012
|
||||||
|
|||||||
@@ -106,3 +106,10 @@ rules:
|
|||||||
- apiGroups: ["admissionregistration.k8s.io"]
|
- apiGroups: ["admissionregistration.k8s.io"]
|
||||||
resources: ["validatingwebhookconfigurations"]
|
resources: ["validatingwebhookconfigurations"]
|
||||||
verbs: ["get", "list", "watch", "update"]
|
verbs: ["get", "list", "watch", "update"]
|
||||||
|
|
||||||
|
# istio configuration
|
||||||
|
# removing CRD permissions can break older versions of Istio running alongside this control plane (https://github.com/istio/istio/issues/29382)
|
||||||
|
# please proceed with caution
|
||||||
|
- apiGroups: ["config.istio.io", "security.istio.io", "networking.istio.io", "authentication.istio.io", "rbac.istio.io", "telemetry.istio.io", "extensions.istio.io"]
|
||||||
|
verbs: ["get", "watch", "list"]
|
||||||
|
resources: ["*"]
|
||||||
|
|||||||
@@ -28,7 +28,7 @@ spec:
|
|||||||
securityContext:
|
securityContext:
|
||||||
{{- toYaml .Values.controller.podSecurityContext | nindent 8 }}
|
{{- toYaml .Values.controller.podSecurityContext | nindent 8 }}
|
||||||
containers:
|
containers:
|
||||||
{{- if not .Values.global.enableMesh }}
|
{{- if not .Values.global.enableHigressIstio }}
|
||||||
- name: discovery
|
- name: discovery
|
||||||
{{- if contains "/" .Values.pilot.image }}
|
{{- if contains "/" .Values.pilot.image }}
|
||||||
image: "{{ .Values.pilot.image }}"
|
image: "{{ .Values.pilot.image }}"
|
||||||
@@ -120,7 +120,11 @@ spec:
|
|||||||
value: "{{ .Values.global.istiod.enableAnalysis }}"
|
value: "{{ .Values.global.istiod.enableAnalysis }}"
|
||||||
- name: CLUSTER_ID
|
- name: CLUSTER_ID
|
||||||
value: "{{ $.Values.global.multiCluster.clusterName | default `Kubernetes` }}"
|
value: "{{ $.Values.global.multiCluster.clusterName | default `Kubernetes` }}"
|
||||||
{{- if not .Values.global.enableMesh }}
|
{{- if .Values.global.enableIstioAPI }}
|
||||||
|
- name: HIGRESS_ENABLE_ISTIO_API
|
||||||
|
value: "true"
|
||||||
|
{{- end }}
|
||||||
|
{{- if not .Values.global.enableHigressIstio }}
|
||||||
- name: CUSTOM_CA_CERT_NAME
|
- name: CUSTOM_CA_CERT_NAME
|
||||||
value: "higress-ca-root-cert"
|
value: "higress-ca-root-cert"
|
||||||
{{- end }}
|
{{- end }}
|
||||||
@@ -228,7 +232,7 @@ spec:
|
|||||||
volumes:
|
volumes:
|
||||||
- name: log
|
- name: log
|
||||||
emptyDir: {}
|
emptyDir: {}
|
||||||
{{- if not .Values.global.enableMesh }}
|
{{- if not .Values.global.enableHigressIstio }}
|
||||||
- name: config
|
- name: config
|
||||||
configMap:
|
configMap:
|
||||||
name: higress-config
|
name: higress-config
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ spec:
|
|||||||
type: {{ .Values.controller.service.type }}
|
type: {{ .Values.controller.service.type }}
|
||||||
ports:
|
ports:
|
||||||
{{- toYaml .Values.controller.ports | nindent 4 }}
|
{{- toYaml .Values.controller.ports | nindent 4 }}
|
||||||
{{- if not .Values.global.enableMesh }}
|
{{- if not .Values.global.enableHigressIstio }}
|
||||||
- port: 15010
|
- port: 15010
|
||||||
name: grpc-xds # plaintext
|
name: grpc-xds # plaintext
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
|
|||||||
@@ -29,8 +29,8 @@ spec:
|
|||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
annotations:
|
annotations:
|
||||||
{{- if .Values.global.enableMesh }}
|
{{- if .Values.global.enableHigressIstio }}
|
||||||
"enableMesh": "true"
|
"enableHigressIstio": "true"
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- if .Values.gateway.podAnnotations }}
|
{{- if .Values.gateway.podAnnotations }}
|
||||||
{{- toYaml .Values.gateway.podAnnotations | nindent 8 }}
|
{{- toYaml .Values.gateway.podAnnotations | nindent 8 }}
|
||||||
@@ -224,7 +224,7 @@ spec:
|
|||||||
{{- end }}
|
{{- end }}
|
||||||
- name: istio-ca-root-cert
|
- name: istio-ca-root-cert
|
||||||
configMap:
|
configMap:
|
||||||
{{- if .Values.global.enableMesh }}
|
{{- if .Values.global.enableHigressIstio }}
|
||||||
name: istio-ca-root-cert
|
name: istio-ca-root-cert
|
||||||
{{- else }}
|
{{- else }}
|
||||||
name: higress-ca-root-cert
|
name: higress-ca-root-cert
|
||||||
|
|||||||
@@ -4,7 +4,9 @@ global:
|
|||||||
# for internal usage only, not to be configured by users.
|
# for internal usage only, not to be configured by users.
|
||||||
autoscalingv2API: true
|
autoscalingv2API: true
|
||||||
kind: false
|
kind: false
|
||||||
enableMesh: false
|
enableIstioAPI: false
|
||||||
|
# Deprecated
|
||||||
|
enableHigressIstio: false
|
||||||
# Used to locate istiod.
|
# Used to locate istiod.
|
||||||
istioNamespace: istio-system
|
istioNamespace: istio-system
|
||||||
# enable pod disruption budget for the control plane, which is used to
|
# enable pod disruption budget for the control plane, which is used to
|
||||||
@@ -31,7 +33,7 @@ global:
|
|||||||
# Dev builds from prow are on gcr.io
|
# Dev builds from prow are on gcr.io
|
||||||
hub: higress-registry.cn-hangzhou.cr.aliyuncs.com/higress
|
hub: higress-registry.cn-hangzhou.cr.aliyuncs.com/higress
|
||||||
# Default tag for Istio images.
|
# Default tag for Istio images.
|
||||||
tag: 0.6.1
|
tag: 0.7.0
|
||||||
|
|
||||||
# Specify image pull policy if default behavior isn't desired.
|
# Specify image pull policy if default behavior isn't desired.
|
||||||
# Default behavior: latest images will be Always else IfNotPresent.
|
# Default behavior: latest images will be Always else IfNotPresent.
|
||||||
@@ -365,7 +367,7 @@ gateway:
|
|||||||
name: "higress-gateway"
|
name: "higress-gateway"
|
||||||
replicas: 2
|
replicas: 2
|
||||||
image: gateway
|
image: gateway
|
||||||
tag: "0.6.2"
|
tag: "0.7.0"
|
||||||
# revision declares which revision this gateway is a part of
|
# revision declares which revision this gateway is a part of
|
||||||
revision: ""
|
revision: ""
|
||||||
|
|
||||||
@@ -453,7 +455,7 @@ controller:
|
|||||||
name: "higress-controller"
|
name: "higress-controller"
|
||||||
replicas: 1
|
replicas: 1
|
||||||
image: higress
|
image: higress
|
||||||
tag: "0.6.1"
|
tag: "0.7.0"
|
||||||
env: {}
|
env: {}
|
||||||
|
|
||||||
labels: {}
|
labels: {}
|
||||||
@@ -543,7 +545,7 @@ pilot:
|
|||||||
rollingMaxUnavailable: 25%
|
rollingMaxUnavailable: 25%
|
||||||
|
|
||||||
hub: higress-registry.cn-hangzhou.cr.aliyuncs.com/higress
|
hub: higress-registry.cn-hangzhou.cr.aliyuncs.com/higress
|
||||||
tag: 0.6.1
|
tag: 0.7.0
|
||||||
|
|
||||||
# Can be a full hub/image:tag
|
# Can be a full hub/image:tag
|
||||||
image: pilot
|
image: pilot
|
||||||
@@ -609,4 +611,4 @@ pilot:
|
|||||||
enableSkywalking: false
|
enableSkywalking: false
|
||||||
Skywalking:
|
Skywalking:
|
||||||
address: "skywalking-oap.higress-system.svc"
|
address: "skywalking-oap.higress-system.svc"
|
||||||
port: 11800
|
port: 11800
|
||||||
|
|||||||
@@ -1,9 +1,9 @@
|
|||||||
dependencies:
|
dependencies:
|
||||||
- name: higress-core
|
- name: higress-core
|
||||||
repository: file://../core
|
repository: file://../core
|
||||||
version: 0.6.2
|
version: 0.7.0
|
||||||
- name: higress-console
|
- name: higress-console
|
||||||
repository: https://higress.io/helm-charts/
|
repository: https://higress.io/helm-charts/
|
||||||
version: 0.0.3
|
version: 0.1.0
|
||||||
digest: sha256:8be42e2517f24914e8e0db0404d40e9c0b3be2889914e9125ab8fafb0066be2e
|
digest: sha256:3fd6cfb0fd10178927569d57e0cbff5250870dd677cbf30995c49ced83e38f7c
|
||||||
generated: "2023-03-07T01:08:49.526125518+08:00"
|
generated: "2023-03-15T15:09:02.878072+08:00"
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
apiVersion: v2
|
apiVersion: v2
|
||||||
appVersion: 0.6.2
|
appVersion: 0.7.0
|
||||||
description: Helm chart for deploying higress gateways
|
description: Helm chart for deploying higress gateways
|
||||||
icon: https://higress.io/img/higress_logo_small.png
|
icon: https://higress.io/img/higress_logo_small.png
|
||||||
keywords:
|
keywords:
|
||||||
@@ -11,9 +11,9 @@ sources:
|
|||||||
dependencies:
|
dependencies:
|
||||||
- name: higress-core
|
- name: higress-core
|
||||||
repository: "file://../core"
|
repository: "file://../core"
|
||||||
version: 0.6.2
|
version: 0.7.0
|
||||||
- name: higress-console
|
- name: higress-console
|
||||||
repository: "https://higress.io/helm-charts/"
|
repository: "https://higress.io/helm-charts/"
|
||||||
version: 0.0.3
|
version: 0.1.0
|
||||||
type: application
|
type: application
|
||||||
version: 0.6.2
|
version: 0.7.0
|
||||||
|
|||||||
Reference in New Issue
Block a user