Skip to content

Commit

Permalink
test(kumactl): add test for --registry
Browse files Browse the repository at this point in the history
Signed-off-by: Mike Beaumont <mjboamail@gmail.com>
  • Loading branch information
michaelbeaumont committed Jun 30, 2022
1 parent a69a272 commit 905d993
Show file tree
Hide file tree
Showing 2 changed files with 2,307 additions and 0 deletions.
7 changes: 7 additions & 0 deletions app/kumactl/cmd/install/install_control_plane_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,13 @@ var _ = Describe("kumactl install control-plane", func() {
},
goldenFile: "install-control-plane.overrides.golden.yaml",
}),
Entry("should generate Kubernetes resources with --registry", testCase{
extraArgs: []string{
"--registry", "gcr.io/octo",
"--dataplane-registry", "gcr.io/octo-dataplane",
},
goldenFile: "install-control-plane.registry.golden.yaml",
}),
Entry("should generate Kubernetes resources with CNI plugin", testCase{
extraArgs: []string{
"--cni-enabled",
Expand Down
Loading

0 comments on commit 905d993

Please sign in to comment.