Skip to content

Automatically scan and package your chart app in your git repository. And generate a docker image. You can deploy it as a kubernetes app and automatically update the app using the Jenkins pipeline. Provide a private helm chart repository service within the company.

License

Notifications You must be signed in to change notification settings

aliasmee/helm-private-repository

Repository files navigation

Helm-private-repository

Automatically scan and package your chart app in your git repository. And generate a docker image. You can deploy it as a kubernetes app and automatically update the app using the Jenkins pipeline. Provide a private helm chart repository service within the company.

Getting Started

These instructions will cover usage information and for the docker container

Prerequisities

In order to run this container you'll need docker installed.

What's Helm Repository?

A Repository is the place where charts can be collected and shared. It’s like Perl’s CPAN archive or the Fedora Package Database, but for Kubernetes packages.Helm installs charts into Kubernetes, creating a new release for each installation. And to find new charts, you can search Helm chart repositories.

Usage

Running Example

docker run -it --rm -p 8088:8088 -e HELM_REPO_PORT=8088 -e HELM_REPO_URL="http://charts.example.com" image_name

Environment Variables

When you start the helm-private-repo image, you can adjust the configuration of the helm-repo instance by passing one or more environment variables on the docker run command line.

HELM_REPO_URL:

This variable is mandatory and specifies the url that will be set for the helm repository.

HELM_REPO_PORT:

This variable is mandatory. Do note the port on which the helm repository is running needs to be the same as the port exposed outside.

Demo

  • Build the docker image and start it locally:

asciicast

  • Test the helm private repository:

asciicast

Notes: The port at which the container is running must be consistent with the port exposed.

Built With

  • Base image python:3.6.6-alpine3.7

Find Us

Authors

License

This project is licensed under the MIT License - see the LICENSE.md file for details.

Acknowledgments

About

Automatically scan and package your chart app in your git repository. And generate a docker image. You can deploy it as a kubernetes app and automatically update the app using the Jenkins pipeline. Provide a private helm chart repository service within the company.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published