Giter Site home page Giter Site logo

lib-app's Introduction

Go Report Card Build Status codecov Docker Pulls Slack Twitter

Kubepack

Configure Helm

helm repo add kubepack-bundles https://bundles.kubepack.com
helm repo add stable https://kubernetes-charts.storage.googleapis.com
helm repo update

Generate Test Bundles

$ go run cmd/bundle-generator/main.go --name=csi-vault-bundle --charts https://charts.appscode.com/stable/@[email protected]

$ go run cmd/bundle-generator/main.go --name=vault-operator-bundle \
  --charts https://charts.appscode.com/stable/@[email protected] \
  --charts https://charts.appscode.com/stable/@[email protected] \
  --bundles https://bundles.kubepack.com@[email protected]

$ go run cmd/bundle-generator/main.go --name=stash-mongodb-bundle \
  --charts https://charts.appscode.com/stable/@[email protected]:true,3.6.13:true,4.0.11:true,4.1.13:true@required@anyof

$ go run cmd/bundle-generator/main.go --name=stash-bundle \
  --charts https://bundles.kubepack.com@[email protected] \
  --bundles https://bundles.kubepack.com@[email protected]

# $ go run cmd/bundle-generator/main.go --name=cert-manager-bundle --charts https://charts.jetstack.io@[email protected]@@@cert-manager

$ go run cmd/bundle-generator/main.go --name=kubedb-bundle \
  --charts https://charts.appscode.com/stable/@[email protected] \
  --charts https://charts.appscode.com/stable/@[email protected] \
  --charts https://charts.jetstack.io@[email protected]@optional@@cert-manager \
  --bundles https://bundles.kubepack.com@[email protected]

$ ./hack/publish-testcharts.sh

Generate BundleView from a Bundle

$ go run cmd/bundleview-generator/main.go

Generate Order from a BundleView

$ go run cmd/order-generator/main.go

Generate Application from a selected Chart in an Order

$ go run cmd/app-generator/main.go

Generate PackageView for a Chart

$ go run cmd/packageview-generator/main.go

Generate Install scripts

Site for Hosting User YAMLs & Scripts

https://usercontent.kubepack.com. These files are public and hosted on Google Cloud Storage Bucket gs://usercontent.kubepack.com.

Helm 3

$ go run cmd/helm3-command-generator/main.go

Helm 2

$ go run cmd/helm2-command-generator/main.go

YAML

$ go run cmd/install-yaml-generator/main.go

Check Permission

$ go run cmd/permission-checker/main.go

Install / Uninstall Chart

$ go run cmd/install-order/main.go
$ go run cmd/uninstall-order/main.go

Read Helm Hub index to determine Chart Repository Name

$ go run cmd/helm-hub-reader/main.go

lib-app's People

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

lib-app's Issues

Delete app fails with regex error

curl 'http://127.0.0.1:4000/clusters/kubedb-demo-ui.us-central.linode/editor' \
  -X 'PUT' \
  -H 'Accept: application/json, text/plain, */*' \
  -H 'Content-Type: application/json;charset=UTF-8' \
  --data-raw '{"metadata":{"release":{"name":"demo-mongo","namespace":"default"},"resource":{"group":"kubedb.com","kind":"MongoDB","name":"mongodbs","scope":"Namespaced","version":"v1alpha2"}},"resources":{"appApplication":{"apiVersion":"app.k8s.io/v1beta1","kind":"Application","metadata":{"annotations":{"meta.helm.sh/chart-name":"kubedbcom-mongodb-editor","meta.helm.sh/chart-url":"https://bundles.byte.builders/ui/","meta.helm.sh/chart-version":"v0.1.0"},"labels":{"app.kubernetes.io/instance":"demo-mongo","app.kubernetes.io/managed-by":"Helm","app.kubernetes.io/name":"mongodbs.kubedb.com"},"name":"demo-mongo","namespace":"default"},"spec":{"assemblyPhase":"Ready","componentKinds":[{"group":"app.k8s.io","kind":"Application"},{"group":"kubedb.com","kind":"MongoDB"},{"group":"","kind":"Secret"},{"group":"cert-manager.io","kind":"Issuer"},{"group":"monitoring.coreos.com","kind":"ServiceMonitor"},{"group":"stash.appscode.com","kind":"Repository"},{"group":"stash.appscode.com","kind":"BackupConfiguration"},{"group":"stash.appscode.com","kind":"RestoreSession"}],"descriptor":{"description":"MongoDB Editor UI Options","icons":[{"src":"https://cdn.appscode.com/images/products/kubedb/kubedb-community-icon.png","type":"image/png"}],"links":[{"description":"website","url":"https://byte.builders"}],"maintainers":[{"email":"[email protected]","name":"appscode"}],"type":"mongodbs.kubedb.com"},"selector":{"matchLabels":{"app.kubernetes.io/instance":"demo-mongo","app.kubernetes.io/name":"mongodbs.kubedb.com"}}}},"kubedbComMongoDB":{"apiVersion":"kubedb.com/v1alpha2","kind":"MongoDB","metadata":{"labels":{"app.kubernetes.io/instance":"demo-mongo","app.kubernetes.io/managed-by":"Helm","app.kubernetes.io/name":"mongodbs.kubedb.com"},"name":"demo-mongo","namespace":"default"},"spec":{"clusterAuthMode":"keyFile","podTemplate":{"spec":{"resources":{"limits":{"cpu":".5","memory":"1024Mi"}}}},"replicas":1,"sslMode":"disabled","storage":{"accessModes":["ReadWriteOnce"],"resources":{"requests":{"storage":"10Gi"}},"storageClassName":"linode-block-storage-retain"},"storageType":"Durable","terminationPolicy":"WipeOut","version":"4.2.3"}}},"spec":{"version":"4.2.3"}}' \
  --compressed


curl 'http://127.0.0.1:4000/clusters/kubedb-demo-ui.us-central.linode/editor/namespaces/default/releases/demo-mongo' \
  -X 'DELETE' \
  -H 'Accept: application/json, text/plain, */*' \
  --compressed \
  --insecure

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.