Skip to content

Commit

Permalink
Merge branch 'next' into mail-config
Browse files Browse the repository at this point in the history
  • Loading branch information
case0sh committed Oct 19, 2023
2 parents 76e8728 + a99b6b0 commit 5349eef
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 15 deletions.
4 changes: 2 additions & 2 deletions charts/ocis/docs/values-desc-table.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -268,8 +268,8 @@ a| [subs=-attributes]
a| [subs=-attributes]
+string+
a| [subs=-attributes]
`"none"`
| Encryption method for the SMTP communication. Possible values are ‘starttls’, ‘ssl’, ‘ssltls’, ‘tls and ‘none’.
`"auto"`
| Values 'ssl' and 'tls' are deprecated and will be removed in version "6.0.0". Use 'starttls' instead of 'tls' and 'ssltls' instead of 'ssl'.
| features.emailNotifications.smtp.host
a| [subs=-attributes]
+string+
Expand Down
5 changes: 3 additions & 2 deletions charts/ocis/docs/values.adoc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -171,8 +171,9 @@ features:
# -- Authentication method for the SMTP communication. Possible values are ‘login’, ‘plain’, ‘crammd5’, ‘none’
# If set to another value than `none`, a secret referenced by `notificationsSmtpSecretRef` needs to be present.
authentication: none
# -- Encryption method for the SMTP communication. Possible values are ‘starttls’, ‘ssl’, ‘ssltls’, ‘tls’ and ‘none’.
encryption: none
# -- Encryption method for the SMTP communication. Possible values are ‘starttls’, ‘ssltls’, ‘auto’ and ‘none’.
# -- Values 'ssl' and 'tls' are deprecated and will be removed in version "6.0.0". Use 'starttls' instead of 'tls' and 'ssltls' instead of 'ssl'.
encryption: auto
branding:
# -- Enables mail branding. If enabled, you need to provide the text and html template ConfigMap.
# The image ConfigMap is optional.
Expand Down
9 changes: 3 additions & 6 deletions charts/ocis/templates/notifications/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ spec:
{{- include "ocis.containerSecurityContext" . | nindent 10 }}
env:
{{- include "ocis.serviceRegistry" . | nindent 12 }}

- name: OCIS_DEFAULT_LANGUAGE
value: {{ default "en" .Values.features.language.default | quote }}

- name: NOTIFICATIONS_LOG_COLOR
value: {{ .Values.logging.color | quote }}
Expand Down Expand Up @@ -97,12 +100,6 @@ spec:
{{- end }}
{{- end }}

- name: NOTIFICATIONS_MACHINE_AUTH_API_KEY
valueFrom:
secretKeyRef:
name: {{ include "secrets.machineAuthAPIKeySecret" . }}
key: machine-auth-api-key

- name: NOTIFICATIONS_SERVICE_ACCOUNT_ID
valueFrom:
configMapKeyRef:
Expand Down
6 changes: 3 additions & 3 deletions charts/ocis/templates/settings/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ spec:
env:
{{- include "ocis.serviceRegistry" . | nindent 12 }}

- name: OCIS_DEFAULT_LANGUAGE
value: {{ default "en" .Values.features.language.default | quote }}

- name: SETTINGS_LOG_COLOR
value: {{ .Values.logging.color | quote }}
- name: SETTINGS_LOG_LEVEL
Expand All @@ -45,9 +48,6 @@ spec:
- name: SETTINGS_DEBUG_PPROF
value: {{ .Values.debug.profiling | quote }}

- name: OCIS_DEFAULT_LANGUAGE
value: {{ default "en" .Values.features.language.default | quote }}

# cache
- name: SETTINGS_CACHE_STORE
value: {{ default "memory" .Values.cache.type | quote }}
Expand Down
3 changes: 1 addition & 2 deletions charts/ocis/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -218,8 +218,7 @@ features:
# the minimum amount of digits the password needs to have
minDigits: 0
# list of banned passwords
bannedPasswords:
[]
bannedPasswords: []
# - foo
# - bar
# Apps integration
Expand Down

0 comments on commit 5349eef

Please sign in to comment.