Skip to content

Provide helm|ansible-operator binaries and replace run target scaffold for new layouts.  #3355

@camilamacedo86

Description

@camilamacedo86

Feature Request

Is your feature request related to a problem? Please describe.
Currently, we have the command operator-sdk run and with the Ansible/Helm projects built with the new layout, we will have a target run which is calling this command. See: #3295

After the PR #3331 get merged we need to do a follow-up to generate the ansible/helm binaries and then, update the plugin scaffolds (internal/plugins/helm/v1/scaffolds/templates/makefile.go) to use it instead.

Exemple:

# just to illustrate lest build a binary:
$ go build -o helm-operator ./cmd/helm-operator/main.go 

$ the lets run a helm-operator with
$ helm-operator run 
 {"level":"info","ts":1594191796.834888,"logger":"setup","msg":"version information","go":"go1.13.12","GOOS":"darwin","GOARCH":"amd64","helm-operator":"0.0.0+git"}
{"level":"info","ts":1594191796.8350248,"logger":"setup","msg":"watching all namespaces"}
{"level":"info","ts":1594191797.146786,"logger":"controller-runtime.metrics","msg":"metrics server is starting to listen","addr":":8080"}
{"level":"error","ts":1594191797.146928,"logger":"setup","msg":"unable to load watches.yaml","path":"./watch

The makefile target should scaffold something as :

run: 
	helm-operator run local

Metadata

Metadata

Labels

kind/featureCategorizes issue or PR as related to a new feature.kubebuilder-integrationRelates to rewriting the SDK in Kubebuilder plugin formlanguage/ansibleIssue is related to an Ansible operator projectlanguage/helmIssue is related to a Helm operator project

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions