Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Remove OLM NativeAPIs workaround #42643

@ryanemerson

Description

@ryanemerson

Description

Once quarkiverse/quarkus-operator-sdk#1154 is available via Quarkus, it should be possible to remove the following code as the generated bundle will no longer add ServiceMonitors to the nativeApis definition.

# Remove ServiceMonitors GVK from nativeAPIS to allow CSV installation when CRDs not present
yq ea -i 'del(.spec.nativeAPIs[] | select(.kind == "ServiceMonitor"))' "$CSV_PATH"

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions