Skip to content

Commit

Permalink
feat: add conditions for postgres and traefik
Browse files Browse the repository at this point in the history
  • Loading branch information
tjorbo committed Mar 22, 2024
1 parent 483a9c9 commit 1af5ed0
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{{- if .Values.postgres.enabled -}}
apiVersion: cloud.dataport.de/v1alpha1
kind: PostgreSQL
metadata:
Expand Down
1 change: 1 addition & 0 deletions terminfinder-chart/charts/resources/templates/traefik.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{{- if .Values.traefik.enabled -}}
apiVersion: traefik.io/v1alpha1
kind: Middleware
metadata:
Expand Down
4 changes: 4 additions & 0 deletions terminfinder-chart/charts/resources/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,7 @@ postgres:
storageSize: "2Gi"
pgVersion: "15"
instances: 3
enabled: true

traefik:
enabled: true
4 changes: 4 additions & 0 deletions terminfinder-chart/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -293,3 +293,7 @@ terminfinder-resources:
storageSize: "2Gi"
pgVersion: "15"
instances: 3
enabled: true

traefik:
enabled: true

0 comments on commit 1af5ed0

Please sign in to comment.