Skip to content

Commit

Permalink
[AAE-2868] - Update infrastructure helm chart to define email connect… (
Browse files Browse the repository at this point in the history
#38)

* [AAE-2868] - Update infrastructure helm chart to define email connector configurations

* update ReadMe
  • Loading branch information
SohelSaiyed authored Jun 17, 2020
1 parent 5596804 commit a9767de
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 0 deletions.
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,22 @@ HELM_OPTS+="
"
```
### Email Connector
***NB***
In order to set email connector all the variables need to be set. If these variables are set then deployment service will use these configs as default for any applications deployed. Once these variables are configured at the deployment of chart via Helm customer won’t have the possibility to override these values from the admin app. In case you want to configure email connector variable from admin-app please dont not configure email connector during helm deployment.
Add the helm properties to configure email connector:
```bash
HELM_OPTS+="
--set alfresco-deployment-service.applications.connectors.emailConnector.username=${email_connecor_username}
--set alfresco-deployment-service.applications.connectors.emailConnector.password=${email_connector_password}
--set alfresco-deployment-service.applications.connectors.emailConnector.host=${email_connector_host}
--set alfresco-deployment-service.applications.connectors.emailConnector.port=${email_connector_port}
"
```
## launch helm
Set install parameters:
Expand Down
4 changes: 4 additions & 0 deletions helm/alfresco-process-infrastructure/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ Source code can be found [here](https://github.com/Alfresco/alfresco-process-inf
| alfresco-admin-app.ingress.path | string | `"/admin"` | |
| alfresco-admin-app.nameOverride | string | `"alfresco-admin-app"` | |
| alfresco-deployment-service.alfresco-content-services.enabled | bool | `true` | |
| alfresco-deployment-service.applications.connectors.emailConnector.host | string | `""` |In order to apply default account configuration to the email connector, all the variables need to be set. All email connectors in every applications in the cluster will share the same account.|
| alfresco-deployment-service.applications.connectors.emailConnector.password | string | `""` |In order to apply default account configuration to the email connector, all the variables need to be set. All email connectors in every applications in the cluster will share the same account.|
| alfresco-deployment-service.applications.connectors.emailConnector.port | string | `""` |In order to apply default account configuration to the email connector, all the variables need to be set. All email connectors in every applications in the cluster will share the same account.|
| alfresco-deployment-service.applications.connectors.emailConnector.username | string | `""` |In order to apply default account configuration to the email connector, all the variables need to be set. All email connectors in every applications in the cluster will share the same account.|
| alfresco-deployment-service.applications.database.external | bool | `false` | |
| alfresco-deployment-service.connectorVolume.permission | string | `"ReadWriteMany"` | |
| alfresco-deployment-service.connectorVolume.storageClass | string | `"default-sc"` | |
Expand Down
23 changes: 23 additions & 0 deletions helm/alfresco-process-infrastructure/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,12 @@ alfresco-deployment-service:
applications:
database:
external: false
connectors:
emailConnector:
username: ""
password: ""
host: ""
port: ""
ingress:
path: /deployment-service
enabled: true
Expand Down Expand Up @@ -316,6 +322,23 @@ alfresco-deployment-service:
value: "{{ .Values.connectorVolume.permission }}"
- name: APPLICATIONS_DATABASE_EXTERNAL
value: "{{ .Values.applications.database.external }}"
{{- if .Values.applications.connectors.emailConnector.username }}
- name: CONNECTOR_EMAILCONNECTOR_USERNAME
value: "{{ .Values.applications.connectors.emailConnector.username }}"
{{- end }}
{{- if .Values.applications.connectors.emailConnector.password }}
- name: CONNECTOR_EMAILCONNECTOR_PASSWORD
value: "{{ .Values.applications.connectors.emailConnector.password }}"
{{- end }}
{{- if .Values.applications.connectors.emailConnector.host }}
- name: CONNECTOR_EMAILCONNECTOR_HOST
value: "{{ .Values.applications.connectors.emailConnector.host }}"
{{- end }}
{{- if .Values.applications.connectors.emailConnector.port }}
- name: CONNECTOR_EMAILCONNECTOR_PORT
value: "{{ .Values.applications.connectors.emailConnector.port }}"
{{- end }}
alfresco-admin-app:
nameOverride: "alfresco-admin-app"
Expand Down

0 comments on commit a9767de

Please sign in to comment.