diff --git a/README.md b/README.md index 6cb66dc..9ca16cf 100644 --- a/README.md +++ b/README.md @@ -520,6 +520,58 @@ For more information take a look at * Description: If you use an image that is not public. then you can create dockerconfigjson secrets on your cluster and reference them here. +#### `acs.additionalVolumeMounts` + +* Required: false +* Default: None +* Description: A list of configMaps that need to be mounted as volumes to the alfresco pods. Make sure the configMap specified exists. Layout should be as follows: + +```yaml + - mountPath: >- + /usr/local/tomcat/shared/classes/alfresco/extension/subsystems/Authentication/ldap-ad/oup-ad1 + name: ldap1-ad-auth-volume + readOnly: true + - mountPath: >- + /usr/local/tomcat/shared/classes/alfresco/extension/subsystems/Authentication/ldap-ad/oup-ad2 + name: ldap2-ad-auth-volume + readOnly: true + - mountPath: >- + /usr/local/tomcat/shared/classes/alfresco/extension/subsystems/Authentication/ldap-ad/oup-ad3 + name: ldap3-ad-auth-volume + readOnly: true +``` + +#### `acs.additionalVolumes` + +* Required: false +* Default: None +* Description: A list of configMaps that need to be mounted as volumes to the alfresco pods. Make sure the configMap specified exists. Layout should be as follows: + +```yaml + - configMap: + defaultMode: 420 + items: + - key: ldap-ad-authentication.properties + path: ldap-ad-authentication.properties + name: ldap1-ad-auth-config + name: ldap1-ad-auth-volume + - configMap: + defaultMode: 420 + items: + - key: ldap-ad-authentication.properties + path: ldap-ad-authentication.properties + name: ldap2-ad-auth-config + name: ldap2-ad-auth-volume + - configMap: + defaultMode: 420 + items: + - key: ldap-ad-authentication.properties + path: ldap-ad-authentication.properties + name: ldap3-ad-auth-config + name: ldap3-ad-auth-volume +``` + + ### Digital Workspace #### `digitalWorkspace.enabled` @@ -2030,7 +2082,7 @@ additional settings can be added through additionalEnvironmentVariables. * Required: false * Default: None -* Description: A list of aditional volume claims that can be added to the alfresco pods. Layout should be as follows: +* Description: A list of additional volume claims that can be added to the alfresco pods. Layout should be as follows: ```yaml - name: name1 diff --git a/xenit-alfresco/templates/acs/acs-deployment.yaml b/xenit-alfresco/templates/acs/acs-deployment.yaml index d70fd7c..61db1cb 100644 --- a/xenit-alfresco/templates/acs/acs-deployment.yaml +++ b/xenit-alfresco/templates/acs/acs-deployment.yaml @@ -103,6 +103,9 @@ spec: subPath: {{ .subPath }} {{- end }} {{- end }} + {{- if .Values.acs.additionalVolumeMounts }} + {{- toYaml .Values.acs.additionalVolumeMounts | nindent 10 }} + {{- end }} {{- if .Values.share.mergeAcsShare}} - name: share-container image: {{ .Values.share.image.registry }}/{{ .Values.share.image.repository }}:{{ .Values.share.image.tag }} @@ -169,6 +172,9 @@ spec: claimName: {{ .name }}-pvc {{- end }} {{- end }} + {{- if .Values.acs.additionalVolumes }} + {{ toYaml .Values.acs.additionalVolumes | nindent 8 }} + {{- end }} imagePullSecrets: {{- if .Values.general.imagePullSecrets}} {{ toYaml .Values.general.imagePullSecrets | nindent 8 }}