Skip to content

[release-ocm-2.16] MGMT-23639: image-policy override on ENABLE_KUBE_API for operator hub#2812

Open
openshift-cherrypick-robot wants to merge 1 commit into
openshift:release-ocm-2.16from
openshift-cherrypick-robot:cherry-pick-2806-to-release-ocm-2.16
Open

[release-ocm-2.16] MGMT-23639: image-policy override on ENABLE_KUBE_API for operator hub#2812
openshift-cherrypick-robot wants to merge 1 commit into
openshift:release-ocm-2.16from
openshift-cherrypick-robot:cherry-pick-2806-to-release-ocm-2.16

Conversation

@openshift-cherrypick-robot

Copy link
Copy Markdown

This is an automated cherry-pick of #2806

/assign andrej1991

Kube-API CI jobs (ENABLE_KUBE_API=true) hit strict image-policy checks on
nightly payloads. assisted-service must pass
OPENSHIFT_INSTALL_EXPERIMENTAL_DISABLE_IMAGE_POLICY into openshift-install;
exporting it on the test host (config.sh) does not reach the service pods.

Two deploy paths need two hooks:
- kind/minikube (default make setup run): assisted-service is deployed via
  make deploy-all and reads assisted-service-config from YAML. When
  ENABLE_KUBE_API is set, update_assisted_service_cm.py adds LOG_LEVEL and
  the policy key to deploy/assisted-service-configmap.yaml before deploy-all
  so the first rollout already has the correct env.
- operator hub (DEPLOY_TARGET=operator): there is no AgentServiceConfig on
  kind; on OCP the operator merges config from an overlay ConfigMap referenced
  on AgentServiceConfig. After deploy.sh, when ENABLE_KUBE_API is true,
  kube_helpers.assisted_installer_config_override applies
  assisted-installer-config-override and patches AgentServiceConfig to point
  at it.
Bare-metal kube-API jobs use the kind path today; the operator helper is for
jobs that deploy assisted-service via the Assisted Install operator.
@openshift-ci-robot

openshift-ci-robot commented Jun 2, 2026

Copy link
Copy Markdown

@openshift-cherrypick-robot: Ignoring requests to cherry-pick non-bug issues: MGMT-23639

Details

In response to this:

This is an automated cherry-pick of #2806

/assign andrej1991

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository.

@openshift-ci openshift-ci Bot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Jun 2, 2026
@openshift-ci openshift-ci Bot requested review from eliorerz and gamli75 June 2, 2026 15:31
@openshift-ci

openshift-ci Bot commented Jun 2, 2026

Copy link
Copy Markdown

@openshift-cherrypick-robot: all tests passed!

Full PR test history. Your PR dashboard.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

@andrej1991

Copy link
Copy Markdown
Contributor

/lgtm

@andrej1991

Copy link
Copy Markdown
Contributor

/approve

@openshift-ci openshift-ci Bot added the lgtm Indicates that a PR is ready to be merged. label Jun 18, 2026
@andrej1991

Copy link
Copy Markdown
Contributor

/approve

@openshift-ci

openshift-ci Bot commented Jun 18, 2026

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: andrej1991, openshift-cherrypick-robot
Once this PR has been reviewed and has the lgtm label, please assign danmanor for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@andrej1991

Copy link
Copy Markdown
Contributor

/assign @danmanor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

lgtm Indicates that a PR is ready to be merged. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants