Skip to content

Commit

Permalink
Merge pull request #92 from xenit-eu/remove-init-containers
Browse files Browse the repository at this point in the history
Remove the init container from the mq deployment
  • Loading branch information
JoostDeCupere authored Sep 6, 2023
2 parents b8818d3 + 3294f1c commit 53f9790
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 17 deletions.
16 changes: 0 additions & 16 deletions xenit-alfresco/templates/active-mq/mq-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -84,22 +84,6 @@ spec:
mountPath: /opt/activemq/data
subPath: mq/data
{{- end }}
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/activemq/data" ]
{{- if .Values.persistentStorage.mq.enabled }}
volumeMounts:
- name: data
mountPath: /opt/activemq/data
subPath: mq/data
{{- end }}
imagePullSecrets:
{{- if .Values.general.imagePullSecrets}}
{{ toYaml .Values.general.imagePullSecrets | nindent 8 }}
Expand Down
2 changes: 1 addition & 1 deletion xenit-alfresco/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ mq:
image:
registry: 'docker.io'
repository: 'alfresco/alfresco-activemq'
tag: '5.16.1'
tag: '5.17.5-jre17-rockylinux8'
strategy:
type: Recreate
resources:
Expand Down

0 comments on commit 53f9790

Please sign in to comment.