Skip to content

Commit

Permalink
Update migration test to cover multiple executors in a configuration …
Browse files Browse the repository at this point in the history
…group
  • Loading branch information
pkosiec committed Jan 17, 2024
1 parent a2f7ce8 commit e618d7a
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions test/e2e/migration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ const (
--set communications.default-group.discord.token=%s \
--set settings.clusterName=%s \
--set executors.k8s-default-tools.botkube/kubectl.enabled=true \
--set executors.k8s-default-tools.botkube/helm.enabled=true \
--set analytics.disable=true \
--set image.tag=v9.99.9-dev \
--set plugins.repositories.botkube.url=https://storage.googleapis.com/botkube-plugins-latest/plugins-index.yaml \
Expand Down Expand Up @@ -387,6 +388,14 @@ func assertPlugins(t *testing.T, actual []*gqlModel.Plugin) {
Configuration: "{\"defaultNamespace\":\"default\"}",
Rbac: defaultRBAC,
},
{
Name: "botkube/helm",
DisplayName: "botkube/helm",
Type: "EXECUTOR",
ConfigurationName: "k8s-default-tools",
Configuration: "{\"helmDriver\":\"secret\"}",
Rbac: defaultRBAC,
},
}

assert.NotEmpty(t, actual)
Expand Down

0 comments on commit e618d7a

Please sign in to comment.