chart-repo-handler

command
v0.0.0-...-fcf42dd Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2020 License: Apache-2.0 Imports: 16 Imported by: 0

README

Chart Repo Handler - a swift http frontend for helm

This project aims to let unmodified http clients to access Openstack Swift object store. Furthermore it acts as a helm chart repo with storage capabilities.

Motivation

The motivation is that usually object stores (like S3) has API for static HTTP content hosting for standard HTTP clients (like web browsers). As Swift uses custom HTTP headers for authentication, it is not working OOTB. This swift behavior makes impossible to use swift directly with helm so this project is a middle layer between them.

Usage

The frontend is configured through environment variables. These are the credentials for the object store and the targeted container in it. To enable TLS for Swift backend, use https in AUTHURL and set the location of RootCA pem file in the TLSCAPATH variable. See env.sh for a sample.

Details

  • Written in go, targeted to be a 12 factor app
  • Uses ncw/swift as the most mature client API towards the Swift object store
  • Uses gorilla/mux to decode HTTP requests
  • Borrows some of the helm packages to maintain index.yaml file for the charts

This work is licensed under a Creative Commons Attribution 4.0 International License.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
pkg
api
chartutil
tonyaw: refer to "kubernetes/helm/pkg/chartutil/load.go"
tonyaw: refer to "kubernetes/helm/pkg/chartutil/load.go"
repo
tonyaw: refer to "kubernetes/helm/pkg/repo/index.go"
tonyaw: refer to "kubernetes/helm/pkg/repo/index.go"

Jump to

Keyboard shortcuts

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