Skip to content

Commit ce41f97

Browse files
committed
adjust Config
1 parent b072499 commit ce41f97

2 files changed

Lines changed: 6 additions & 11 deletions

File tree

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
with:
4343
go-version-file: go.mod
4444
- name: Install setup-envtest
45-
run: go install sigs.k8s.io/controller-runtime/tools/setup-envtest@v0.18.5
45+
run: go install sigs.k8s.io/controller-runtime/tools/setup-envtest@4dbfa5c66aa24a35003c41507385c2a91e94d404 # release-0.23
4646
- name: Test
4747
run: |
4848
make test

internal/controller/controller_integration_test.go

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -101,16 +101,11 @@ func setup(t *testing.T, onlyNamespace string, excludeNamespaces string) (*kuber
101101
onlyNamespace,
102102
excludeNamespaces,
103103
&Config{
104-
"{{namespace}}/{{deploymentName}}/{{containerName}}",
105-
"test-logical-env",
106-
"test physical-env",
107-
"test-cluster",
108-
"",
109-
"",
110-
"",
111-
"",
112-
"",
113-
"test-org",
104+
Template: "{{namespace}}/{{deploymentName}}/{{containerName}}",
105+
LogicalEnvironment: "test-logical-env",
106+
PhysicalEnvironment: "test physical-env",
107+
Cluster: "test-cluster",
108+
Organization: "test-org",
114109
},
115110
)
116111
if err != nil {

0 commit comments

Comments
 (0)