Skip to content

Commit

Permalink
Dbp 805 include configmaps and cronjobs to helm chart (#31)
Browse files Browse the repository at this point in the history
* Initial push

* Added existing tasks of the ansible playbook to helm chart

* Added remaining templates from original playbook except secrets

* Fix some small variable issues so that the chart is in a working state

* renaming variables, added gitignore

* add subfolders, rename files to follow helm best practices

* lowercase ns

* fix namespace issue. helm v3 is not supposed to create the namespace it installs into. use helm install ... -n target-namespace

* rename duply map to lower

* Add alias for backup

* move infratools_image_tag to globals trying out Yaml anchors

* add update helper configs

* move infratools_image_tag to globals trying out Yaml anchors

* add values for backup-cronjob

* moodle-> dbpMoodle & small stuff

* Moodle Values added for bitnami test deployment

* mariaDB values are not working as intended for subchart mariadb and moodle

* Fixed config.php and moodle values

* changed comment

* change valeus to use correct secrets

* Changed secrets and values for external mariadb

* remove mariadb

* rename moodleSecre

* add mariadb values in seperate chart

* testing moodle db connection

* enable debug

* quote values

* Redis is working

* value refactoring

* remove some unneccessary values from Chart.yaml

* change to consistent naming

* Created more exclusion checks for update and backup files

* Enabled the use of etherpad

* Added etherpad secrets

* WIP: etherpad not working currently

* minor value and condition refactoring

* Create Readme, quote a bunch of vars

* bump version

* Rename folders and fix typos

* Fixed quotation error and added existing secret to redis

* Adjusted redis values and disabled redis by default

* Modified external PVC to ReadWriteMany

* Final changes

* Changed charts_dir

---------

Co-authored-by: Jannik Badenhop <[email protected]>
  • Loading branch information
marhode and JannikBadenhop authored Jun 21, 2024
1 parent fad1bc7 commit 038d75f
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/helm-chart-release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Release Charts
on:
workflow_dispatch:
push:
branches:
- main

jobs:
release:
runs-on: ubuntu-latest
permissions:
contents: write
packages: write
steps:
- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 #v4.1.1
with:
fetch-depth: 0

- name: Configure Git
run: |
git config user.name "$GITHUB_ACTOR"
git config user.email "[email protected]"
- name: Add Helm dependencies
run: helm repo add bitnami https://charts.bitnami.com/bitnami

- name: Run chart-releaser
uses: helm/chart-releaser-action@a917fd15b20e8b64b94d9158ad54cd6345335584 #v1.6.0
with:
charts_dir: charts
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"

0 comments on commit 038d75f

Please sign in to comment.