From cff9550ebf9cd68aab0e745a5f9a476ba6459018 Mon Sep 17 00:00:00 2001 From: Brendan Shephard Date: Thu, 31 Oct 2024 22:55:04 +1000 Subject: [PATCH] Disable Webhooks This change builds the Operator bundle with ENABLE_WEBHOOKS=false. This is due to the duplication of webhook logic since openstack-operator imports and runs this webhook at the OpenStackControlPlane level. Therefor, having the webhook run by the service operator is a needless duplication of this webhook logic. Jira: https://issues.redhat.com/browse/OSPRH-11198 Signed-off-by: Brendan Shephard --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index 404227be..45025fdc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -43,6 +43,7 @@ ARG IMAGE_VERSION="1.0.0" ARG IMAGE_SUMMARY="Heat Operator" ARG IMAGE_DESC="This image includes the heat-operator" ARG IMAGE_TAGS="cn-openstack openstack" +ARG ENABLE_WEBHOOKS=false ### DO NOT EDIT LINES BELOW # Auto generated using CI tools from @@ -72,5 +73,6 @@ COPY --from=builder ${DEST_ROOT}/templates ${OPERATOR_TEMPLATES} USER $USER_ID ENV PATH="/:${PATH}" +ENV ENABLE_WEBHOOKS="${ENABLE_WEBHOOKS}" ENTRYPOINT ["/manager"]