-
Notifications
You must be signed in to change notification settings - Fork 381
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docker image allows --chain
param + shell
#1079
docker image allows --chain
param + shell
#1079
Conversation
--chain
param--chain
param
@mc2eqe can you please take a look? |
Hi @asiniscalchi. Thank you for submitting your proposal and helping out. Please, can you explain in more detail why do you need this image to align with Helm charts? Do you plan to run it on Kubernetes? |
The PR introduces two distinct improvements to the Docker image:
This change is particularly beneficial for Kubernetes deployments, where the
- name: persist-generated-node-key
image: {{ .Values.image.repository }}:{{ .Values.image.tag }}
command: [ "/bin/sh" ]
args:
- -c
- |
set -eu {{ if .Values.initContainers.persistGeneratedNodeKey.debug }}-x{{ end }}
...
# Script continues to check and generate the node key Maintaining the shell in the image ensures compatibility with these scripts and prevents the failure of Helm chart operations that depend on shell access within the container. The PR's intent is to provide a Docker image that not only maintains backward compatibility but also enhances the image's usability within Kubernetes environments, especially when managed via Helm charts. An example of our current usage in k8s:
|
--chain
param--chain
param + shell
@asiniscalchi Thank you for clarifying and explaining your proposal. Yes I agree, we should address this to be inlined with Kubernetes and Parity Helm charts. |
seems good to me. |
The execution of the Astar collator image via Docker is encountering an error:
This patch corrects the issue, making the Docker image compatible with the ParityTech Helm charts, as detailed here:
https://github.com/paritytech/helm-charts/tree/main/charts/node