Skip to content

Commit 3bc950f

Browse files
committed
Bump GWAPI CRDs to v1.4.1 OSSM 3.3.1 and Istio v1.28.5
1 parent d14c13b commit 3bc950f

14 files changed

Lines changed: 1528 additions & 71 deletions

cmd/ingress-operator/start.go

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,11 @@ const (
3535
defaultTrustedCABundle = "/etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem"
3636
defaultGatewayAPIOperatorCatalog = "redhat-operators"
3737
defaultGatewayAPIOperatorChannel = "stable"
38-
defaultGatewayAPIOperatorVersion = "servicemeshoperator3.v3.1.0"
39-
defaultIstioVersion = "v1.26.2"
38+
defaultGatewayAPIOperatorVersion = "servicemeshoperator3.v3.3.1"
39+
// OSSM 3.3.1 ships Istio 1.28.5.
40+
// Using floating z-stream tag to avoid breaking clusters with
41+
// customer-managed subscriptions on a different OSSM minor version.
42+
defaultIstioVersion = "v1.28-latest"
4043
)
4144

4245
type StartOptions struct {

go.mod

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,9 @@ require (
4444
k8s.io/client-go v12.0.0+incompatible
4545
k8s.io/utils v0.0.0-20250502105355-0f33e8f1c979
4646
sigs.k8s.io/controller-runtime v0.20.4
47+
// The `sigs.k8s.io/gateway-api` Go module version may differ from the Gateway API CRD manifests in
48+
// pkg/manifests/assets/gateway-api/. To determine which CRD version the operator installs, check
49+
// the manifest files, not `go.mod`.
4750
sigs.k8s.io/gateway-api v1.2.1
4851
)
4952

hack/gatewayapi-conformance.sh

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,10 @@ echo "gateway-api repo branch \"${BRANCH}\" into ${CLONE_DIR}..."
4343
git clone --branch "${BRANCH}" https://github.com/kubernetes-sigs/gateway-api
4444
cd gateway-api
4545

46-
if [[ "$BUNDLE_VERSION" = "v1.2.1" ]]; then
47-
echo "Cherry-picking fix for CoreDNS deployment issue in Gateway API v1.2.1"
48-
git fetch origin f64c54a3606c8eee5b4c85b1c5f8f0d3cf3470ca
49-
git cherry-pick f64c54a3606c8eee5b4c85b1c5f8f0d3cf3470ca
46+
if [[ "$BUNDLE_VERSION" = "v1.3.0" ]]; then
47+
echo "Cherry-picking fix for CoreDNS deployment image tag shortname issue in v1.3.0"
48+
git fetch origin 7f612b97fec9edd3aa32d193a4e9b4c3161ed09a
49+
git cherry-pick 7f612b97fec9edd3aa32d193a4e9b4c3161ed09a
5050
fi
5151

5252
echo "Go version: $(go version)"
@@ -56,9 +56,12 @@ go mod vendor
5656
# because the AWS ELB needs an extra ~60s for DNS propagation. See
5757
# <https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/best-practices-dns.html#DNS_change_propagation>.
5858
# Also, GRPCRouteListenerHostnameMatching tests are taking longer than 150s to converge to passing.
59-
sed -i -e '/MaxTimeToConsistency:/ s/30/180/' conformance/utils/config/timeout.go
59+
sed -i -e '/MaxTimeToConsistency:/ s/30/360/' conformance/utils/config/timeout.go
6060

61-
SUPPORTED_FEATURES="Gateway,GRPCRoute,HTTPRoute,ReferenceGrant,GatewayPort8080,HTTPRouteQueryParamMatching,HTTPRouteMethodMatching,HTTPRouteResponseHeaderModification,HTTPRoutePortRedirect,HTTPRouteSchemeRedirect,HTTPRoutePathRedirect,HTTPRouteHostRewrite,HTTPRoutePathRewrite,HTTPRouteRequestMirror,HTTPRouteRequestMultipleMirrors,HTTPRouteBackendProtocolH2C,HTTPRouteBackendProtocolWebSocket"
61+
SUPPORTED_FEATURES="BackendTLSPolicy,BackendTLSPolicySANValidation,GRPCRoute,Gateway,GatewayAddressEmpty,GatewayHTTPListenerIsolation,GatewayInfrastructurePropagation,GatewayPort8080,HTTPRoute,HTTPRouteBackendProtocolH2C,HTTPRouteBackendProtocolWebSocket,HTTPRouteBackendRequestHeaderModification,HTTPRouteBackendTimeout,HTTPRouteCORS,HTTPRouteDestinationPortMatching,HTTPRouteHostRewrite,HTTPRouteMethodMatching,HTTPRouteNamedRouteRule,HTTPRouteParentRefPort,HTTPRoutePathRedirect,HTTPRoutePathRewrite,HTTPRoutePortRedirect,HTTPRouteQueryParamMatching,HTTPRouteRequestMirror,HTTPRouteRequestMultipleMirrors,HTTPRouteRequestPercentageMirror,HTTPRouteRequestTimeout,HTTPRouteResponseHeaderModification,HTTPRouteSchemeRedirect,ReferenceGrant"
62+
# skipping BackendTLSPolicyConflictResolution confornance test because upstream istio is not supporting this at the moment: https://github.com/istio/istio/blob/ba49f7398a8542c3612788e9bd0371c079e44165/tests/integration/pilot/gateway_conformance_test.go#L67
63+
SKIPPED_TESTS="HTTPRouteCORSAllowCredentialsBehavior,GatewayStaticAddresses,BackendTLSPolicyConflictResolution"
6264

6365
echo "Start Gateway API Conformance Testing"
64-
go test ./conformance -v -timeout 20m -run TestConformance -args "--supported-features=${SUPPORTED_FEATURES}" "--gateway-class=${GATEWAYCLASS_NAME}"
66+
go test ./conformance -v -timeout 60m -run TestConformance -args "--gateway-class=conformance" "--report-output=openshift.yaml" "--organization=Red Hat" "--project=Openshift Service Mesh" "--version=3.3.1" "--url=https://www.redhat.com/en/technologies/cloud-computing/openshift/container-platform" "--conformance-profiles=GATEWAY-HTTP,GATEWAY-GRPC" "--supported-features=${SUPPORTED_FEATURES}" "--skip-tests=${SKIPPED_TESTS}"
67+
cat conformance/openshift.yaml

manifests/02-deployment-ibm-cloud-managed.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,9 @@ spec:
5959
- name: GATEWAY_API_OPERATOR_CHANNEL
6060
value: stable
6161
- name: GATEWAY_API_OPERATOR_VERSION
62-
value: servicemeshoperator3.v3.1.0
62+
value: servicemeshoperator3.v3.3.1
6363
- name: ISTIO_VERSION
64-
value: v1.26.2
64+
value: v1.28-latest
6565
image: openshift/origin-cluster-ingress-operator:latest
6666
imagePullPolicy: IfNotPresent
6767
name: ingress-operator

manifests/02-deployment.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,9 +88,9 @@ spec:
8888
- name: GATEWAY_API_OPERATOR_CHANNEL
8989
value: stable
9090
- name: GATEWAY_API_OPERATOR_VERSION
91-
value: servicemeshoperator3.v3.1.0
91+
value: servicemeshoperator3.v3.3.1
9292
- name: ISTIO_VERSION
93-
value: v1.26.2
93+
value: v1.28-latest
9494
resources:
9595
requests:
9696
cpu: 10m

0 commit comments

Comments
 (0)