Skip to content

Commit

Permalink
XENOPS-1166 add init containers to acs deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
hechmi-dammak-xenit committed May 16, 2024
1 parent f18fdae commit 4350e2c
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
chronology things are added/fixed/changed and - where possible - links to the PRs involved.

### Changes
[XENOPS-1166]
* add init containers to acs deployment

[XENOPS-1164] date: 10 May 2024
* remove defaultBackend from ingress rules, this should not be set by individual namespace resources
* defaultBackend will point to new nginx-default-service providing 404 if page not found.
Expand Down
19 changes: 19 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -578,6 +578,25 @@ For more information take a look at
* Default: `true`
* Description: this will enable/disable the ingress for the acs-service. By default this rule will forward calls to /alfresco to acs-service:30000

#### `acs.initContainers`

* Required: false
* Default: empty
* Example
```yaml
initContainers:
- name: init-fs
image: "busybox:1.35.0"
imagePullPolicy: IfNotPresent
resources:
requests:
memory: "50Mi"
limits:
memory: "100Mi"
command: [ "sh", "-c", "chown -R 33031:1000 /opt/data" ]
```
* Description: add field of init containers to acs deployment

### Digital Workspace

#### `digitalWorkspace.enabled`
Expand Down
6 changes: 5 additions & 1 deletion xenit-alfresco/templates/acs/acs-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -186,4 +186,8 @@ spec:
{{- if .Values.share.imagePullSecrets }}
{{ toYaml .Values.share.imagePullSecrets | nindent 8 }}
{{- end }}
{{- end }}
{{- end }}
{{- if .Values.acs.initContainers }}
initContainers:
{{ toYaml .Values.acs.initContainers | nindent 8 }}
{{- end }}

0 comments on commit 4350e2c

Please sign in to comment.