mirror of
https://github.com/alibaba/higress.git
synced 2026-06-05 10:37:28 +08:00
release 0.6.2 (#186)
This commit is contained in:
@@ -96,13 +96,13 @@ export PARENT_GIT_REVISION:=$(TAG)
|
|||||||
export ENVOY_TAR_PATH:=/home/package/envoy.tar.gz
|
export ENVOY_TAR_PATH:=/home/package/envoy.tar.gz
|
||||||
|
|
||||||
build-istio: prebuild
|
build-istio: prebuild
|
||||||
cd external/istio; GOOS_LOCAL=linux TARGET_OS=linux TARGET_ARCH=amd64 BUILD_WITH_CONTAINER=1 DOCKER_BUILD_VARIANTS=default DOCKER_TARGETS="docker.pilot" 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.pilot" make docker
|
||||||
|
|
||||||
external/package/envoy.tar.gz:
|
external/package/envoy.tar.gz:
|
||||||
cd external/proxy; BUILD_WITH_CONTAINER=1 make test_release
|
cd external/proxy; BUILD_WITH_CONTAINER=1 make test_release
|
||||||
|
|
||||||
build-gateway: prebuild external/package/envoy.tar.gz
|
build-gateway: prebuild external/package/envoy.tar.gz
|
||||||
cd external/istio; 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
|
||||||
|
|
||||||
pre-install:
|
pre-install:
|
||||||
cp api/kubernetes/customresourcedefinitions.gen.yaml helm/higress/crds
|
cp api/kubernetes/customresourcedefinitions.gen.yaml helm/higress/crds
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
apiVersion: v2
|
apiVersion: v2
|
||||||
appVersion: 0.6.1
|
appVersion: 0.6.2
|
||||||
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
|
|||||||
sources:
|
sources:
|
||||||
- http://github.com/alibaba/higress
|
- http://github.com/alibaba/higress
|
||||||
type: application
|
type: application
|
||||||
version: 0.6.1
|
version: 0.6.2
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
revision: ""
|
||||||
global:
|
global:
|
||||||
# whether to use autoscaling/v2 template for HPA settings
|
# whether to use autoscaling/v2 template for HPA settings
|
||||||
# for internal usage only, not to be configured by users.
|
# for internal usage only, not to be configured by users.
|
||||||
@@ -364,7 +365,7 @@ gateway:
|
|||||||
name: "higress-gateway"
|
name: "higress-gateway"
|
||||||
replicas: 2
|
replicas: 2
|
||||||
image: gateway
|
image: gateway
|
||||||
tag: "0.6.1"
|
tag: "0.6.2"
|
||||||
# revision declares which revision this gateway is a part of
|
# revision declares which revision this gateway is a part of
|
||||||
revision: ""
|
revision: ""
|
||||||
|
|
||||||
@@ -409,10 +410,6 @@ gateway:
|
|||||||
# Type of service. Set to "None" to disable the service entirely
|
# Type of service. Set to "None" to disable the service entirely
|
||||||
type: LoadBalancer
|
type: LoadBalancer
|
||||||
ports:
|
ports:
|
||||||
- name: status-port
|
|
||||||
port: 15021
|
|
||||||
protocol: TCP
|
|
||||||
targetPort: 15021
|
|
||||||
- name: http2
|
- name: http2
|
||||||
port: 80
|
port: 80
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
apiVersion: v2
|
apiVersion: v2
|
||||||
appVersion: 0.6.1
|
appVersion: 0.6.2
|
||||||
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,6 +11,6 @@ sources:
|
|||||||
dependencies:
|
dependencies:
|
||||||
- name: higress
|
- name: higress
|
||||||
repository: "file://../../higress"
|
repository: "file://../../higress"
|
||||||
version: 0.6.1
|
version: 0.6.2
|
||||||
type: application
|
type: application
|
||||||
version: 0.6.1
|
version: 0.6.2
|
||||||
|
|||||||
18
istio/1.12/patches/istio/20230208-waf-stats.patch
Normal file
18
istio/1.12/patches/istio/20230208-waf-stats.patch
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
diff -Naur istio/tools/packaging/common/envoy_bootstrap.json istio_new/tools/packaging/common/envoy_bootstrap.json
|
||||||
|
--- istio/tools/packaging/common/envoy_bootstrap.json 2023-02-08 22:42:41.000000000 +0800
|
||||||
|
+++ istio_new/tools/packaging/common/envoy_bootstrap.json 2023-02-08 22:19:04.000000000 +0800
|
||||||
|
@@ -37,6 +37,14 @@
|
||||||
|
"use_all_default_tags": false,
|
||||||
|
"stats_tags": [
|
||||||
|
{
|
||||||
|
+ "tag_name": "phase",
|
||||||
|
+ "regex": "(_phase=([a-z_]+))"
|
||||||
|
+ },
|
||||||
|
+ {
|
||||||
|
+ "tag_name": "ruleid",
|
||||||
|
+ "regex": "(_ruleid=([0-9]+))"
|
||||||
|
+ },
|
||||||
|
+ {
|
||||||
|
"tag_name": "route",
|
||||||
|
"regex": "^vhost\\..*?\\.route\\.([^\\.]+\\.)upstream"
|
||||||
|
},
|
||||||
14
samples/wasmplugin/waf.yaml
Normal file
14
samples/wasmplugin/waf.yaml
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
apiVersion: extensions.higress.io/v1alpha1
|
||||||
|
kind: WasmPlugin
|
||||||
|
metadata:
|
||||||
|
name: waf
|
||||||
|
namespace: higress-system
|
||||||
|
spec:
|
||||||
|
# build from https://github.com/corazawaf/coraza-proxy-wasm
|
||||||
|
url: oci://higress-registry.cn-hangzhou.cr.aliyuncs.com/plugins/corazawaf:1.0.0
|
||||||
|
defaultConfig:
|
||||||
|
rules:
|
||||||
|
- "Include @crs-setup-conf"
|
||||||
|
- "Include @recommended-conf"
|
||||||
|
- "Include @owasp_crs/*.conf"
|
||||||
|
- "SecRuleEngine on"
|
||||||
Reference in New Issue
Block a user