From 8566c3a26b243b0e972bd2b48f4617d35fd27a83 Mon Sep 17 00:00:00 2001 From: Matthew Booth Date: Thu, 5 Oct 2023 21:58:36 +0100 Subject: [PATCH] CARRY: Mark CAPO as second level operator This is required for it to be included in the release payload. CAPO is actually deployed by cluster-capi-operator, but is not directly referenced by cluster-capi-operator. cluster-capi-operator instead consumes a ConfigMap deployed by CAPO. CAPO must be included in the release payload in order for cluster-capi-operator to be able to consume this ConfigMap. --- Dockerfile.rhel | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile.rhel b/Dockerfile.rhel index 7bf568becf..81ae1a8b23 100644 --- a/Dockerfile.rhel +++ b/Dockerfile.rhel @@ -40,3 +40,5 @@ COPY --from=builder /workspace/manager . # Use uid of nonroot user (65532) because kubernetes expects numeric user when applying pod security policies USER 65532 ENTRYPOINT ["/manager"] + +LABEL io.openshift.release.operator true