Skip to content
This repository has been archived by the owner on Apr 19, 2024. It is now read-only.

Commit

Permalink
k8s: disable service links
Browse files Browse the repository at this point in the history
  • Loading branch information
islishude committed Dec 7, 2023
1 parent cb1b68d commit cbb9769
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 2 deletions.
6 changes: 5 additions & 1 deletion k8s/goerli/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,15 @@ spec:
app: ethereum
spec:
terminationGracePeriodSeconds: 300
enableServiceLinks: false
initContainers:
- name: genesis
iamge: alpine
command: ["sh", "-c"]
args: ["if [ ! -f genesis.ssz ]; then wget 'https://github.com/eth-clients/eth2-networks/raw/master/shared/prater/genesis.ssz'; fi"]
args:
[
"if [ ! -f genesis.ssz ]; then wget 'https://github.com/eth-clients/eth2-networks/raw/master/shared/prater/genesis.ssz'; fi",
]
workingDir: "/data"
volumeMounts:
- name: prysm
Expand Down
6 changes: 5 additions & 1 deletion k8s/holeksy/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,15 @@ spec:
app: ethereum
spec:
terminationGracePeriodSeconds: 300
enableServiceLinks: false
initContainers:
- name: genesis
iamge: alpine
command: ["sh", "-c"]
args: ["if [ ! -f genesis.ssz ]; then wget 'https://github.com/eth-clients/holesky/raw/main/custom_config_data/genesis.ssz'; fi"]
args:
[
"if [ ! -f genesis.ssz ]; then wget 'https://github.com/eth-clients/holesky/raw/main/custom_config_data/genesis.ssz'; fi",
]
workingDir: "/data"
volumeMounts:
- name: prysm
Expand Down
1 change: 1 addition & 0 deletions k8s/mainnet/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ spec:
app: ethereum
spec:
terminationGracePeriodSeconds: 300
enableServiceLinks: false
containers:
- name: geth
image: ethereum/client-go
Expand Down
1 change: 1 addition & 0 deletions k8s/sepolia/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ spec:
app: ethereum
spec:
terminationGracePeriodSeconds: 300
enableServiceLinks: false
initContainers:
- name: genesis
iamge: alpine
Expand Down

0 comments on commit cbb9769

Please sign in to comment.