mirror of
https://github.com/komodorio/helm-dashboard.git
synced 2026-03-24 11:48:04 +00:00
Document the minimal install
This commit is contained in:
2
.github/workflows/release.yaml
vendored
2
.github/workflows/release.yaml
vendored
@@ -26,3 +26,5 @@ jobs:
|
|||||||
args: release --rm-dist
|
args: release --rm-dist
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
- name: Test Binary Versions
|
||||||
|
run: "dist/helm-dashboard_linux_amd64_v1/helm-dashboard --help"
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
builds:
|
builds:
|
||||||
- main: ./main.go
|
- main: ./main.go
|
||||||
binary: helm-dashboard
|
binary: helm-dashboard
|
||||||
ldflags: -s -w -X github.com/komodorio/helm-dashboard/main.version={{.Version}} -X github.com/komodorio/helm-dashboard/main.commit={{.Commit}}
|
ldflags: -s -w -X main.version={{.Version}} -X main.version={{.Version}} -X main.version={{.Version}} -X main.date={{.Date}}
|
||||||
goos:
|
goos:
|
||||||
- windows
|
- windows
|
||||||
- darwin
|
- darwin
|
||||||
|
|||||||
21
README.md
21
README.md
@@ -2,6 +2,27 @@
|
|||||||
|
|
||||||
A simplified way of working with Helm.
|
A simplified way of working with Helm.
|
||||||
|
|
||||||
|
## Local Testing
|
||||||
|
|
||||||
|
Until we make our repo public, we have to use a custom way to install the plugin.
|
||||||
|
|
||||||
|
To install, checkout the source code and run from source dir:
|
||||||
|
```shell
|
||||||
|
helm plugin install .
|
||||||
|
```
|
||||||
|
|
||||||
|
There is a need to build binary for plugin to function, run:
|
||||||
|
```shell
|
||||||
|
go build -o bin/dashboard .
|
||||||
|
```
|
||||||
|
|
||||||
|
Local install of plugin just creates a symlink, so making the changes and rebuilding the binary would not require reinstall of a plugin.
|
||||||
|
|
||||||
|
To uninstall, run:
|
||||||
|
```shell
|
||||||
|
helm plugin uninstall dashboard
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
## Roadmap
|
## Roadmap
|
||||||
|
|
||||||
|
|||||||
5
main.go
5
main.go
@@ -10,11 +10,12 @@ import (
|
|||||||
|
|
||||||
var (
|
var (
|
||||||
version = "dev"
|
version = "dev"
|
||||||
commit = "dev"
|
commit = "none"
|
||||||
|
date = "unknown"
|
||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
log.Infof("Helm Dashboard by Komodor, version %s (%s)", version, commit)
|
log.Infof("Helm Dashboard by Komodor, version %s (%s @ %s)", version, commit, date)
|
||||||
|
|
||||||
if len(os.Args) > 1 {
|
if len(os.Args) > 1 {
|
||||||
os.Exit(0)
|
os.Exit(0)
|
||||||
|
|||||||
Reference in New Issue
Block a user