helm-broker/

directory
v0.0.0-...-1ac4f16 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 7, 2019 License: Apache-2.0

README

Helm Broker

Overview

The Helm Broker is an implementation of a service broker which runs on the Kyma cluster and deploys applications into the Kubernetes cluster using Kyma bundles, and the Helm client. A bundle is an abstraction layer over a Helm chart which allows you to represent it as a ClusterServiceClass in the Service Catalog. For example, a bundle can provide plan definitions or binding details. The Helm Broker fetches bundles definitions from an HTTP servers. A list of HTTP bundles repositories is defined in the config map and can be changed in the runtime.

For the details about Helm Broker configuration, see this document. See How to create a bundle and Binding bundles to learn more about the bundles. The Helm Broker implements the Service Broker API. For more information about the Service Brokers, see the Service Brokers overview document.

Prerequisites

You need the following tools to set up the project:

  • The 1.9 or higher version of Go
  • The latest version of Docker
  • The latest version of Dep

Development

Before each commit, use the before-commit.sh script, which tests your changes.

Run a local version

To run the application without building a binary file, run this command:

APP_KUBECONFIG_PATH=/Users/$User/.kube/config APP_CONFIG_FILE_NAME=contrib/minimal-config.yaml  APP_CLUSTER_SERVICE_BROKER_NAME=helm-broker APP_HELM_BROKER_URL=http://localhost:8080 APP_NAMESPACE=kyma-system go run cmd/broker/main.go

NOTE: Not all features are available when you run the Helm Broker locally. All features which perform actions with Tiller do not work.

Directories

Path Synopsis
cmd
bind/automock
Code generated by mockery v1.0.0
Code generated by mockery v1.0.0
broker/automock
Code generated by mockery v1.0.0 Code generated by mockery v1.0.0 Code generated by mockery v1.0.0 Code generated by mockery v1.0.0 Code generated by mockery v1.0.0 Code generated by mockery v1.0.0 Code generated by mockery v1.0.0 Code generated by mockery v1.0.0
Code generated by mockery v1.0.0 Code generated by mockery v1.0.0 Code generated by mockery v1.0.0 Code generated by mockery v1.0.0 Code generated by mockery v1.0.0 Code generated by mockery v1.0.0 Code generated by mockery v1.0.0 Code generated by mockery v1.0.0
bundle/automock
Code generated by mockery v1.0.0 Code generated by mockery v1.0.0 Code generated by mockery v1.0.0 Code generated by mockery v1.0.0
Code generated by mockery v1.0.0 Code generated by mockery v1.0.0 Code generated by mockery v1.0.0 Code generated by mockery v1.0.0
helm/automock
Code generated by mockery v1.0.0
Code generated by mockery v1.0.0
platform/logger/spy
Package spy provides an implementation of go-sdk.logger that helps test logging.
Package spy provides an implementation of go-sdk.logger that helps test logging.
storage/testing
Package testing provides test functions for storage.
Package testing provides test functions for storage.
platform
logger
Package logger is responsible for logging.
Package logger is responsible for logging.
logger/spy
Package spy provides an implementation of go-sdk.logger that helps test logging.
Package spy provides an implementation of go-sdk.logger that helps test logging.
ptr
Package ptr provides conversion rules to pointers for DTO construction.
Package ptr provides conversion rules to pointers for DTO construction.
time
Package time provide features which supplements standard time package.
Package time provide features which supplements standard time package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL