Skip to content

Commit

Permalink
Update bundle annotations to include must-gather image
Browse files Browse the repository at this point in the history
Since we have a must-gather image, we should advertise that information
through the bundle. We typically do this using `RELATED_IMAGES`, which
the operator uses to find container images it needs to do things like
profile parsing or scanning.

While we can use `RELATED_IMAGES` for the must-gather image, the
Compliance Operator doesn't use the must-gather image directly. Instead,
we can put it in the annotation of the bundle CSV, so it's still
discoverable to users, while not polluting the operator environment with
variables it doesn't need.
  • Loading branch information
rhmdnd committed Aug 20, 2024
1 parent 81a46a1 commit ce9e8df
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,7 @@ metadata:
]
capabilities: Seamless Upgrades
categories: Monitoring,Security
must-gather-image: ghcr.io/complianceascode/must-gather-ocp:latest
olm.skipRange: '>=0.1.17 <1.5.0'
operatorframework.io/cluster-monitoring: "true"
operatorframework.io/suggested-namespace: openshift-compliance
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,7 @@ metadata:
]
capabilities: Seamless Upgrades
categories: Monitoring,Security
must-gather-image: ghcr.io/complianceascode/must-gather-ocp:latest
olm.skipRange: '>=0.1.17 <1.5.0'
operatorframework.io/cluster-monitoring: "true"
operatorframework.io/suggested-namespace: openshift-compliance
Expand Down

0 comments on commit ce9e8df

Please sign in to comment.