Skip to content

Commit a58a85f

Browse files
RHTAS-build-botRHTAS-build-bot
authored andcommitted
🤖 [main] [2026-02-12T13:09:02Z] Update Bundle image
1 parent 7a05dae commit a58a85f

4 files changed

Lines changed: 8 additions & 63 deletions

File tree

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ endif
5151
OPERATOR_SDK_VERSION ?= v1.39.2
5252

5353
# Image URL to use all building/pushing image targets
54-
IMG ?= registry.redhat.io/rhtas/policy-controller-rhel9-operator@sha256:04df1881c5cefde8478ac8e96d24ea8b4a144c303d9b3eed74e8bcbeb9b34981
54+
IMG ?= registry.redhat.io/rhtas/policy-controller-rhel9-operator@sha256:c82bb5b917663666d357d842a7a0f18baa555cac563dba9d3d86660345240e5f
5555

5656
# CONTAINER_TOOL defines the container tool to be used for building images.
5757
# Be aware that the target commands are only tested with Docker which is

bundle.Dockerfile

Lines changed: 4 additions & 59 deletions
Original file line numberDiff line numberDiff line change
@@ -1,75 +1,20 @@
1-
ARG VERSION="1.0.0"
2-
ARG CHANNELS="stable,stable-v1.0"
3-
ARG DEFAULT_CHANNEL="stable"
4-
ARG BUNDLE_OVERLAY="olm"
5-
ARG BUNDLE_GEN_FLAGS="-q --overwrite=false --version $VERSION --channels=$CHANNELS --default-channel=$DEFAULT_CHANNEL"
6-
ARG IMG
7-
8-
FROM registry.redhat.io/openshift4/ose-cli-rhel9@sha256:d072d9873f622071f928616bb7b5024e609363bb11c7d2786b966102e5c5f5b9 AS oc-builder
9-
FROM registry.redhat.io/openshift4/ose-operator-sdk-rhel9@sha256:8ff0cb8587bbca8809490ff59a67496599b6c0cc8e4ca88451481a265f17e581 AS builder
10-
11-
ARG BUNDLE_GEN_FLAGS
12-
ARG IMG
13-
14-
WORKDIR /tmp
15-
16-
COPY ./config/ ./config/
17-
COPY PROJECT .
18-
COPY hack/build-bundle.sh build-bundle.sh
19-
COPY helm-charts helm-charts
20-
COPY --from=oc-builder /usr/bin/oc /usr/bin/oc
21-
22-
USER root
23-
24-
RUN ./build-bundle.sh
25-
261
FROM scratch
272

28-
ARG CHANNELS
29-
ARG VERSION
30-
313
# Core bundle labels.
324
LABEL operators.operatorframework.io.bundle.mediatype.v1=registry+v1
335
LABEL operators.operatorframework.io.bundle.manifests.v1=manifests/
346
LABEL operators.operatorframework.io.bundle.metadata.v1=metadata/
357
LABEL operators.operatorframework.io.bundle.package.v1=policy-controller-operator
36-
LABEL operators.operatorframework.io.bundle.channels.v1=stable,stable-v1.0
8+
LABEL operators.operatorframework.io.bundle.channels.v1=alpha
379
LABEL operators.operatorframework.io.metrics.builder=operator-sdk-v1.39.2
3810
LABEL operators.operatorframework.io.metrics.mediatype.v1=metrics+v1
3911
LABEL operators.operatorframework.io.metrics.project_layout=helm.sdk.operatorframework.io/v1
40-
LABEL operators.openshift.io/valid-subscription="Red Hat Trusted Artifact Signer"
4112

4213
# Labels for testing.
4314
LABEL operators.operatorframework.io.test.mediatype.v1=scorecard+v1
4415
LABEL operators.operatorframework.io.test.config.v1=tests/scorecard/
4516

46-
LABEL maintainer="Red Hat, Inc."
47-
LABEL vendor="Red Hat, Inc."
48-
LABEL url="https://www.redhat.com"
49-
LABEL distribution-scope="public"
50-
LABEL version=$VERSION
51-
52-
LABEL description="The bundle image for the Policy Controller Operator, containing manifests, metadata and testing scorecard."
53-
LABEL io.k8s.description="The bundle image for the Policy Controller Operator, containing manifests, metadata and testing scorecard."
54-
LABEL io.k8s.display-name="RHTAS Policy Controller Operator bundle container image for Red Hat Trusted Artifact Signer."
55-
LABEL io.openshift.tags="policy-controller-operator-bundle, policy-controller-operator, Red Hat Trusted Artifact Signer."
56-
LABEL summary="Operator Bundle for the Policy Controller Operator."
57-
LABEL com.redhat.component="policy-controller-operator-bundle"
58-
LABEL name="rhtas/policy-controller-operator-bundle"
59-
60-
LABEL features.operators.openshift.io/cni="false"
61-
LABEL features.operators.openshift.io/disconnected="false"
62-
LABEL features.operators.openshift.io/fips-compliant="false"
63-
LABEL features.operators.openshift.io/proxy-aware="false"
64-
LABEL features.operators.openshift.io/cnf="false"
65-
LABEL features.operators.openshift.io/csi="false"
66-
LABEL features.operators.openshift.io/tls-profiles="false"
67-
LABEL features.operators.openshift.io/token-auth-aws="false"
68-
LABEL features.operators.openshift.io/token-auth-azure="false"
69-
LABEL features.operators.openshift.io/token-auth-gcp="false"
70-
7117
# Copy files to locations specified by labels.
72-
COPY --from=builder /tmp/bundle/manifests /manifests/
73-
COPY --from=builder /tmp/bundle/metadata /metadata/
74-
COPY --from=builder /tmp/bundle/tests/scorecard /tests/scorecard/
75-
COPY LICENSE /licenses/license.txt
18+
COPY bundle/manifests /manifests/
19+
COPY bundle/metadata /metadata/
20+
COPY bundle/tests/scorecard /tests/scorecard/

config/manager/images.env

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
RELATED_IMAGE_POLICY_CONTROLLER=registry.redhat.io/rhtas/policy-controller-rhel9@sha256:$DIGEST
2-
RELATED_IMAGE_OSE_CLI=registry.redhat.io/openshift4/ose-cli@sha256:$DIGEST
1+
RELATED_IMAGE_POLICY_CONTROLLER=registry.redhat.io/rhtas/policy-controller-rhel9@sha256:86e1e9bd77cc8837a8b374f22486806ce451083cd60d5d5554ed53f7d16d8e6e
2+
RELATED_IMAGE_OSE_CLI=registry.redhat.io/openshift4/ose-cli@sha256:02da0c947232171724a55e5459769055c41dcb066f41ea607571ad95dad82954

config/manager/kustomization.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ resources:
55
- manager.yaml
66

77
images:
8-
- digest: sha256:04df1881c5cefde8478ac8e96d24ea8b4a144c303d9b3eed74e8bcbeb9b34981
8+
- digest: sha256:c82bb5b917663666d357d842a7a0f18baa555cac563dba9d3d86660345240e5f
99
name: controller
1010
newName: registry.redhat.io/rhtas/policy-controller-rhel9-operator
1111

0 commit comments

Comments
 (0)