Skip to content

Commit

Permalink
fix: up maildev chart (#374)
Browse files Browse the repository at this point in the history
Co-authored-by: Julien Bouquillon <[email protected]>
  • Loading branch information
devthejo and Julien Bouquillon authored Jul 28, 2023
1 parent dba58b7 commit f345019
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 7 deletions.
4 changes: 0 additions & 4 deletions plugins/contrib/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,6 @@ dependencies:
repository: file://./charts/job
version: 1.136.2
condition: job.enabled
- name: maildev
degit: SocialGouv/helm-charts/charts/maildev@v1
version: "1"
condition: maildev.enabled
- name: metabase
repository: file://./charts/metabase
version: 1.136.2
Expand Down
3 changes: 0 additions & 3 deletions plugins/contrib/values.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
contrib-helpers:
enabled: true

maildev:
enabled: false
pgweb:
enabled: false
app:
Expand Down
4 changes: 4 additions & 0 deletions plugins/fabrique/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ dependencies:
repository: file://./charts/pg
version: 1.161.4
condition: pg.enabled
- name: maildev
repository: file://./charts/maildev
version: 1.136.3
condition: maildev.enabled
- name: keycloakx
repository: https://codecentric.github.io/helm-charts
version: 2.1.1
Expand Down
8 changes: 8 additions & 0 deletions plugins/fabrique/charts/maildev/Chart.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
apiVersion: v2
name: maildev
version: 1.136.3
dependencies:
- name: maildev
degit: socialgouv/helm-charts/charts/maildev@v1
condition: maildev.enabled
version: "1"
10 changes: 10 additions & 0 deletions plugins/fabrique/charts/maildev/values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
maildev:
enabled: true
~tpl~host: '{{ tpl (or .Values.host (print (or .Values.component (index .Values.kontinuous.chartContext 2)) "-" (or .Values.global.host ""))) $ }}'
~tpl~repositoryName: "{{ .Values.global.repositoryName }}"
ingress:
~tpl~annotations: "{{ .Values.global.ingress.annotations | toJson }}"
persistence:
~tpl~enabled: "{{ if (eq .Values.global.env `preprod`) }}true{{ else }}false{{ end }}"
cron:
~tpl~enabled: "{{ if (eq .Values.global.env `preprod`) }}true{{ else }}false{{ end }}"
2 changes: 2 additions & 0 deletions plugins/fabrique/values.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
pg:
enabled: false
maildev:
enabled: false
keycloakx:
enabled: false
contrib:
Expand Down

0 comments on commit f345019

Please sign in to comment.