Skip to content

Commit

Permalink
Change from nav-integration-test to dev-nais-dev for tests and examples
Browse files Browse the repository at this point in the history
  • Loading branch information
mortenlj committed Jun 28, 2024
1 parent 1c37ed4 commit 838d033
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions cmd/aivenator/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ func init() {
flag.String(LogLevel, "info", logLevelHelp())
flag.Duration(KubernetesWriteRetryInterval, time.Second*10, "Requeueing interval when Kubernetes writes fail")
flag.Duration(SyncPeriod, time.Hour*1, "How often to re-synchronize all AivenApplication resources including credential rotation")
flag.StringSlice(Projects, []string{"nav-integration-test"}, "List of projects allowed to operate on")
flag.String(MainProject, "nav-integration-test", "Main project to operate on for services that only allow one")
flag.StringSlice(Projects, []string{"dev-nais-dev"}, "List of projects allowed to operate on")
flag.String(MainProject, "dev-nais-dev", "Main project to operate on for services that only allow one")

flag.Parse()

Expand Down
2 changes: 1 addition & 1 deletion controllers/controllers_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ import (
)

const (
testProject = "nav-integration-test"
testProject = "dev-nais-dev"
aivenApplicationName = "integration-test"
baseSecretName = "aiven-integration-test-secret"
namespace = "test-namespace"
Expand Down
2 changes: 1 addition & 1 deletion hack/aa-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ metadata:
spec:
secretName: my-test-secret
kafka:
pool: nav-integration-test
pool: dev-nais-dev
2 changes: 1 addition & 1 deletion hack/app-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,5 @@ spec:
cpu: "200m"
memory: "256Mi"
kafka:
pool: nav-integration-test
pool: dev-nais-dev
skipCaBundle: true
4 changes: 2 additions & 2 deletions pkg/certificate/credstores_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ import (
)

const (
project = "nav-integration-test"
service = "nav-integration-test-kafka"
project = "dev-nais-dev"
service = "kafka"
username = "test_user"
)

Expand Down
2 changes: 1 addition & 1 deletion pkg/handlers/kafka/kafka_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ func (suite *KafkaHandlerTestSuite) SetupTest() {
service: suite.mockServices,
generator: suite.mockGenerator,
nameResolver: suite.mockNameResolver,
projects: []string{"nav-integration-test", "my-testing-pool"},
projects: []string{"dev-nais-dev", "my-testing-pool"},
}
suite.applicationBuilder = aiven_nais_io_v1.NewAivenApplicationBuilder("test-app", "test-ns")
suite.ctx, suite.cancel = context.WithTimeout(context.Background(), 5*time.Second)
Expand Down

0 comments on commit 838d033

Please sign in to comment.