From d7381b9cc5423231b12edf292a49726675044038 Mon Sep 17 00:00:00 2001 From: JoostDeCupere Date: Mon, 5 Feb 2024 09:22:50 +0100 Subject: [PATCH] rename configmaps from the fields since the use case is more generic --- README.md | 6 +++--- xenit-alfresco/templates/acs/acs-deployment.yaml | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 86f1150..9ca16cf 100644 --- a/README.md +++ b/README.md @@ -520,7 +520,7 @@ 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.configMapVolumes.volumeMounts` +#### `acs.additionalVolumeMounts` * Required: false * Default: None @@ -541,7 +541,7 @@ For more information take a look at readOnly: true ``` -#### `acs.configMapVolumes.volumes` +#### `acs.additionalVolumes` * Required: false * Default: None @@ -2082,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 26af460..61db1cb 100644 --- a/xenit-alfresco/templates/acs/acs-deployment.yaml +++ b/xenit-alfresco/templates/acs/acs-deployment.yaml @@ -103,8 +103,8 @@ spec: subPath: {{ .subPath }} {{- end }} {{- end }} - {{- if and .Values.acs.configMapVolumes .Values.acs.configMapVolumes.volumeMounts }} - {{- toYaml .Values.acs.configMapVolumes.volumeMounts | nindent 10 }} + {{- if .Values.acs.additionalVolumeMounts }} + {{- toYaml .Values.acs.additionalVolumeMounts | nindent 10 }} {{- end }} {{- if .Values.share.mergeAcsShare}} - name: share-container @@ -172,8 +172,8 @@ spec: claimName: {{ .name }}-pvc {{- end }} {{- end }} - {{- if and .Values.acs.configMapVolumes .Values.acs.configMapVolumes.volumes }} - {{ toYaml .Values.acs.configMapVolumes.volumes | nindent 8 }} + {{- if .Values.acs.additionalVolumes }} + {{ toYaml .Values.acs.additionalVolumes | nindent 8 }} {{- end }} imagePullSecrets: {{- if .Values.general.imagePullSecrets}}