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

add service.labels and fix ingress service reference #95

Merged
merged 1 commit into from
Jan 6, 2023

Conversation

colearendt
Copy link
Contributor

What this PR does / why we need it:

The ingress was mistakenly pointed to the headless service required for maintaining the statefulset. This means that service.annotations, etc. were not useful for controlling ingress behavior.

It might be desirable to change service names at some point to indicate which is headless / internal. However, that could be a disruptive action to any existing environments.

Which issue this PR fixes

(optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged)

Special notes for your reviewer:

Checklist

[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.

  • Chart Version bumped
  • e2e tests pass
  • Variables are documented in the README.md
  • Chart tgz added to /docs and index updated

@willholley
Copy link
Member

@colearendt can you describe how you envisage NEWS.md being managed? I need to update the repository README and GitHub templates to support the release process via GitHub actions and it's not entirely clear to me what steps are manual now.

@lbruun
Copy link

lbruun commented Dec 16, 2022

It might be desirable to change service names at some point to indicate which is headless / internal. However, that could be a disruptive action to any existing environments.

Well, it might be desirable just to document why there are two and what their respective purpose is. Been looking in many places for this.

As for this PR, @colearendt , I suspect it will have an easier life if it would leave out the NEWS.md file. It seems to sidetrack the important discussion that this PR (and its associated Issue) raises.

@colearendt
Copy link
Contributor Author

@willholley Totally missed your approval here, sorry about that!

That's a fantastic question. I will fix the merge conflict. I suspect there are ways to automate the NEWS.md, but the way that I usually do it is just on each PR:

  • bump the Chart version
  • add an associated header to NEWS.md
  • CI checks that chart version is bumped, and NEWS.md is a convenience.

This creates potential for merge conflicts, but in practice has worked pretty well 🤷‍♂️ . I'm definitely happy to help draft contributing docs if that'd be useful!

The ingress was mistakenly pointed to the headless service required for maintaining the statefulset. This means that `service.annotations`, etc. were not useful for controlling ingress behavior.

It might be desirable to change service names at some point to indicate which is headless / internal. However, that could be a disruptive action to any existing environments.
@colearendt
Copy link
Contributor Author

@willholley this is ready to merge 😄

@willholley willholley merged commit b8342f7 into apache:main Jan 6, 2023
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

Successfully merging this pull request may close these issues.

Ingress should point to the "not headless" service
3 participants