forked from operator-framework/operator-sdk
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix swapped liveness/readiness http paths. (operator-framework#4541) (o…
…perator-framework#4546) * fixed scaffold template for the manager resource (ansible/helm) Signed-off-by: Florin Hillebrand <flozzone@gmail.com>
- Loading branch information
1 parent
b174477
commit 7db2ba0
Showing
7 changed files
with
38 additions
and
12 deletions.
There are no files selected for viewing
26 changes: 26 additions & 0 deletions
26
changelog/fragments/swap-readiness-liveness-paths-4541.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# issue #4541 | ||
entries: | ||
- description: > | ||
For Ansible/Helm-based operators, fix swapped readinessProbe/livenessProbe in manager | ||
kind: "bugfix" | ||
breaking: false | ||
migration: | ||
header: For Ansible/Helm-based operators, swap the paths of the probes in config/manager/manager.yaml. | ||
body: > | ||
The liveness and readiness probe endpoints were incorrectly named, although this mismatch will not affect their behavior. | ||
To fix, swap the `readinessProbe` and `livenessProbe` HTTP paths in `config/manager/manager.yaml`: | ||
``` | ||
livenessProbe: | ||
httpGet: | ||
path: /healthz | ||
port: 6789 | ||
initialDelaySeconds: 15 | ||
periodSeconds: 20 | ||
readinessProbe: | ||
httpGet: | ||
path: /readyz | ||
port: 6789 | ||
initialDelaySeconds: 5 | ||
periodSeconds: 10 | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters