Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cmd/ingress-operator/start.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ const (
// that is mounted from configmap openshift-ingress-operator/trusted-ca.
defaultTrustedCABundle = "/etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem"
defaultGatewayAPIOperatorChannel = "stable"
defaultGatewayAPIOperatorVersion = "servicemeshoperator3.v3.0.0"
defaultGatewayAPIOperatorVersion = "servicemeshoperator3.v3.0.1"
)

type StartOptions struct {
Expand Down
2 changes: 1 addition & 1 deletion manifests/02-deployment-ibm-cloud-managed.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ spec:
- name: GATEWAY_API_OPERATOR_CHANNEL
value: stable
- name: GATEWAY_API_OPERATOR_VERSION
value: servicemeshoperator3.v3.0.0
value: servicemeshoperator3.v3.0.1
image: openshift/origin-cluster-ingress-operator:latest
imagePullPolicy: IfNotPresent
name: ingress-operator
Expand Down
2 changes: 1 addition & 1 deletion manifests/02-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ spec:
- name: GATEWAY_API_OPERATOR_CHANNEL
value: stable
- name: GATEWAY_API_OPERATOR_VERSION
value: servicemeshoperator3.v3.0.0
value: servicemeshoperator3.v3.0.1
resources:
requests:
cpu: 10m
Expand Down
2 changes: 1 addition & 1 deletion pkg/operator/controller/gatewayclass/istio.go
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ func desiredIstio(name types.NamespacedName, ownerRef metav1.OwnerReference) *sa
IngressControllerMode: sailv1.MeshConfigIngressControllerModeOff,
},
},
Version: "v1.24.3",
Version: "v1.24.4",
},
}
}
Expand Down
11 changes: 10 additions & 1 deletion test/e2e/gateway_api_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ import (
iov1 "github.com/openshift/api/operatoringress/v1"
operatorclient "github.com/openshift/cluster-ingress-operator/pkg/operator/client"
operatorcontroller "github.com/openshift/cluster-ingress-operator/pkg/operator/controller"
util "github.com/openshift/cluster-ingress-operator/pkg/util"

corev1 "k8s.io/api/core/v1"
apiextensionsv1 "k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1"
Expand Down Expand Up @@ -259,14 +260,22 @@ func testGatewayAPIManualDeployment(t *testing.T) {
t.Fatalf("Failed to create gateway %v: %v", gatewayName, err)
}
t.Cleanup(func() {
if t.Failed() {
t.Logf("Dumping gateway %q...", gatewayName)
var gateway gatewayapiv1.Gateway
if err := kclient.Get(context.Background(), gatewayName, &gateway); err != nil {
t.Errorf("Failed to get gateway %v: %v", gatewayName, err)
}
t.Log(util.ToYaml(gateway))
}
if err := kclient.Delete(context.Background(), &gateway); err != nil {
if !errors.IsNotFound(err) {
t.Errorf("Failed to delete gateway %v: %v", gatewayName, err)
}
}
})

interval, timeout := 5*time.Second, 1*time.Minute
interval, timeout := 5*time.Second, 5*time.Minute
t.Logf("Polling for up to %v to verify that the gateway is accepted...", timeout)
if err := wait.PollUntilContextTimeout(context.Background(), interval, timeout, false, func(context context.Context) (bool, error) {
if err := kclient.Get(context, gatewayName, &gateway); err != nil {
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/util_gatewayapi_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1035,7 +1035,7 @@ func assertDNSRecord(t *testing.T, recordName types.NamespacedName) error {
t.Helper()
dnsRecord := &v1.DNSRecord{}

err := wait.PollUntilContextTimeout(context.Background(), 1*time.Second, 1*time.Minute, false, func(context context.Context) (bool, error) {
err := wait.PollUntilContextTimeout(context.Background(), 10*time.Second, 10*time.Minute, false, func(context context.Context) (bool, error) {
if err := kclient.Get(context, recordName, dnsRecord); err != nil {
t.Logf("Failed to get DNSRecord %v: %v; retrying...", recordName, err)
return false, nil
Expand Down