mirror of
https://github.com/fluxcd/flagger.git
synced 2026-04-15 06:57:34 +00:00
Added support for Gateway API v1beta1
Signed-off-by: Christoph Grotz <grotz@google.com>
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
set -o errexit
|
||||
|
||||
CONTOUR_VER="v1.22.1"
|
||||
CONTOUR_VER="v1.23.0"
|
||||
REPO_ROOT=$(git rev-parse --show-toplevel)
|
||||
|
||||
mkdir -p ${REPO_ROOT}/bin
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
|
||||
set -o errexit
|
||||
|
||||
CONTOUR_VER="v1.21.0"
|
||||
GATEWAY_API_VER="v1alpha2"
|
||||
CONTOUR_VER="v1.23.0"
|
||||
GATEWAY_API_VER="v1beta1"
|
||||
REPO_ROOT=$(git rev-parse --show-toplevel)
|
||||
KUSTOMIZE_VERSION=4.5.2
|
||||
OS=$(uname -s)
|
||||
@@ -18,15 +18,15 @@ echo ">>> Installing Contour components, Gateway API CRDs"
|
||||
kubectl apply -f https://raw.githubusercontent.com/projectcontour/contour/${CONTOUR_VER}/examples/render/contour-gateway-provisioner.yaml
|
||||
|
||||
kubectl -n projectcontour rollout status deployment/contour-gateway-provisioner
|
||||
kubectl -n gateway-api wait --for=condition=complete job/gateway-api-admission
|
||||
kubectl -n gateway-api wait --for=condition=complete job/gateway-api-admission-patch
|
||||
kubectl -n gateway-api rollout status deployment/gateway-api-admission-server
|
||||
kubectl -n gateway-system wait --for=condition=complete job/gateway-api-admission
|
||||
kubectl -n gateway-system wait --for=condition=complete job/gateway-api-admission-patch
|
||||
kubectl -n gateway-system rollout status deployment/gateway-api-admission-server
|
||||
kubectl -n projectcontour get all
|
||||
|
||||
echo ">>> Creating GatewayClass"
|
||||
cat <<EOF | kubectl apply -f -
|
||||
kind: GatewayClass
|
||||
apiVersion: gateway.networking.k8s.io/v1alpha2
|
||||
apiVersion: gateway.networking.k8s.io/v1beta1
|
||||
metadata:
|
||||
name: contour
|
||||
spec:
|
||||
@@ -36,7 +36,7 @@ EOF
|
||||
echo ">>> Creating Gateway"
|
||||
cat <<EOF | kubectl apply -f -
|
||||
kind: Gateway
|
||||
apiVersion: gateway.networking.k8s.io/v1alpha2
|
||||
apiVersion: gateway.networking.k8s.io/v1beta1
|
||||
metadata:
|
||||
name: contour
|
||||
namespace: projectcontour
|
||||
|
||||
Reference in New Issue
Block a user