Skip to content

Commit

Permalink
release 0.6.2 (oauth2-proxy#186)
Browse files Browse the repository at this point in the history
  • Loading branch information
johnlanni authored Feb 13, 2023
1 parent f402f86 commit 1b7723b
Show file tree
Hide file tree
Showing 7 changed files with 42 additions and 13 deletions.
4 changes: 2 additions & 2 deletions Makefile.core.mk
Original file line number Diff line number Diff line change
Expand Up @@ -96,13 +96,13 @@ export PARENT_GIT_REVISION:=$(TAG)
export ENVOY_TAR_PATH:=/home/package/envoy.tar.gz

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:
cd external/proxy; BUILD_WITH_CONTAINER=1 make test_release

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:
cp api/kubernetes/customresourcedefinitions.gen.yaml helm/higress/crds
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v0.6.1
v0.6.2
4 changes: 2 additions & 2 deletions helm/higress/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
apiVersion: v2
appVersion: 0.6.1
appVersion: 0.6.2
description: Helm chart for deploying higress gateways
icon: https://higress.io/img/higress_logo_small.png
keywords:
Expand All @@ -9,4 +9,4 @@ name: higress
sources:
- http://github.com/alibaba/higress
type: application
version: 0.6.1
version: 0.6.2
7 changes: 2 additions & 5 deletions helm/higress/values.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
revision: ""
global:
# whether to use autoscaling/v2 template for HPA settings
# for internal usage only, not to be configured by users.
Expand Down Expand Up @@ -364,7 +365,7 @@ gateway:
name: "higress-gateway"
replicas: 2
image: gateway
tag: "0.6.1"
tag: "0.6.2"
# revision declares which revision this gateway is a part of
revision: ""

Expand Down Expand Up @@ -409,10 +410,6 @@ gateway:
# Type of service. Set to "None" to disable the service entirely
type: LoadBalancer
ports:
- name: status-port
port: 15021
protocol: TCP
targetPort: 15021
- name: http2
port: 80
protocol: TCP
Expand Down
6 changes: 3 additions & 3 deletions helm/kind/higress/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
apiVersion: v2
appVersion: 0.6.1
appVersion: 0.6.2
description: Helm chart for deploying higress gateways
icon: https://higress.io/img/higress_logo_small.png
keywords:
Expand All @@ -11,6 +11,6 @@ sources:
dependencies:
- name: higress
repository: "file://../../higress"
version: 0.6.1
version: 0.6.2
type: application
version: 0.6.1
version: 0.6.2
18 changes: 18 additions & 0 deletions istio/1.12/patches/istio/20230208-waf-stats.patch
Original file line number Diff line number Diff line change
@@ -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 changes: 14 additions & 0 deletions samples/wasmplugin/waf.yaml
Original file line number Diff line number Diff line change
@@ -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"

0 comments on commit 1b7723b

Please sign in to comment.