Skip to content

Commit 38f07ba

Browse files
Merge pull request #179 from xenit-eu/KANSUP74-37
KANSUP74-37 add configurable port for acs inbound email
2 parents bcb573b + bb647f7 commit 38f07ba

File tree

7 files changed

+27
-1
lines changed

7 files changed

+27
-1
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
chronology things are added/fixed/changed and - where possible - links to the PRs involved.
77

88
### Changes
9+
[v0.8.10]
10+
* Make port for inbound email on acs configurable
11+
912
[v0.8.9]
1013
* Introduced the `ingress.clusterIssuer` option to specify the cluster issuer for the ingress.
1114

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -479,6 +479,13 @@ ingress:
479479
* Default: `https`
480480
* Description: Set to overwrite the share protocol
481481
482+
#### `acs.email.inbound.port`
483+
484+
* Required: false
485+
* Default: None
486+
* Description: Set given port for inbound mail in the acs config and expose it in the acs-service & deployment.
487+
* **Warning**: Setting only this port does not enable the system. Enabling requires additional acs config (see alfresco documentation) and configuration of the ingress (see applicable ingress documentation)
488+
482489
#### `acs.additionalEnvironmentVariables`
483490
484491
* Required: false

xenit-alfresco/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ type: application
1515
# This is the chart version. This version number should be incremented each time you make changes
1616
# to the chart and its templates, including the app version.
1717
# Versions are expected to follow Semantic Versioning (https://semver.org/)
18-
version: 0.7.5
18+
version: 0.8.10
1919

2020
# This is the version number of the application being deployed. This version number should be
2121
# incremented each time you make changes to the application. Versions are not expected to

xenit-alfresco/templates/acs/acs-config.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,9 @@ data:
4848
{{- if not .Values.solr.enabled }}
4949
GLOBAL_index.subsystem.name: "noindex"
5050
{{- end }}
51+
{{- if ((((.Values.acs).email).inbound).port) }}
52+
GLOBAL_email.server.port: {{ .Values.acs.email.inbound.port }}
53+
{{- end }}
5154
{{- if .Values.acs.additionalEnvironmentVariables }}
5255
{{ toYaml .Values.acs.additionalEnvironmentVariables | nindent 2 }}
5356
{{- end }}

xenit-alfresco/templates/acs/acs-deployment.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,10 @@ spec:
9191
protocol: TCP
9292
- containerPort: 8443
9393
protocol: TCP
94+
{{- if ((((.Values.acs).email).inbound).port) }}
95+
- containerPort: {{ .Values.acs.email.inbound.port }}
96+
protocol: TCP
97+
{{- end }}
9498
{{- if or (.Values.acs.resources.requests) ((.Values.acs.resources.limits)) }}
9599
resources:
96100
{{- if .Values.acs.resources.requests }}

xenit-alfresco/templates/acs/acs-service.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,11 @@ spec:
2020
protocol: TCP
2121
port: 8443
2222
targetPort: 8443
23+
{{- if ((((.Values.acs).email).inbound).port) }}
24+
- name: 'acs-inbound-smtp'
25+
protocol: TCP
26+
port: {{ .Values.acs.email.inbound.port }}
27+
{{- end }}
2328
{{- if .Values.general.serviceType }}
2429
type: {{ .Values.general.serviceType }}
2530
{{- end }}

xenit-alfresco/values.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ ingress:
3636
- /alfresco/service/api/solr
3737
- /alfresco/wcs/api/solr
3838
- /alfresco/wcservice/api/solr
39+
3940
acs:
4041
replicas: 1
4142
image:
@@ -76,6 +77,7 @@ acs:
7677
customReadinessProbe:
7778
ingress:
7879
enabled: true
80+
7981
digitalWorkspace:
8082
enabled: true
8183
replicas: 1
@@ -92,6 +94,7 @@ digitalWorkspace:
9294
basePath: "/workspace"
9395
ingress:
9496
enabled: true
97+
9598
share:
9699
enabled: true
97100
mergeAcsShare: false
@@ -174,6 +177,7 @@ solr:
174177
periodSeconds: 10
175178
successThreshold: 1
176179
timeoutSeconds: 10
180+
177181
transformServices:
178182
enabled: true
179183
sharedFileStore:

0 commit comments

Comments
 (0)