Skip to content

Operator SDK Version 1.34.1 Fails to Scaffold Ansible Projects #6750

@acornett21

Description

@acornett21

Bug Report

What did you do?

Run The below

mkdir memcached-operator
cd memcached-operator
operator-sdk init --domain example.com --plugins ansible

What did you expect to see?

A fully scaffold project

What did you see instead? Under which circumstances?

The SDK errors

INFO[0000] Writing kustomize manifests for you to edit... 
Error: failed to initialize project: unable to scaffold with "base.ansible.sdk.operatorframework.io/v1": error updating init manifests: error updating kustomization.yaml files: remove config/default/kustomization.yaml patch and vars blocks: unable to find the content to be replaced

Environment

Operator type:

/language ansible

Kubernetes cluster type:

$ operator-sdk version
operator-sdk version: "v1.34.1", commit: "edaed1e5057db0349568e0b02df3743051b54e68", kubernetes version: "1.28.0", go version: "go1.21.7", GOOS: "linux", GOARCH: "amd64"

$ go version (if language is Go)
Any

$ kubectl version
NA

Possible Solution

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugCategorizes issue or PR as related to a bug.language/ansibleIssue is related to an Ansible operator project

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions