Project Name | Stars | Downloads | Repos Using This | Packages Using This | Most Recent Commit | Total Releases | Latest Release | Open Issues | License | Language |
---|---|---|---|---|---|---|---|---|---|---|
Dc Sdk | 653 | 7 | 12 days ago | 81 | July 16, 2022 | 17 | apache-2.0 | JavaScript | ||
DC-SDK is based on the open source project Cesium for the second development of two three-dimensional WebGis application framework , the framework optimizes the use of Cesium and adds some additional features , designed for developers to quickly build WebGis application.🌎 | ||||||||||
Helm Wrapper | 175 | 17 days ago | 7 | September 13, 2022 | 21 | mit | Go | |||
A Helm3 HTTP Server Wrapper by helm Go SDK, help you manage helm charts with HTTP RESTFul API | ||||||||||
Nr1 Workshop | 75 | 2 years ago | 76 | apache-2.0 | JavaScript | |||||
Self-paced training workshop for the NR1 CLI/SDK | ||||||||||
Wx Chart | 50 | 1 | 1 | 6 years ago | 11 | March 25, 2018 | 5 | mit | JavaScript | |
适用于微信小程序,普通站点的跨平台图形库。WeiXin APP chart | ||||||||||
Charts Embed Sdk | 37 | a month ago | 35 | September 28, 2022 | 8 | apache-2.0 | ||||
The easiest way to embed MongoDB Charts visualisations into your web app | ||||||||||
Hydro Sdk Charts | 13 | 6 months ago | 7 | apache-2.0 | TypeScript | |||||
Trading Chart SDK | ||||||||||
Nicechart | 12 | 8 years ago | Swift | |||||||
一个简单漂亮的模仿iOS8健康应用的图表(A simple and beautiful chart like iOS8 Health APP) | ||||||||||
Bluenimble Apps Android Sdk | 11 | 7 years ago | 12 | Java | ||||||
BlueNimble Apps SDK lets you create android NATIVE applications almost without writing a single line of code. You can create complex pages, styling components, adding effects and integrate with your backend using simple json configuration files. | ||||||||||
Dc Chart | 6 | 3 years ago | apache-2.0 | JavaScript | ||||||
DC-Chart 是 DC-SDK 与 Echarts 融合的产品。主要用于在 3D 场景中添加 echart 的统计图表。将统计图表 Gis 化 | ||||||||||
Vote Highcharts Pubnub | 6 | 4 years ago | unlicense | HTML | ||||||
Vote Demo using HighCharts and PubNub JavaScript V4 SDK. |
helm-wrapper is a helm3 HTTP wrapper with helm Go SDK. With helm-wrapper, you can use HTTP RESTFul API do something like helm commondline (install/uninstall/upgrade/get/list/rollback...).
release
related) need to support multiple clusters,you can use the parameters belowParams | Description |
---|---|
kube_context | Support distinguish multiple clusters by thekube_context
|
kube_config | Support distinguish multiple clusters by thekube_config
|
POST
/api/namespaces/:namespace/releases/:release?chart=<chartName>
POST Body:
{
"dry_run": false, // `--dry-run`
"disable_hooks": false, // `--no-hooks`
"wait": false, // `--wait`
"devel": false, // `--false`
"description": "", // `--description`
"atomic": false, // `--atomic`
"skip_crds": false, // `--skip-crds`
"sub_notes": false, // `--render-subchart-notes`
"create_namespace": false, // `--create-namespace`
"dependency_update": false, // `--dependency-update`
"values": "", // `--values`
"set": [], // `--set`
"set_string": [], // `--set-string`
"ca_file": "", // `--ca-file`
"cert_file": "", // `--cert-file`
"key_file": "", // `--key-file`
"insecure_skip_verify": false, // `--insecure-skip-verify`
"keyring": "", // `--keyring`
"password": "", // `--password`
"repo": "", // `--repo`
"username": "", // `--username`
"verify": false, // `--verify`
"version": "" // `--version`
}
"values"
-> helm install--values
option
helm uninstall
DELETE
/api/namespaces/:namespace/releases/:release
helm upgrade
PUT
/api/namespaces/:namespace/releases/:release?chart=<chartName>
PUT Body:
{
"dry_run": false, // `--dry-run`
"disable_hooks": false, // `--no-hooks`
"wait": false, // `--wait`
"devel": false, // `--false`
"description": "", // `--description`
"atomic": false, // `--atomic`
"skip_crds": false, // `--skip-crds`
"sub_notes": false, // `--render-subchart-notes`
"force": false, // `--force`
"install": false, // `--install`
"recreate": false, // `--recreate`
"reuse_values": false, // `--reuse-values`
"cleanup_on_fail": false, // `--cleanup-on-fail`
"values": "", // `--values`
"set": [], // `--set`
"set_string": [], // `--set-string`
"ca_file": "", // `--ca-file`
"cert_file": "", // `--cert-file`
"key_file": "", // `--key-file`
"insecure_skip_verify": false, // `--insecure-skip-verify`
"keyring": "", // `--keyring`
"password": "", // `--password`
"repo": "", // `--repo`
"username": "", // `--username`
"verify": false, // `--verify`
"version": "" // `--version`
}
"values"
-> helm install--values
option
PUT
/api/namespaces/:namespace/releases/:release/versions/:reversion
PUT Body (optional):
{
"dry_run": false, // `--dry-run`
"disable_hooks": false, // `--no-hooks`
"wait": false, // `--wait`
"force": false, // `--force`
"recreate": false, // `--recreate`
"cleanup_on_fail": false, // `--cleanup-on-fail`
"history_max": // `--history-max` int
}
GET
/api/namespaces/:namespace/releases
Body:
{
"all": false, // `--all`
"all_namespaces": false, // `--all-namespaces`
"by_date": false, // `--date`
"sort_reverse": false, // `--reverse`
"limit": , // `--max`
"offset": , // `--offset`
"filter": "", // `--filter`
"uninstalled": false, // `--uninstalled`
"uninstalling": false, // `--uninstalling`
"superseded": false, // `--superseded`
"failed": false, // `--failed`
"deployed": false, // `--deployed`
"pending": false // `--pending`
}
GET
/api/namespaces/:namespace/releases/:release
Params | Description |
---|---|
info | support hooks/manifest/notes/values, default values |
output | get values output format (only info==values), support json/yaml, default json |
helm release history
GET
/api/namespaces/:namespace/releases/:release/histories
helm show
GET
/api/charts
Params | Description |
---|---|
chart | chart name, required |
info | support all/readme/values/chart, default all |
version | --version |
GET
/api/repositories/charts
Params | Description |
---|---|
keyword | search keyword,required |
version | chart version |
versions | if "true", all versions |
helm repo list
GET
/api/repositories
helm repo update
PUT
/api/repositories
helm env
GET
/api/envs
upload chart
POST
/api/charts/upload
Params | Description |
---|---|
chart | upload chart file, with suffix .tgz |
GET
/api/charts/upload
Notes: helm-wrapper is Alpha status, no more test
type respBody struct {
Code int `json:"code"` // 0 or 1, 0 is ok, 1 is error
Data interface{} `json:"data,omitempty"`
Error string `json:"error,omitempty"`
}
make build
make build-linux // build helm-wrapper Linux binary
make build-docker // build docker image with helm-wrapper
$ helm-wrapper -h
Usage of helm-wrapper:
--addr string server listen addr (default "0.0.0.0")
--alsologtostderr log to standard error as well as files
--config string helm wrapper config (default "config.yaml")
--debug enable verbose output
--kube-context string name of the kubeconfig context to use
--kubeconfig string path to the kubeconfig file
--log_backtrace_at traceLocation when logging hits line file:N, emit a stack trace (default :0)
--log_dir string If non-empty, write log files in this directory
--logtostderr log to standard error instead of files (default true)
-n, --namespace string namespace scope for this request
--port string server listen port (default "8080")
--registry-config string path to the registry config file (default "/root/.config/helm/registry.json")
--repository-cache string path to the file containing cached repository indexes (default "/root/.cache/helm/repository")
--repository-config string path to the file containing repository names and URLs (default "/root/.config/helm/repositories.yaml")
--stderrthreshold severity logs at or above this threshold go to stderr (default 2)
-v, --v Level log level for V logs
--vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging
pflag: help requested
--config
helm-wrapper configuration:$ cat config-example.yaml
uploadPath: /tmp/charts
helmRepos:
- name: bitnami
url: https://charts.bitnami.com/bitnami
--kubeconfig
default kubeconfig path is ~/.kube/config
.About kubeconfig
, you can see Configure Access to Multiple Clusters.$ ./helm-wrapper --config </path/to/config.yaml> --kubeconfig </path/to/kubeconfig>
replace deployment/deployment.yaml with helm-wrapper image, then:
kubeclt create -f ./deployment
Noets: with deployment/rbac.yaml, you not need
--kubeconfig