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

feat(chart): add service.yaml #253

Merged
merged 3 commits into from
Nov 7, 2024

Conversation

sanadhis
Copy link
Contributor

What problem:
I need to install caddy to K8s, but I don't need external load balancer.

Why this is a solution:
By adding this loadBalancer.enabled value, which default to true, we can make the load balancer optional. This is also to ensure smart transition to service.yaml for already-existing user of this helm chart.

@mavimo
Copy link
Member

mavimo commented Sep 3, 2024

@sanadhis thanks for your contribution!

May I ask to include the new keys in the values.schema.json file?

Copy link

codecov bot commented Sep 3, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 20.75%. Comparing base (02b2c20) to head (427db65).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #253   +/-   ##
=======================================
  Coverage   20.75%   20.75%           
=======================================
  Files          30       30           
  Lines        1378     1378           
=======================================
  Hits          286      286           
  Misses       1090     1090           
  Partials        2        2           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@sanadhis
Copy link
Contributor Author

sanadhis commented Sep 3, 2024

@sanadhis thanks for your contribution!

May I ask to include the new keys in the values.schema.json file?

Thanks for your feedback!
Yes, updated

@mavimo
Copy link
Member

mavimo commented Sep 6, 2024

@sanadhis internalTrafficPolicy and externalTrafficPolicy have different behaviour (internal for traffic routing exteral for preserving client IP) I'm not sure about the last changes you included, can you give us some context? 🤔

Thanks!

@sanadhis
Copy link
Contributor Author

sanadhis commented Sep 6, 2024

@sanadhis internalTrafficPolicy and externalTrafficPolicy have different behaviour (internal for traffic routing exteral for preserving client IP) I'm not sure about the last changes you included, can you give us some context? 🤔

Thanks!

Hey, yes I am well aware, I was thinking to keep things simple. Sure I can add it back. I'll do some refactor also since we provide default value anyway. I am also squashing my commits

@sanadhis sanadhis force-pushed the feat-chart-add-service branch 2 times, most recently from 7e90b6a to e5cd36e Compare September 6, 2024 10:14
@sanadhis
Copy link
Contributor Author

@mavimo can we merge this one please? Thanks!

@mavimo
Copy link
Member

mavimo commented Sep 16, 2024

@sanadhis I'll try to run the validation and merge ASAP

I'm planning to release a new version as soon as this is merged.

@sanadhis
Copy link
Contributor Author

sanadhis commented Nov 7, 2024

Hi @mavimo can we merge this please? I have seen few releases have happened since.

Otherwise if you're not convinced with the change we can close it. Though I would say I would prefer not to create my own fork.

@mavimo mavimo merged commit 1e8e38c into caddyserver:main Nov 7, 2024
4 checks passed
@sanadhis
Copy link
Contributor Author

Thanks @mavimo !!

@sanadhis sanadhis deleted the feat-chart-add-service branch November 14, 2024 13:48
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.

2 participants