Skip to content

Changes in the config/manifests/bases/<operator-name>.clusterserviceversion.yaml has been overwritten  #5000

@camilamacedo86

Description

@camilamacedo86

Bug Report

Changes in the config/manifests/bases/.clusterserviceversion.yaml has been overwritten

What did you do?

  1. Update spec.relatedImages in config/manifests/bases/<operator-name>.clusterserviceversion.yaml and described in the doc https://docs.openshift.com/container-platform/4.7/operators/operator_sdk/osdk-generating-csvs.html.
...
spec:
  relatedImages: 
    - name: etcd-operator 
      image: quay.io/etcd-operator/operator@sha256:d134a9865524c29fcf75bbc4469013bc38d8a15cb5f41acfddb6b9e492f556e4 
    - name: etcd-image
      image: quay.io/etcd-operator/etcd@sha256:13348c15263bd8838ec1d5fc4550ede9860fcbb0f843e48cbccec07810eebb68
...
  1. Run make bundle or operator-sdk generate kustomize manifests --interactive=false -q

What did you expect to see?

The bundle be generated using the updates for the CSV base

What did you see instead? Under which circumstances?

The changes made are lost:

Screen.Recording.2021-06-21.at.12.39.15.mov

Environment

$ operator-sdk version SDK 1.5.0

Additional context

See also:
#4992

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugCategorizes issue or PR as related to a bug.olm-integrationIssue relates to the OLM integration

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions