mirror of
https://github.com/komodorio/helm-dashboard.git
synced 2026-03-24 11:48:04 +00:00
@@ -12,7 +12,7 @@ helm upgrade --install helm-dashboard komodorio/helm-dashboard
|
|||||||
|
|
||||||
This chart bootstraps a Helm Dashboard deployment on a [Kubernetes](http://kubernetes.io) cluster using the [Helm](https://helm.sh) package manager.
|
This chart bootstraps a Helm Dashboard deployment on a [Kubernetes](http://kubernetes.io) cluster using the [Helm](https://helm.sh) package manager.
|
||||||
|
|
||||||
While installed inside cluster, Helm Dashboard will run some additional backgroud actions, for example, will automatically update Helm repositories. To enable that behavior locally, set `HD_CLUSTER_MODE` env variable.
|
While installed inside cluster, Helm Dashboard will run some additional background actions, for example, will automatically update Helm repositories. To enable that behavior locally, set `HD_CLUSTER_MODE` env variable.
|
||||||
|
|
||||||
## Prerequisites
|
## Prerequisites
|
||||||
|
|
||||||
|
|||||||
@@ -109,7 +109,7 @@ func TestConfigureRoutes(t *testing.T) {
|
|||||||
// Create a API Engine
|
// Create a API Engine
|
||||||
api := gin.Default()
|
api := gin.Default()
|
||||||
|
|
||||||
// Required arguements for route configuration
|
// Required arguments for route configuration
|
||||||
abortWeb := func() {}
|
abortWeb := func() {}
|
||||||
data, err := objects.NewDataLayer([]string{"TestSpace"}, "T-1", NewHelmConfig, false)
|
data, err := objects.NewDataLayer([]string{"TestSpace"}, "T-1", NewHelmConfig, false)
|
||||||
|
|
||||||
@@ -130,7 +130,7 @@ func TestContextSetter(t *testing.T) {
|
|||||||
w := httptest.NewRecorder()
|
w := httptest.NewRecorder()
|
||||||
con := GetTestGinContext(w)
|
con := GetTestGinContext(w)
|
||||||
|
|
||||||
// Required arguements
|
// Required arguments
|
||||||
data, err := objects.NewDataLayer([]string{"TestSpace"}, "T-1", NewHelmConfig, false)
|
data, err := objects.NewDataLayer([]string{"TestSpace"}, "T-1", NewHelmConfig, false)
|
||||||
|
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|||||||
@@ -40,7 +40,7 @@
|
|||||||
{
|
{
|
||||||
"name": "ns",
|
"name": "ns",
|
||||||
"in": "path",
|
"in": "path",
|
||||||
"description": "Name of kubernetes namespace, use '[emtpy]' if you want to use k8s context default"
|
"description": "Name of kubernetes namespace, use '[empty]' if you want to use k8s context default"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"post": {
|
"post": {
|
||||||
|
|||||||
@@ -33,7 +33,7 @@ func ChartAndVersion(x string) (string, string, error) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func TempFile(txt string) (string, func(), error) {
|
func TempFile(txt string) (string, func(), error) {
|
||||||
file, err := os.CreateTemp("", "helm_dahsboard_*.yaml")
|
file, err := os.CreateTemp("", "helm_dashboard_*.yaml")
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return "", nil, err
|
return "", nil, err
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user