Skip to content

Commit

Permalink
Update changelog/fragments/swap-readiness-liveness-paths-4541.yaml
Browse files Browse the repository at this point in the history
Co-authored-by: Eric Stroczynski <estroczy@redhat.com>
  • Loading branch information
flozzone and Eric Stroczynski committed Feb 18, 2021
1 parent 886c32e commit fef126b
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions changelog/fragments/swap-readiness-liveness-paths-4541.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,8 @@ entries:
migration:
header: For Ansible/Helm-based operators, swap the paths of the probes in config/manager/manager.yaml.
body: >
If the project structure has been scaffolded with operator-sdk >= v1.4.0, then the
HTTP paths for the `readinessProbe` and `livenessProbe` in the manager resource are wrong.
To fix this, swap both HTTP paths `config/manager/manager.yaml`. At the end you should have the
following probes in the deployment resource for the manager:
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:
Expand Down

0 comments on commit fef126b

Please sign in to comment.