Skip to content
Snippets Groups Projects
Commit 7e0f5480 authored by Maarten de Waard's avatar Maarten de Waard :angel:
Browse files

Merge branch '123-host-chart-in-helmrepository' into 'main'

Resolve "Host chart in HelmRepository"

Closes #123

See merge request !72
parents 23a46cd3 fb1552de
No related branches found
No related tags found
1 merge request!72Resolve "Host chart in HelmRepository"
Pipeline #10684 passed with stages
in 2 minutes and 25 seconds
include:
- remote: https://open.greenhost.net/stackspin/stackspin/raw/main/.gitlab/ci_templates/kaniko.yml
- remote: https://open.greenhost.net/stackspin/stackspin/-/raw/main/.gitlab/ci_templates/helm_package.yml
- template: 'Workflows/MergeRequest-Pipelines.gitlab-ci.yml'
stages:
- build
......@@ -7,6 +9,13 @@ stages:
# TODO: Re-enable after fixing #73
# - application-test
- integration-test
- lint-helm-chart
- package-helm-chart
- release-helm-chart
variables:
CHART_NAME: single-sign-on
CHART_DIR: helmchart/single-sign-on/
#login_test:
# image: python:3.8
......
......@@ -146,25 +146,25 @@ grantTypes:
## Installing and uninstalling the Chart
To install the chart with the realease name `single-sign-on` first clone the repository,
and then run helm install.
To install the chart, add our helm repository[^1] and run the installation:
```
$ git clone https://open.greenhost.net/stackspin/single-sign-on
$ cd single-sign-on/helmchart/single-sign-on/
$ helm install -n single-sign-on .
# helm repo add single-sign-on https://open.greenhost.net/api/v4/projects/8/packages/helm/api/stable
$ helm install -n single-sign-on single-sign-on/single-sign-on
```
The last command will deploy the single sign-on components on your server and applies a
default configuration. You should change the default configuration before running the command.
The [configuration](#configuration) section lists all configuration parameters.
In case you already ran the install command, you can uninstall the deployment by executing:
```
$ helm list # [OPTIONAL] - Lists all deployed releases
$ helm delete single-sign-on --purge
$ helm delete single-sign-on
```
> **WARNING**: Executing the `delete` command with the `purge` flag will delete all data that is related to the applications. Don't run this command in a production environment if you are not absolutely sure that you have a restorable backup of your data.
> **WARNING**: Executing the `delete` command will delete all data that is related to the applications. Don't run this command in a production environment if you are not absolutely sure that you have a restorable backup of your data.
[^1]: If you want to test a version that is not on the `main` branch yet, use `https://open.greenhost.net/api/v4/projects/8/packages/helm/unstable`
......@@ -4,6 +4,10 @@ All notable changes to this helm chart will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [0.5.1] - 2021-12-21
- Host chart on Helm Repository: https://open.greenhost.net/api/v4/projects/8/packages/helm/api/stable
## [0.5.0] - 2021-12-10
- Migrate ingress to networking.k8s.io/v1 API, needed for k8s >= 1.22
......
apiVersion: v1
description: A Helm chart for Stackspin's Single sign-on components
name: single-sign-on
version: 0.5.0
version: 0.5.1
Please refer to the [online documentation](.../helmchart)
Please refer to the [online documentation](../../docs//helmchart.md)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment