Skip to content

Commit

Permalink
chore: Change default namespace to uptime-robot-system
Browse files Browse the repository at this point in the history
  • Loading branch information
gabe565 committed Apr 8, 2024
1 parent 1158ff8 commit 0bbeaf9
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion config/default/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Adds namespace to all resources.
namespace: uptime-robot-operator-system
namespace: uptime-robot-system

# Value of this field is prepended to the
# names of all resources, e.g. a deployment named
Expand Down
2 changes: 1 addition & 1 deletion internal/controller/account_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ import (
uptimerobotv1 "github.com/clevyr/uptime-robot-operator/api/v1"
)

var ClusterResourceNamespace = "uptime-robot-operator-system"
var ClusterResourceNamespace = "uptime-robot-system"

// AccountReconciler reconciles a Account object
type AccountReconciler struct {
Expand Down
2 changes: 1 addition & 1 deletion internal/controller/account_controller_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ func CreateAccount(ctx context.Context) (*uptimerobotv1.Account, *corev1.Secret)
secret := &corev1.Secret{
ObjectMeta: metav1.ObjectMeta{
Name: "uptime-robot",
Namespace: "uptime-robot-operator-system",
Namespace: ClusterResourceNamespace,
},
Data: map[string][]byte{
"apiKey": []byte("1234"),
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/e2e_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import (
"github.com/clevyr/uptime-robot-operator/test/utils"
)

const namespace = "uptime-robot-operator-system"
const namespace = "uptime-robot-system"

var _ = Describe("controller", Ordered, func() {
BeforeAll(func() {
Expand Down

0 comments on commit 0bbeaf9

Please sign in to comment.