Description of problem:
When setting SERVE_HTTPS=False in the assisted-service pod, it eventually goes into a crash loop.
Version-Release number of selected component (if applicable):
" Operator Package Name: assisted-service-operator",
" Source Index Image: quay.io/ocpmetal/assisted-service-index:latest",
" Operator Bundle: quay.io/ocpmetal/assisted-service-operator-bundle:latest",
" Operator Bundle Version: 0.0.1 (latest identified)",
" Operator Bundle Image Digest: sha256:9c027842d4f608318dccda6d709bc021ad5aa92a27b44ad790866e159af0160e",
" Operator Bundle Image Digest Short: 9c027842d4f6",
Steps to Reproduce:
1. Deploy latest assisted service via assisted service operator
2. Set SERVE_HTTPS=False in assisted service deployment (Must scale back assisted-service-operator in order to retain the SERVE_HTTPS value [oc scale --replicas=0 deployment/assisted-service-operator])
3. Wait a few minutes
The pod goes into a crash loop state
Pod continues to run
Issue is related to https://bugzilla.redhat.com/show_bug.cgi?id=1956569 and appears due to the liveliness and readiness probes checking for HTTPS when it is disabled.