Skip to content

Commit

Permalink
fix: add bash as the shell, and change default image (#280)
Browse files Browse the repository at this point in the history
* fix: add bash as the shell, and change default image
  • Loading branch information
barnabasbusa authored Feb 6, 2024
1 parent a2dc71b commit 07665ab
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 14 deletions.
2 changes: 1 addition & 1 deletion charts/prysm/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ icon: https://launchpad.ethereum.org/static/media/prysmatic-labs-circle.96c803fe
sources:
- https://github.com/prysmaticlabs/prysm
type: application
version: 1.1.2
version: 1.1.3
maintainers:
- name: skylenet
email: rafael@skyle.net
Expand Down
6 changes: 3 additions & 3 deletions charts/prysm/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

# prysm

![Version: 1.1.2](https://img.shields.io/badge/Version-1.1.2-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square)
![Version: 1.1.3](https://img.shields.io/badge/Version-1.1.3-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square)

An open-source Ethereum 2.0 client, written in Go

Expand Down Expand Up @@ -31,8 +31,8 @@ An open-source Ethereum 2.0 client, written in Go
| fullnameOverride | string | `""` | Overrides the chart's computed fullname |
| httpPort | int | `3500` | HTTP Port |
| image.pullPolicy | string | `"IfNotPresent"` | Prysm container pull policy |
| image.repository | string | `"ethpandaops/prysm"` | Prysm container image repository |
| image.tag | string | `"master"` | |
| image.repository | string | `"gcr.io/prysmaticlabs/prysm/beacon-chain"` | Prysm container image repository Multi-Arch (arm64/amd64) image Official image |
| image.tag | string | `"latest"` | |
| imagePullSecrets | list | `[]` | Image pull secrets for Docker images |
| ingress.annotations | object | `{}` | Annotations for Ingress |
| ingress.enabled | bool | `false` | Ingress resource for the HTTP API |
Expand Down
5 changes: 4 additions & 1 deletion charts/prysm/ci/validator-values.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
replicas: 1

mode: validator

image:
repository: gcr.io/prysmaticlabs/prysm/validator
tag: latest
pullPolicy: IfNotPresent
initContainers:
- name: init-keystore
image: bash:latest
Expand Down
17 changes: 8 additions & 9 deletions charts/prysm/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,14 @@ replicas: 1

image:
# -- Prysm container image repository
#repository: gcr.io/prysmaticlabs/prysm/beacon-chain
repository: ethpandaops/prysm
# Note: The official beacon-chain image from prysmaticlabs doesn't contain any shell (`sh`)
# which is required to detect the NodePorts when using `p2pNodePort.enabled=true`. See
# the following example on how to create your own: https://github.com/skylenet/prysm-debian-docker/blob/master/Dockerfile
# Multi-Arch (arm64/amd64) image
#repository: gcr.io/prylabs-dev/prysm/beacon-chain
# Official image
repository: gcr.io/prysmaticlabs/prysm/beacon-chain
# When using a validator:
# repository: gcr.io/prysmaticlabs/prysm/validator
# -- Prysm container image tag
tag: master
tag: latest
# -- Prysm container pull policy
pullPolicy: IfNotPresent

Expand Down Expand Up @@ -49,7 +48,7 @@ checkpointSync:
# -- Template used for the default beacon command
# @default -- See `values.yaml`
defaultBeaconCommandTemplate: |
- sh
- /bin/bash
- -ac
- >
{{- if .Values.p2pNodePort.enabled }}
Expand Down Expand Up @@ -97,7 +96,7 @@ defaultBeaconCommandTemplate: |
# -- Template used for the default validator command
# @default -- See `values.yaml`
defaultValidatorCommandTemplate: |
- sh
- /bin/bash
- -ac
- >-
exec /app/cmd/validator/validator
Expand Down Expand Up @@ -323,7 +322,7 @@ updateStrategy:
initContainers: []
# - name: my-init-container
# image: busybox:latest
# command: ['sh', '-c', 'echo hello']
# command: ['/bin/bash', '-c', 'echo hello']

# -- Additional containers
extraContainers: []
Expand Down

0 comments on commit 07665ab

Please sign in to comment.