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

redpanda: Convert services.nodeport.yaml to go code #1168

Closed
Tracked by #1092
chrisseto opened this issue Apr 8, 2024 · 0 comments
Closed
Tracked by #1092

redpanda: Convert services.nodeport.yaml to go code #1168

chrisseto opened this issue Apr 8, 2024 · 0 comments
Assignees

Comments

@chrisseto
Copy link
Contributor

No description provided.

@chrisseto chrisseto self-assigned this Apr 8, 2024
chrisseto added a commit that referenced this issue Apr 10, 2024
This commit converts the `service.nodeport.yaml` helm template to an
equivalent go function.

There are a few notable changes to the logic that should NOT result in
any behavioral changes.

1. There used to be a for loop over all external listeners that checked
   for .Enabled and .Type on them. There was no .Type attribute on the
   external listeners therefore the entire chunk of logic was a no-op.
2. Each loop over an external listener would check the global values of
   .Values.External.Enabled. As the go function short circuits, this
   check is no longer required.

Fixes #1168.
chrisseto added a commit that referenced this issue Apr 11, 2024
This commit converts the `service.nodeport.yaml` helm template to an
equivalent go function.

There are a few notable changes to the logic that should NOT result in
any behavioral changes.

1. There used to be a for loop over all external listeners that checked
   for .Enabled and .Type on them. There was no .Type attribute on the
   external listeners therefore the entire chunk of logic was a no-op.
2. Each loop over an external listener would check the global values of
   .Values.External.Enabled. As the go function short circuits, this
   check is no longer required.

Fixes #1168.
chrisseto added a commit that referenced this issue Apr 11, 2024
This commit converts the `service.nodeport.yaml` helm template to an
equivalent go function.

There are a few notable changes to the logic that should NOT result in
any behavioral changes.

1. There used to be a for loop over all external listeners that checked
   for .Enabled and .Type on them. There was no .Type attribute on the
   external listeners therefore the entire chunk of logic was a no-op.
2. Each loop over an external listener would check the global values of
   .Values.External.Enabled. As the go function short circuits, this
   check is no longer required.

Fixes #1168.
chrisseto added a commit that referenced this issue Apr 11, 2024
This commit converts the `service.nodeport.yaml` helm template to an
equivalent go function.

There are a few notable changes to the logic that should NOT result in
any behavioral changes.

1. There used to be a for loop over all external listeners that checked
   for .Enabled and .Type on them. There was no .Type attribute on the
   external listeners therefore the entire chunk of logic was a no-op.
2. Each loop over an external listener would check the global values of
   .Values.External.Enabled. As the go function short circuits, this
   check is no longer required.

Fixes #1168.
RafalKorepta pushed a commit that referenced this issue Apr 12, 2024
This commit converts the `service.nodeport.yaml` helm template to an
equivalent go function.

There are a few notable changes to the logic that should NOT result in
any behavioral changes.

1. There used to be a for loop over all external listeners that checked
   for .Enabled and .Type on them. There was no .Type attribute on the
   external listeners therefore the entire chunk of logic was a no-op.
2. Each loop over an external listener would check the global values of
   .Values.External.Enabled. As the go function short circuits, this
   check is no longer required.

Fixes #1168.
RafalKorepta pushed a commit that referenced this issue Apr 12, 2024
This commit converts the `service.nodeport.yaml` helm template to an
equivalent go function.

There are a few notable changes to the logic that should NOT result in
any behavioral changes.

1. There used to be a for loop over all external listeners that checked
   for .Enabled and .Type on them. There was no .Type attribute on the
   external listeners therefore the entire chunk of logic was a no-op.
2. Each loop over an external listener would check the global values of
   .Values.External.Enabled. As the go function short circuits, this
   check is no longer required.

Fixes #1168.
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant