Skip to content
Merged
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
4 changes: 2 additions & 2 deletions deploy/1.clusterrole-and-binding.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ rules:
resources: ["configmaps", "events", "ingresses/status", "services/status"]
verbs: ["get", "list", "watch", "update", "create", "patch"]
- apiGroups: ["gateway.networking.k8s.io"]
resources: ["gatewayclasses", "gateways", "httproutes"]
resources: ["gatewayclasses", "gateways", "httproutes", "referencegrants"]
verbs: ["get", "list", "watch"]
- apiGroups: ["gateway.networking.k8s.io"]
resources: ["gatewayclasses/status"]
resources: ["gatewayclasses/status", "gateways/status", "httproutes/status", "referencegrants/status"]
verbs: ["get", "list", "watch", "update"]

---
Expand Down
20 changes: 11 additions & 9 deletions deploy/3.deploy-bigip-kubernetes-gateway-controller.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,5 @@
---

apiVersion: v1
kind: Secret
metadata:
name: bigip-login
namespace: kube-system
data:
password: UEBzc3cwcmQxMjM= # base64 encoded
type: Opaque

apiVersion: v1
type: kubernetes.io/tls
kind: Secret
Expand Down Expand Up @@ -119,6 +110,17 @@ webhooks:

---

apiVersion: v1
kind: Secret
metadata:
name: bigip-login
namespace: kube-system
data:
password: UEBzc3cwcmQxMjM= # base64 encoded
type: Opaque

---

apiVersion: v1
kind: ConfigMap
metadata:
Expand Down
1 change: 1 addition & 0 deletions tests/systest/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
test-config.yaml
2 changes: 1 addition & 1 deletion tests/systest/controllers_basics_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ func checkResourcesAsExpected() {
Expect(err).To(Succeed())
// slog.Infof("members: %d", len(members))
return err == nil && len(members) == svcVars["replicas"].(int)
}).WithContext(ctx).ProbeEvery(time.Millisecond * 500).WithTimeout(time.Second * 50).Should(BeTrue())
}).WithContext(ctx).ProbeEvery(time.Millisecond * 500).WithTimeout(time.Second * 120).Should(BeTrue())

slog.Infof("pool is created as expected")
slog.Infof("finished bigip resources checking")
Expand Down
2 changes: 1 addition & 1 deletion tests/systest/controllers_resource_order_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
. "github.com/onsi/gomega"
)

var _ = Describe("Controllers random resource list", Ordered, func() {
var _ = Describe("Controllers random resource list", func() {

BeforeEach(func() {
yamls := []string{
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion tests/systest/webhooks_gatewayclass_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
. "github.com/onsi/gomega"
)

var _ = Describe("Webhhooks Validating GatewayClass", Ordered, func() {
var _ = PDescribe("Webhhooks Validating GatewayClass", Ordered, func() {

BeforeAll(func() {
for _, yaml := range []string{
Expand Down