ingress icon indicating copy to clipboard operation
ingress copied to clipboard

feat(chart): add service.yaml

Open sanadhis opened this issue 1 year ago • 7 comments

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.

sanadhis avatar Aug 30 '24 12:08 sanadhis

@sanadhis thanks for your contribution!

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

mavimo avatar Sep 03 '24 04:09 mavimo

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

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           

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

codecov[bot] avatar Sep 03 '24 04:09 codecov[bot]

@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

sanadhis avatar Sep 03 '24 09:09 sanadhis

@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!

mavimo avatar Sep 06 '24 09:09 mavimo

@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 avatar Sep 06 '24 10:09 sanadhis

@mavimo can we merge this one please? Thanks!

sanadhis avatar Sep 16 '24 07:09 sanadhis

@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.

mavimo avatar Sep 16 '24 12:09 mavimo

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.

sanadhis avatar Nov 07 '24 15:11 sanadhis

Thanks @mavimo !!

sanadhis avatar Nov 14 '24 13:11 sanadhis