Skip to content

Commit 2b653c6

Browse files
authored
Side car (#203)
1 parent 54f9113 commit 2b653c6

File tree

3 files changed

+19
-1
lines changed

3 files changed

+19
-1
lines changed

charts/minecraft-bedrock/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
apiVersion: v1
22
name: minecraft-bedrock
3-
version: 2.5.0
3+
version: 2.6.0
44
appVersion: SeeValues
55
home: https://minecraft.net/
66
description: Minecraft server

charts/minecraft-bedrock/templates/deployment.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ spec:
4040
{{- end }}
4141
{{- end }}
4242
spec:
43+
shareProcessNamespace: {{ .Values.shareProcessNamespace }}
4344
{{- if .Values.image.pullSecret }}
4445
imagePullSecrets:
4546
- name: {{ .Values.image.pullSecret }}
@@ -193,6 +194,9 @@ spec:
193194
{{- end }}
194195
securityContext:
195196
{{- toYaml .Values.securityContext | nindent 10 }}
197+
{{- with .Values.sidecarContainers }}
198+
{{- tpl . $ | nindent 6 }}
199+
{{- end }}
196200
volumes:
197201
- name: tmp
198202
emptyDir: {}

charts/minecraft-bedrock/values.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,9 @@ livenessProbe:
5353
readinessProbe:
5454
initialDelaySeconds: 30
5555

56+
# https://kubernetes.io/docs/tasks/configure-pod-container/share-process-namespace/
57+
shareProcessNamespace: false
58+
5659
# initContainers:
5760
# - name: do-something
5861
# image: busybox
@@ -63,6 +66,17 @@ readinessProbe:
6366
# readOnly: true
6467
initContainers: []
6568

69+
## Enable an Specify container in sidecarContainers. To add a sidecar;
70+
sidecarContainers: ""
71+
# sidecarContainers: |
72+
# - name: proxy
73+
# image: "quay.io/my/favourite:image-tag
74+
# args:
75+
# - -setting1
76+
# ports:
77+
# - name: web
78+
# containerPort: 8080
79+
6680
# extraVolumes:
6781
# - volumeMounts:
6882
# - name: nfs

0 commit comments

Comments
 (0)