chartserver

module
v0.0.0-...-08f4923 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2019 License: Apache-2.0

README

ChartServer is an in-cluster Helm Chart repository that maintains and serves an index of Helm charts. ChartServer uses Custom Resource Definitions (CRDs) to deploy new Charts and Chart Versions.

Quick Start

Install ChartServer

Deploy the ChartServer operator to a cluster:

helm repo add chartserver https://chart.sh/charts
helm install chartserver/chartserver

or

kubectl apply -f https://get.chart.sh
Create a Chart

A chart is not an installable chart. A chart will not be installable until at least 1 chart version has been deployed.

To create a chart, write a YAML descriptor of the chart:

apiVersion: chart.sh/v1beta1
kind: Chart
metadata:
  name: sample-chart
spec:
  name: my-chart-name
  location:
    download:
      uri: https://something

Now, kubectl apply -f this new file. You can verify it worked with:

kubectl get charts.chart.sh
Deploy a Chart Version

Create the first chart version:

apiVersion: chart.sh/v1beta1
kind: ChartVersion
metadata:
  name: sample-chart
spec:
  name: my-chart-name
  apPVersion: 1.0.0
  chartVersion: 0.1.0

Deploy this YAML using kubectl and list chart versions:

kubectl get chartversions.chart.sh
Install

ChartServer is now serving an index.yaml file at https://your-ingress-or-service/index.yaml

This will be updated every time a new chart is published.

Directories

Path Synopsis
cmd
config
pkg
apis
Package apis contains Kubernetes API groups.
Package apis contains Kubernetes API groups.
apis/chartserver/v1beta1
Package v1beta1 contains API Schema definitions for the chartserver v1beta1 API group +k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=github.com/charthq/chartserver/pkg/apis/chartserver +k8s:defaulter-gen=TypeMeta +groupName=chartserver.io Package v1beta1 contains API Schema definitions for the chartserver v1beta1 API group +k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=github.com/charthq/chartserver/pkg/apis/chartserver +k8s:defaulter-gen=TypeMeta +groupName=chartserver.io
Package v1beta1 contains API Schema definitions for the chartserver v1beta1 API group +k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=github.com/charthq/chartserver/pkg/apis/chartserver +k8s:defaulter-gen=TypeMeta +groupName=chartserver.io Package v1beta1 contains API Schema definitions for the chartserver v1beta1 API group +k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=github.com/charthq/chartserver/pkg/apis/chartserver +k8s:defaulter-gen=TypeMeta +groupName=chartserver.io
client/chartserverclientset
This package has the automatically generated clientset.
This package has the automatically generated clientset.
client/chartserverclientset/fake
This package has the automatically generated fake clientset.
This package has the automatically generated fake clientset.
client/chartserverclientset/scheme
This package contains the scheme of the automatically generated clientset.
This package contains the scheme of the automatically generated clientset.
client/chartserverclientset/typed/chartserver/v1beta1
This package has the automatically generated typed clients.
This package has the automatically generated typed clients.
client/chartserverclientset/typed/chartserver/v1beta1/fake
Package fake has the automatically generated clients.
Package fake has the automatically generated clients.

Jump to

Keyboard shortcuts

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