-
Notifications
You must be signed in to change notification settings - Fork 306
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: migrate k8s cluster to use entry point scripts
- Loading branch information
Showing
11 changed files
with
79 additions
and
80 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
spartan/aztec-network/eth-devnet/entrypoints/eth-beacon.Dockerfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
FROM sigp/lighthouse:v6.0.1 | ||
|
||
COPY ./eth-beacon.sh ./eth-beacon.sh | ||
COPY ./entrypoints/eth-beacon.sh /eth-beacon.sh | ||
|
||
ENTRYPOINT ["/eth-beacon.sh"] | ||
ENTRYPOINT ["./eth-beacon.sh"] |
8 changes: 8 additions & 0 deletions
8
spartan/aztec-network/eth-devnet/entrypoints/eth-beacon.sh
100644 → 100755
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
spartan/aztec-network/eth-devnet/entrypoints/eth-execution.Dockerfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
FROM ghcr.io/paradigmxyz/reth:v1.0.8 | ||
|
||
# Run in the context of the docker-compose file .. | ||
COPY ./eth-execution.sh ./eth-execution.sh | ||
COPY ./entrypoints/eth-execution.sh /eth-execution.sh | ||
|
||
ENTRYPOINT ["/eth-execution.sh"] | ||
ENTRYPOINT ["./eth-execution.sh"] |
Empty file.
2 changes: 1 addition & 1 deletion
2
spartan/aztec-network/eth-devnet/entrypoints/eth-validator.Dockerfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
FROM sigp/lighthouse:v6.0.1 | ||
|
||
COPY ./eth-validator.sh ./eth-validator.sh | ||
COPY ./entrypoints/eth-validator.sh /eth-validator.sh | ||
|
||
ENTRYPOINT ["/eth-validator.sh"] |
11 changes: 11 additions & 0 deletions
11
spartan/aztec-network/eth-devnet/entrypoints/eth-validator.sh
100644 → 100755
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
spartan/aztec-network/templates/eth/eth-entrypoint-configmap.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
apiVersion: v1 | ||
kind: ConfigMap | ||
metadata: | ||
name: {{ include "aztec-network.fullname" . }}-entrypoint-scripts | ||
labels: | ||
{{- include "aztec-network.labels" . | nindent 4 }} | ||
data: | ||
eth-validator.sh: {{ .Files.Get "eth-devnet/entrypoints/eth-validator.sh" | quote }} | ||
eth-beacon.sh: {{ .Files.Get "eth-devnet/entrypoints/eth-beacon.sh" | quote }} | ||
eth-execution.sh: {{ .Files.Get "eth-devnet/entrypoints/eth-execution.sh" | quote }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters