Skip to content

Commit

Permalink
Revert "Added support to mount configmaps to the acs image as volumes"
Browse files Browse the repository at this point in the history
This reverts commit 97b287b.
  • Loading branch information
JoostDeCupere committed Feb 2, 2024
1 parent 97b287b commit 6e001be
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 43 deletions.
18 changes: 0 additions & 18 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -520,24 +520,6 @@ 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`

* 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
- name: name1
mountPath: /apps/example
subPath: subPath/example
readOnly: true
configMapName: "example-configMap"
items:
- key: data-key
path: pathToMountTo
```


### Digital Workspace

#### `digitalWorkspace.enabled`
Expand Down
25 changes: 0 additions & 25 deletions xenit-alfresco/templates/acs/acs-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -103,18 +103,6 @@ spec:
subPath: {{ .subPath }}
{{- end }}
{{- end }}
{{- if .Values.acs.configMapVolumes }}
{{- range .Values.acs.configMapVolumes }}
- name: {{ .name }}
mountPath: {{ .mountPath }}
{{- if .subPath }}
subPath: {{ .subPath }}
{{- end }}
{{- if .readOnly }}
readOnly: {{ .readOnly }}
{{- end }}
{{- end }}
{{- end }}
{{- if .Values.share.mergeAcsShare}}
- name: share-container
image: {{ .Values.share.image.registry }}/{{ .Values.share.image.repository }}:{{ .Values.share.image.tag }}
Expand Down Expand Up @@ -181,19 +169,6 @@ spec:
claimName: {{ .name }}-pvc
{{- end }}
{{- end }}
{{- if .Values.acs.configMapVolumes }}
{{- range .Values.acs.configMapVolumes }}
- name: {{ .name }}
configMap:
defaultMode: 420
name: ldap1-ad-auth-config
items:
{{- range .items }}
- key: {{ .key }}
path: {{ .path }}
{{- end }}
{{- end }}
{{- end }}
imagePullSecrets:
{{- if .Values.general.imagePullSecrets}}
{{ toYaml .Values.general.imagePullSecrets | nindent 8 }}
Expand Down

0 comments on commit 6e001be

Please sign in to comment.