mirror of
https://github.com/rtomik/helm-charts.git
synced 2026-04-09 03:30:46 +00:00
Compare commits
7 Commits
gh-pages
...
donetick-1
| Author | SHA1 | Date | |
|---|---|---|---|
| 0f2602fb5a | |||
| 835e6924cf | |||
| e81b3dee2f | |||
| 3a3efdb30b | |||
| 439b8acea7 | |||
| 4a4c84a1f5 | |||
| 305404263a |
33
.github/workflows/release.yml
vendored
Normal file
33
.github/workflows/release.yml
vendored
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
name: Release Charts
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
release:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
permissions:
|
||||||
|
contents: write # Needed for chart-releaser to push to gh-pages
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
with:
|
||||||
|
fetch-depth: 0
|
||||||
|
|
||||||
|
- name: Configure Git
|
||||||
|
run: |
|
||||||
|
git config user.name "$GITHUB_ACTOR"
|
||||||
|
git config user.email "$GITHUB_ACTOR@users.noreply.github.com"
|
||||||
|
|
||||||
|
- name: Install Helm
|
||||||
|
uses: azure/setup-helm@v3
|
||||||
|
with:
|
||||||
|
version: v3.12.1
|
||||||
|
|
||||||
|
- name: Run chart-releaser
|
||||||
|
uses: helm/chart-releaser-action@v1.5.0
|
||||||
|
env:
|
||||||
|
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
|
||||||
|
CR_SKIP_EXISTING: true
|
||||||
@ -2,7 +2,7 @@ apiVersion: v2
|
|||||||
name: donetick
|
name: donetick
|
||||||
description: A Helm chart for Donetick application
|
description: A Helm chart for Donetick application
|
||||||
type: application
|
type: application
|
||||||
version: 0.1.0
|
version: 1.0.1
|
||||||
appVersion: "latest"
|
appVersion: "latest"
|
||||||
maintainers:
|
maintainers:
|
||||||
- name: Richard Tomik
|
- name: Richard Tomik
|
||||||
|
|||||||
@ -18,7 +18,7 @@ To install the chart with the release name `my-donetick`:
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ helm repo add donetick-chart https://rtomik.github.io/helm-charts
|
$ helm repo add donetick-chart https://rtomik.github.io/helm-charts
|
||||||
$ helm install my-donetick donetick-chart/donetick
|
$ helm install donetick donetick-chart/donetick
|
||||||
```
|
```
|
||||||
|
|
||||||
> **Tip**: List all releases using `helm list`
|
> **Tip**: List all releases using `helm list`
|
||||||
@ -107,4 +107,4 @@ $ helm delete my-donetick
|
|||||||
| `persistence.enabled` | Enable persistence using PVC | `true` |
|
| `persistence.enabled` | Enable persistence using PVC | `true` |
|
||||||
| `persistence.storageClass` | PVC Storage Class | `"longhorn"` |
|
| `persistence.storageClass` | PVC Storage Class | `"longhorn"` |
|
||||||
| `persistence.accessMode` | PVC Access Mode | `ReadWriteOnce` |
|
| `persistence.accessMode` | PVC Access Mode | `ReadWriteOnce` |
|
||||||
| `persistence.size` |
|
| `persistence.size` |
|
||||||
|
|||||||
@ -64,7 +64,8 @@ data:
|
|||||||
appHost: {{ .Values.config.email.appHost | default "" | quote }}
|
appHost: {{ .Values.config.email.appHost | default "" | quote }}
|
||||||
oauth2:
|
oauth2:
|
||||||
{{- if .Values.config.oauth2.existingSecret }}
|
{{- if .Values.config.oauth2.existingSecret }}
|
||||||
# Client ID and Secret will be injected from Secret
|
client_id: $DT_OAUTH2_CLIENT_ID
|
||||||
|
client_secret: $DT_OAUTH2_CLIENT_SECRET
|
||||||
{{- else }}
|
{{- else }}
|
||||||
client_id: {{ .Values.config.oauth2.client_id | default "" | quote }}
|
client_id: {{ .Values.config.oauth2.client_id | default "" | quote }}
|
||||||
client_secret: {{ .Values.config.oauth2.client_secret | default "" | quote }}
|
client_secret: {{ .Values.config.oauth2.client_secret | default "" | quote }}
|
||||||
|
|||||||
Reference in New Issue
Block a user