Skip to content

Commit

Permalink
Merge pull request #178 from ethersphere/init-containers
Browse files Browse the repository at this point in the history
  • Loading branch information
vandot authored May 4, 2022
2 parents c3df498 + 33fcd41 commit 7228e83
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/bee/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v2
appVersion: latest
name: bee
version: 0.11.7
version: 0.11.8
kubeVersion: ">=1.15.0-0"
description: Ethereum Swarm Bee Helm chart for Kubernetes
home: https://www.ethswarm.org
Expand Down
5 changes: 4 additions & 1 deletion charts/bee/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ spec:
tolerations:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- if or .Values.libp2pSettings.enabled .Values.p2pFixedPort.enabled .Values.swarmSettings.enabled .Values.clefSettings.enabled }}
{{- if or .Values.libp2pSettings.enabled .Values.p2pFixedPort.enabled .Values.swarmSettings.enabled .Values.clefSettings.enabled .Values.extraInitContainers }}
initContainers:
{{- if .Values.libp2pSettings.enabled }}
- name: init-libp2p
Expand Down Expand Up @@ -139,6 +139,9 @@ spec:
mountPath: /tmp/.bee.yaml
subPath: .bee.yaml
{{- end }}
{{- if .Values.extraInitContainers }}
{{- toYaml .Values.extraInitContainers | nindent 8 }}
{{- end }}
{{- end }}
containers:
- name: {{ .Chart.Name }}
Expand Down
5 changes: 5 additions & 0 deletions charts/bee/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,11 @@ serviceMonitor:
# separator: /
# replacement: $1

extraInitContainers: []
## Extra init containers to be added to the bee pod.
# - name: extra-init-container
# image: busybox:latest
# command: ['sh', '-c', 'echo hello']

## If you need to disable liveness and readiness probes set to false
probesEnable: true
Expand Down

0 comments on commit 7228e83

Please sign in to comment.