Skip to content
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

chore(deployment): support hardcoded ip in papyrus helm chart #485

Closed
wants to merge 10 commits into from

Conversation

idan-starkware
Copy link
Contributor

@idan-starkware idan-starkware commented Aug 18, 2024

This change is Reviewable

@idan-starkware idan-starkware self-assigned this Aug 18, 2024
@idan-starkware idan-starkware changed the title chore(deployment): support hardcoded ip in papyrus helm chart chore(helm): support hardcoded ip in papyrus helm chart Aug 18, 2024
@idan-starkware idan-starkware force-pushed the idan/helm-support-for-hardcoded-ip branch from 6b6af3a to c47be04 Compare August 18, 2024 16:51
@idan-starkware idan-starkware marked this pull request as ready for review August 18, 2024 16:57
@idan-starkware idan-starkware changed the title chore(helm): support hardcoded ip in papyrus helm chart chore(deployment): support hardcoded ip in papyrus helm chart Aug 20, 2024
@@ -84,7 +84,13 @@ spec:
- {{ .Values.p2p.nodeConfig.bootstrapServer.multiaddrIsNone | quote }}
- --network.bootstrap_peer_multiaddr
- {{ include "p2p.bootstrapPeerMultiaddr" . | quote }}
{{- end}}
{{- end }}
{{- if or .Values.p2p.nodeConfig.overrideIP (and .Values.p2p.service.enabled (not .Values.p2p.bootstrap) (or .Values.p2p.service.clusterIP .Values.p2p.service.loadBalancerIP)) }}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you please add a comment explaining this complex if condition?

@@ -81,6 +81,12 @@ spec:
- --network.bootstrap_peer_multiaddr
- {{ include "p2p.bootstrapPeerMultiaddr" . | quote }}
{{- end}}
{{- if or .Values.p2p.nodeConfig.overrideIP (and .Values.p2p.service.enabled (not .Values.p2p.bootstrap) (or .Values.p2p.service.clusterIP .Values.p2p.service.loadBalancerIP)) }}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you please add a comment explaining this complex if condition?

@idan-starkware idan-starkware force-pushed the idan/helm-support-for-hardcoded-ip branch from 4604931 to 008d1cb Compare August 25, 2024 12:08
@idan-starkware idan-starkware deleted the idan/helm-support-for-hardcoded-ip branch August 25, 2024 12:12
@github-actions github-actions bot locked and limited conversation to collaborators Aug 27, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants