https://github.com/hardyscc/openshift-charts
https://github.com/hardyscc/openshift-charts
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/hardyscc/openshift-charts
- Owner: hardyscc
- Created: 2019-01-19T06:12:43.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-07-29T06:37:06.000Z (almost 7 years ago)
- Last Synced: 2025-01-14T00:33:03.993Z (over 1 year ago)
- Language: Smarty
- Size: 682 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# helm-repo-in-gitlab
This is a sample for how to setup a helm repo in gitlab without pages. This is usable even for private repositories.
# Build the dependency
```bash
$ helm dependency update $YOUR_CHART_PATH/ # build the dependency tgz file
$ helm dependency build $YOUR_CHART_PATH/ # build the dependency tgz file
```
# Adding a new version or chart to this repo
```bash
$ helm package $YOUR_CHART_PATH/ # build the tgz file and copy it here
$ helm repo index . # create or update the index.yaml for repo
$ git add .
$ git commit -m 'New chart version'
```
# How to use it as a helm repo
You might know gitlab has a raw view. So simply use the following:
```bash
$ helm repo add openshift 'https://raw.githubusercontent.com/hardyscc/openshift-charts/master'
$ helm repo update
$ helm search auto-deploy-app
NAME CHART VERSION APP VERSION DESCRIPTION
openshift/auto-deploy-app 0.0.1 GitLab's Auto-deploy Helm Chart (OpenShift)
```