Skip to content

Commit

Permalink
Disable Webhooks
Browse files Browse the repository at this point in the history
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 <bshephar@redhat.com>
  • Loading branch information
bshephar committed Nov 20, 2024
1 parent 6202fa6 commit a0bd52f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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"]

0 comments on commit a0bd52f

Please sign in to comment.