Skip to content

Commit 0982a2b

Browse files
authored
feat: add cluster.arch for helm values (#11)
1 parent 898048b commit 0982a2b

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.github/workflows/build-server.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ jobs:
2424
- name: Download release check-chart
2525
uses: dsaltares/fetch-gh-release-asset@master
2626
with:
27-
file: check-chart_0.0.1_linux_amd64.tar.gz
27+
file: check-chart_0.0.3_linux_amd64.tar.gz
2828
repo: beclab/check-chart
2929
target: check-chart.tar.gz
30-
version: tags/v0.0.1
30+
version: tags/v0.0.3
3131
- name: get latest tag
3232
uses: "WyriHaximus/github-action-get-previous-tag@v1"
3333
id: get-latest-tag

pkg/api/server/handlers_api.go

+2-1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ package server
33
import (
44
"errors"
55
"fmt"
6+
"github.com/go-resty/resty/v2"
67
"net/http"
78
"os"
89
"path/filepath"
@@ -16,7 +17,6 @@ import (
1617
"github.com/beclab/devbox/pkg/store/db/model"
1718

1819
"github.com/emicklei/go-restful/v3"
19-
"github.com/go-resty/resty/v2"
2020
"github.com/gofiber/fiber/v2"
2121
"github.com/google/uuid"
2222
"gopkg.in/yaml.v2"
@@ -395,6 +395,7 @@ func (h *handlers) listAppContainersInChart(ctx *fiber.Ctx) error {
395395
"password": "password",
396396
}
397397
values["svcs"] = map[string]interface{}{}
398+
values["cluster"] = map[string]interface{}{}
398399

399400
path := getAppPath(app)
400401
appCfgPath := filepath.Join(path, constants.AppCfgFileName)

0 commit comments

Comments
 (0)