Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to initialize project: unable to scaffold with "base.ansible.sdk.operatorframework.io/v1" #6739

Closed
saadahmed9 opened this issue May 2, 2024 · 2 comments
Labels
language/ansible Issue is related to an Ansible operator project triage/duplicate Indicates an issue is a duplicate of other open issue.

Comments

@saadahmed9
Copy link

Bug Report

I installed all the prerequisites before initializing the project, downloaded the operator-sdk binary from Github and tried creating my first operator via below command mentioned in the operator-sdk docs:

operator-sdk init --domain example.com --plugins ansible

Environment:

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

What did you expect to see?
I expected a successful first initialization.

What did you see instead? Under which circumstances?
I saw the below error:

FATA[0000] 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 

However, project init was succesfull, when I tried go and helm plugins.

@acornett21
Copy link
Contributor

@acornett21 acornett21 added triage/duplicate Indicates an issue is a duplicate of other open issue. language/ansible Issue is related to an Ansible operator project labels May 7, 2024
@acornett21
Copy link
Contributor

closing as duplicate

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
language/ansible Issue is related to an Ansible operator project triage/duplicate Indicates an issue is a duplicate of other open issue.
Projects
None yet
Development

No branches or pull requests

2 participants