Bug 2102269 - The base image is still 4.10 for operator-sdk
Summary: The base image is still 4.10 for operator-sdk
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Operator SDK
Version: 4.12
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 4.12.0
Assignee: Nobody
QA Contact: Fan Jia
URL:
Whiteboard:
Depends On:
Blocks: 2102086
TreeView+ depends on / blocked
 
Reported: 2022-06-29 14:42 UTC by Jesus M. Rodriguez
Modified: 2023-01-17 19:51 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Rebase: Bug Fixes Only
Doc Text:
Important: if this rebase also contains *enhancements* (or contains only enhancements), select the correct option from the Doc Type drop-down list. Rebase package(s) to version: OCP to 4.12 and UBI to 8.6. Highlights and important bug fixes:
Clone Of: 2102086
Environment:
Last Closed: 2023-01-17 19:50:54 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift ocp-release-operator-sdk pull 273 0 None open Bump OCP and UBI versions 2022-06-29 15:06:35 UTC
Red Hat Product Errata RHSA-2022:7399 0 None None None 2023-01-17 19:51:16 UTC

Description Jesus M. Rodriguez 2022-06-29 14:42:15 UTC
+++ This bug was initially created as a clone of Bug #2102086 +++

Description of problem:
Operator-sdk 1.22 generates operators still use the 4.10 base image.

Version-Release number of selected component (if applicable):
operator-sdk version: "v1.22.0-ocp", commit: "7cce8230bda4895aacaee6103fe9c1dadc87b77d", kubernetes version: "v1.24.1", go version: "go1.18.3", GOOS: "linux", GOARCH: "amd64"

How reproducible:
always

Steps to Reproduce:
1.operator-sdk init --plugins=ansible --domain=demo.com


Actual results:
1.#cat Dockerfile
FROM registry.redhat.io/openshift4/ose-ansible-operator:v4.10
2.#cat config/default/manager_auth_proxy_patch.yaml
spec:
  template:
    spec:
      containers:
      - name: kube-rbac-proxy
        image: registry.redhat.io/openshift4/ose-kube-rbac-proxy:v4.10

Expected results:
1.#cat Dockerfile
FROM registry.redhat.io/openshift4/ose-ansible-operator:v4.11
2.#cat config/default/manager_auth_proxy_patch.yaml
spec:
  template:
    spec:
      containers:
      - name: kube-rbac-proxy
        image: registry.redhat.io/openshift4/ose-kube-rbac-proxy:v4.11

Additional info:
same for the helm plugins

Comment 1 Jesus M. Rodriguez 2022-06-29 15:13:35 UTC
Bumped OCP to 4.12 and UBI to 8.6

Comment 3 Fan Jia 2022-07-04 03:50:26 UTC
test env:
operator-sdk version: "v1.20.0-ocp", commit: "31e1fa1e2d0a339b344eeab8de5b87dbfaf100be", kubernetes version: "v1.23", go version: "go1.18.3", GOOS: "linux", GOARCH: "amd64"

test result:
$operator-sdk init --domain=example.com --repo=github.com/example-inc/memcached-operator
$cat Dockerfile
FROM registry.access.redhat.com/ubi8/ubi-minimal:8.6

operator-sdk init --plugins=ansible --domain=demo.com
#cat Dockerfile
FROM registry.redhat.io/openshift4/ose-ansible-operator:v4.12

Comment 7 errata-xmlrpc 2023-01-17 19:50:54 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Moderate: OpenShift Container Platform 4.12.0 bug fix and security update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2022:7399


Note You need to log in before you can comment on or make changes to this bug.