Compare commits

...

7 Commits

Author SHA1 Message Date
0f2602fb5a edited version 2025-03-23 20:37:51 +01:00
835e6924cf edited configmap 2025-03-23 20:32:38 +01:00
e81b3dee2f Update readme.md 2025-03-23 18:10:36 +01:00
3a3efdb30b Merge branch 'main' of https://github.com/rtomik/helm-charts 2025-03-23 17:32:41 +01:00
439b8acea7 v1.0.0 2025-03-23 17:32:12 +01:00
4a4c84a1f5 Update release.yml 2025-03-23 17:29:18 +01:00
305404263a Create release.yml 2025-03-23 17:27:48 +01:00
4 changed files with 38 additions and 4 deletions

33
.github/workflows/release.yml vendored Normal file
View 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

View File

@ -2,7 +2,7 @@ apiVersion: v2
name: donetick
description: A Helm chart for Donetick application
type: application
version: 0.1.0
version: 1.0.1
appVersion: "latest"
maintainers:
- name: Richard Tomik

View File

@ -18,7 +18,7 @@ To install the chart with the release name `my-donetick`:
```bash
$ 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`
@ -107,4 +107,4 @@ $ helm delete my-donetick
| `persistence.enabled` | Enable persistence using PVC | `true` |
| `persistence.storageClass` | PVC Storage Class | `"longhorn"` |
| `persistence.accessMode` | PVC Access Mode | `ReadWriteOnce` |
| `persistence.size` |
| `persistence.size` |

View File

@ -64,7 +64,8 @@ data:
appHost: {{ .Values.config.email.appHost | default "" | quote }}
oauth2:
{{- 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 }}
client_id: {{ .Values.config.oauth2.client_id | default "" | quote }}
client_secret: {{ .Values.config.oauth2.client_secret | default "" | quote }}