Skip to content

Commit

Permalink
refactor: clean up unused deployer code (#182)
Browse files Browse the repository at this point in the history
* clean up unused deployer code

Signed-off-by: sh2 <shawnhxh@outlook.com>

* fix import

Signed-off-by: sh2 <shawnhxh@outlook.com>

---------

Signed-off-by: sh2 <shawnhxh@outlook.com>
  • Loading branch information
shawnh2 authored Nov 6, 2023
1 parent 0c4cb58 commit 76e265f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 121 deletions.
119 changes: 0 additions & 119 deletions pkg/deployer/types.go

This file was deleted.

4 changes: 2 additions & 2 deletions pkg/helm/loader_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import (
"sigs.k8s.io/kind/pkg/log"

"github.com/GreptimeTeam/gtctl/pkg/artifacts"
"github.com/GreptimeTeam/gtctl/pkg/deployer"
opt "github.com/GreptimeTeam/gtctl/pkg/cluster"
"github.com/GreptimeTeam/gtctl/pkg/logger"
)

Expand All @@ -43,7 +43,7 @@ func TestLoadAndRenderChart(t *testing.T) {
ChartName: artifacts.GreptimeDBClusterChartName,
ChartVersion: "0.1.2",
FromCNRegion: false,
ValuesOptions: deployer.CreateGreptimeDBClusterOptions{
ValuesOptions: opt.CreateClusterOptions{
ImageRegistry: "registry.cn-hangzhou.aliyuncs.com",
DatanodeStorageClassName: "ebs-sc",
DatanodeStorageSize: "11Gi",
Expand Down

0 comments on commit 76e265f

Please sign in to comment.