+++ 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
Bumped OCP to 4.12 and UBI to 8.6
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
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