-
Notifications
You must be signed in to change notification settings - Fork 4
feat: add smtp configurations #86
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
xiangyisss
wants to merge
19
commits into
main
Choose a base branch
from
EXVT-5953
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
f0924ad
chore: add proximity options
xiangyisss 50d15ba
chore: add smtp and logfiles cofigurations
xiangyisss 89d6829
chore: merge main
xiangyisss 547e56e
chore: update smtp values and create smtp folder
xiangyisss 1088eaf
chore: update logfiles keys in configmap and adjust smtp secret
xiangyisss 5fdbf84
chore: set default value for smtp
xiangyisss 7396d29
chore: enhance SMTP configuration by adding missing fields and updati…
linuxluigi b75f01b
chore: refactor SMTP configuration to use communications structure an…
linuxluigi 10fc414
Merge origin into local
xiangyisss 56cd1eb
chore: remove log files option
xiangyisss 66cbbed
chore: fix helm lint
xiangyisss cf8066a
chore: remove logfiles from values.yaml
xiangyisss dbee07a
chore: update SMTP configuration to conditionally include settings in…
xiangyisss feac806
chore: update release-notes action to use specific authentication branch
linuxluigi 3d21bb3
chore: update release-notes action to use main branch for authentication
linuxluigi a10cb7a
chore: update release-notes action to use specific authentication branch
linuxluigi 5a18a39
chore: update release-notes action to use main branch for authentication
linuxluigi f8744dd
Merge remote-tracking branch 'origin/main' into EXVT-5953
xiangyisss 2705a38
Merge remote-tracking branch 'origin/EXVT-5953' into EXVT-5953
xiangyisss File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
apiVersion: v1 | ||
kind: ConfigMap | ||
metadata: | ||
name: {{ include "exivity.fullname" $ }}-config-smtp | ||
labels: | ||
{{- include "exivity.labels" $ | indent 4 }} | ||
data: | ||
{{- if and .Values.communications .Values.communications.smtp }} | ||
{{- if .Values.communications.smtp.driver }} | ||
EXIVITY_MAIL_DRIVER: {{ .Values.communications.smtp.driver | quote }} | ||
{{- end }} | ||
{{- if .Values.communications.smtp.host }} | ||
EXIVITY_MAIL_HOST: {{ .Values.communications.smtp.host | quote }} | ||
{{- end }} | ||
{{- if .Values.communications.smtp.port }} | ||
EXIVITY_MAIL_PORT: {{ .Values.communications.smtp.port | quote }} | ||
{{- end }} | ||
{{- if .Values.communications.smtp.fromAddress }} | ||
EXIVITY_MAIL_FROM_ADDRESS: {{ .Values.communications.smtp.fromAddress | quote }} | ||
{{- end }} | ||
{{- if .Values.communications.smtp.fromName }} | ||
EXIVITY_MAIL_FROM_NAME: {{ .Values.communications.smtp.fromName | quote }} | ||
{{- end }} | ||
{{- if .Values.communications.smtp.encryption }} | ||
EXIVITY_MAIL_ENCRYPTION: {{ .Values.communications.smtp.encryption | quote }} | ||
{{- end }} | ||
{{- if .Values.communications.smtp.smtpVerifyPeer }} | ||
EXIVITY_MAIL_SMTP_VERIFY_PEER: {{ .Values.communications.smtp.smtpVerifyPeer | quote }} | ||
{{- end }} | ||
{{- end }} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{{- if and .Values.communications.smtp .Values.communications.smtp.auth .Values.communications.smtp.auth.username .Values.communications.smtp.auth.password }} | ||
apiVersion: v1 | ||
kind: Secret | ||
metadata: | ||
name: {{ include "exivity.fullname" $ }}-smtp-secret | ||
labels: | ||
{{- include "exivity.labels" $ | indent 4 }} | ||
type: Opaque | ||
data: | ||
EXIVITY_MAIL_USERNAME: {{ .Values.communications.smtp.auth.username | b64enc }} | ||
EXIVITY_MAIL_PASSWORD: {{ .Values.communications.smtp.auth.password | b64enc }} | ||
{{- end }} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -78,6 +78,22 @@ storage: | |
import: 1Gi | ||
report: 1Gi | ||
|
||
communications: | ||
{} | ||
# SMTP settings | ||
# smtp: | ||
# driver: smtp # mail "driver" (e.g. smtp) | ||
# host: smtp.example.com # SMTP server hostname | ||
# port: 465 # SMTP server port | ||
# encryption: tls # one of: none | ssl | tls | ||
# verifyPeer: true # verify certificate trust chain and hostname | ||
# fromAddress: [email protected] | ||
# fromName: Exivity | ||
# auth: | ||
# username: info@your-domain | ||
# password: SuperSecure | ||
|
||
|
||
# Configuration for PostgreSQL, either as an embedded database using the Bitnami PostgreSQL chart or an external database. | ||
# It is recommended to use an external PostgreSQL server for production environments to ensure scalability and manageability. | ||
# The embedded PostgreSQL chart is primarily intended for testing and non-production purposes. | ||
|
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.