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

Can't generate ansible type operator with the latest operator-sdk #6746

Closed
emmajiafan opened this issue May 13, 2024 · 3 comments
Closed

Can't generate ansible type operator with the latest operator-sdk #6746

emmajiafan opened this issue May 13, 2024 · 3 comments
Labels
triage/duplicate Indicates an issue is a duplicate of other open issue.

Comments

@emmajiafan
Copy link
Contributor

Bug Report

What did you do?

operator-sdk version:
operator-sdk version: "v1.34.0-10-gc762768c", commit: "c762768c8a128563147dd99218e4ba9ecc035557", kubernetes version: "v1.28.0", go version: "go1.21.4", GOOS: "linux", GOARCH: "amd64"
generate the ansible type operator
$operator-sdk init --plugins=ansible --domain=example.com

What did you expect to see?

generate ansible type operator success

What did you see instead? Under which circumstances?

$ operator-sdk init --plugins=ansible --domain=example.com
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
.........

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

@acornett21
Copy link
Contributor

@manas-d2
Copy link

@acornett21 is there a fix for this yet ? or should we use other sdk version ?

@acornett21
Copy link
Contributor

@manas-d2 There isn't a fix yet, you could downgrade to 1.33.0 and that should work.

@jberkhahn jberkhahn added the triage/duplicate Indicates an issue is a duplicate of other open issue. label May 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
triage/duplicate Indicates an issue is a duplicate of other open issue.
Projects
None yet
Development

No branches or pull requests

4 participants