Skip to content

Commit

Permalink
fix: fix init containers (#199)
Browse files Browse the repository at this point in the history
  • Loading branch information
Иван Vandot authored Oct 25, 2023
1 parent 03e55e9 commit 61aa95b
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
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: 1.17.5
name: bee
version: 0.14.0
version: 0.14.1
kubeVersion: ">=1.19.0-0"
description: Ethereum Swarm Bee Helm chart for Kubernetes
home: https://www.ethswarm.org
Expand Down
12 changes: 12 additions & 0 deletions charts/bee/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,9 @@ spec:
{{- if .Values.libp2pSettings.enabled }}
- name: init-libp2p
image: ethersphere/busybox:1.36
securityContext:
allowPrivilegeEscalation: false
runAsUser: 0
command:
- sh
- -c
Expand All @@ -75,6 +78,9 @@ spec:
{{- if .Values.swarmSettings.enabled }}
- name: init-swarm
image: ethersphere/busybox:1.36
securityContext:
allowPrivilegeEscalation: false
runAsUser: 0
command:
- sh
- -c
Expand All @@ -94,6 +100,9 @@ spec:
{{- if .Values.p2pFixedPort.enabled }}
- name: init-natport
image: ethersphere/busybox:1.36
securityContext:
allowPrivilegeEscalation: false
runAsUser: 0
command:
- sh
- -c
Expand All @@ -114,6 +123,9 @@ spec:
{{- if .Values.autoNeighborhood.enabled }}
- name: init-neighborhood
image: ethersphere/busybox:1.36
securityContext:
allowPrivilegeEscalation: false
runAsUser: 0
command:
- sh
- -c
Expand Down

0 comments on commit 61aa95b

Please sign in to comment.