feat(kuma-cp) allow tcp/http healthchecks together #1951
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
This change allows describing both, TCP and HTTP health checks
together in one resource manifest
It should be a safe change as it's not introducing or/and removing any field in our manifests. It can be treated as a breaking change if somebody is using our proto files (but I think we can assume the risk is very low).
This change is a result of #1927 (comment)
It doesn't fully resolve the issue, as we are adding option to put TCP and HTTP health checks (one per each) in one manifest.
It shouldn't be a hard change to let us put multiple of "health checks" for any type in one manifest but it would be definitely a breaking change
Documentation