Skip to content

Commit cf3f2de

Browse files
committed
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 <bshephar@redhat.com>
1 parent 27b5458 commit cf3f2de

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ ARG IMAGE_VERSION="1.0.0"
4343
ARG IMAGE_SUMMARY="Heat Operator"
4444
ARG IMAGE_DESC="This image includes the heat-operator"
4545
ARG IMAGE_TAGS="cn-openstack openstack"
46+
ARG ENABLE_WEBHOOKS=false
4647

4748
### DO NOT EDIT LINES BELOW
4849
# Auto generated using CI tools from
@@ -72,5 +73,6 @@ COPY --from=builder ${DEST_ROOT}/templates ${OPERATOR_TEMPLATES}
7273
USER $USER_ID
7374

7475
ENV PATH="/:${PATH}"
76+
ENV ENABLE_WEBHOOKS="${ENABLE_WEBHOOKS}"
7577

7678
ENTRYPOINT ["/manager"]

0 commit comments

Comments
 (0)