Skip to content

Commit 8806c49

Browse files
committed
more
1 parent 4446052 commit 8806c49

File tree

2 files changed

+17
-3
lines changed

2 files changed

+17
-3
lines changed

tests/e2e/global.go

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,13 +56,16 @@ var (
5656
// envoyGatewayHelmDescriptor describes the Envoy Gateway Helm component
5757
// The Helm chart installs Gateway API CRDs and Envoy Gateway CRDs automatically
5858
envoyGatewayHelmDescriptor = helmDescriptor{
59-
Repository: "oci://docker.io/envoyproxy",
60-
ChartName: "gateway-helm",
59+
Repository: "",
60+
ChartName: "oci://docker.io/envoyproxy/gateway-helm",
6161
ChartVersion: EnvoyGatewayVersion,
6262
ReleaseName: "eg",
6363
Namespace: "envoy-gateway-system",
6464
SetValues: map[string]string{
65-
"createNamespace": "true",
65+
"deployment.envoyGateway.resources.limits.cpu": "500m",
66+
"deployment.envoyGateway.resources.limits.memory": "1024Mi",
67+
"deployment.envoyGateway.resources.requests.cpu": "100m",
68+
"deployment.envoyGateway.resources.requests.memory": "256Mi",
6669
},
6770
HelmExtraArguments: map[string][]string{
6871
"install": {"--timeout", "10m"},

tests/e2e/test_install.go

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,17 @@ func testInstall() bool {
5050
err = envoyGatewayHelmDescriptor.installHelmChart(kubectlOptions)
5151
gomega.Expect(err).NotTo(gomega.HaveOccurred())
5252
})
53+
54+
ginkgo.It("Creating Envoy Gateway GatewayClass", func() {
55+
gatewayClassManifest := `apiVersion: gateway.networking.k8s.io/v1
56+
kind: GatewayClass
57+
metadata:
58+
name: eg
59+
spec:
60+
controllerName: gateway.envoyproxy.io/gatewayclass-controller`
61+
err = applyK8sResourceManifestFromString(kubectlOptions, gatewayClassManifest)
62+
gomega.Expect(err).NotTo(gomega.HaveOccurred())
63+
})
5364
})
5465

5566
ginkgo.When("Installing zookeeper-operator", func() {

0 commit comments

Comments
 (0)