Skip to content

Commit

Permalink
Changed route-smtp.yaml to only be created if smtp service is enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
mhaswell-bcgov committed Jan 15, 2024
1 parent 77d5908 commit 6a735db
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Binary file modified docs/helm/notify-bc-2.0.0.tgz
Binary file not shown.
2 changes: 2 additions & 0 deletions helm/templates/route-smtp.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{{- if .Values.service.smtp.enabled -}}
{{- if .Capabilities.APIVersions.Has "route.openshift.io/v1/Route" }}
{{- $fullName := include "NotifyBC.fullname" . -}}
apiVersion: route.openshift.io/v1
Expand All @@ -18,3 +19,4 @@ spec:
kind: Service
name: {{ $fullName }}
{{- end }}
{{- end }}

0 comments on commit 6a735db

Please sign in to comment.