feat(charts): add startupProbe to cert controller#5297
feat(charts): add startupProbe to cert controller#5297Skarlso merged 8 commits intoexternal-secrets:mainfrom KyriosGN0:probe
Conversation
Signed-off-by: AvivGuiser <avivguiser@gmail.com>
deploy/charts/external-secrets/templates/cert-controller-deployment.yaml
Show resolved
Hide resolved
Signed-off-by: AvivGuiser <avivguiser@gmail.com>
Signed-off-by: AvivGuiser <avivguiser@gmail.com>
| # -- whether to use the readiness probe port for startup probe. | ||
| useReadinessProbePort: true | ||
| # -- Port for startup probe. | ||
| port: 8081 |
There was a problem hiding this comment.
I believe port can also be a name / a string. This, now defines it as an integer.
Signed-off-by: AvivGuiser <avivguiser@gmail.com>
|
/ok-to-test sha=af4c8901970a762c9fbd3cc477e0f4e7076d5627 |
|
/ok-to-test sha=f7e8e3d4313d7f0edf60093009463f08919eba1d |
|
|
||
| startupProbe: | ||
| # -- Enabled determines if the startup probe should be used or not. By default it's enabled | ||
| enabled: true |
There was a problem hiding this comment.
I think this should be off by default, not?
There was a problem hiding this comment.
@Skarlso imo its not a breaking change so its fine to enable it by default. (I would not think that people relay on not having a startup probe)
but ultimately i believe you have the final decision as maintainers, if you feel it could become a issue that would pop up more question, then its better to have it set to false
There was a problem hiding this comment.
Let's turn it off by default please. I'm sorry, I'm not trying to be nitpicky, you have to understand that this thing is installed by thousands of people constantly. I'm VERY weary about changing the default behaviour in any way. :/ I'm sorry. 🙇
There was a problem hiding this comment.
all is good, updated the values to disable it by default
Signed-off-by: AvivGuiser <avivguiser@gmail.com>
Signed-off-by: Gergely Brautigam <182850+Skarlso@users.noreply.github.com>
|
Please retry analysis of this Pull-Request directly on SonarQube Cloud |
Signed-off-by: AvivGuiser avivguiser@gmail.com
Problem Statement
What is the problem you're trying to solve?
This PR adds a startup probe to the cert controller, to make sure that the pod has started up before checking if its ready to serve trrafic
Related Issue
Fixes #2217
Proposed Changes
How do you like to solve the issue and why?
add a startup probe to the cert-controller pod
Format
Please ensure that your PR follows the following format for the title:
Where
scopeis optionally one of:Checklist
git commit --signoffmake testmake reviewable