Bug Report
What did you do?
I followed the instructions in the Ansible operator quickstart: https://sdk.operatorframework.io/docs/building-operators/ansible/quickstart/
mkdir memcached-operator
cd memcached-operator
operator-sdk init --plugins=ansible --domain=example.com
operator-sdk create api --group cache --version v1 --kind Memcached --generate-role
make docker-build
What did you expect to see?
I expected the image to be built.
What did you see instead? Under which circumstances?
I saw:
$ make docker-build
env: Snitch.app/Contents/Components:/Library/Apple/usr/bin:/Users/jgeerling/.rvm/bin:/Users/jgeerling/Downloads/memcached-operator/bin: No such file or directory
env: Snitch.app/Contents/Components:/Library/Apple/usr/bin:/Users/jgeerling/.rvm/bin:/Users/jgeerling/Downloads/memcached-operator/bin: No such file or directory
docker build . -t controller:latest
env: Snitch.app/Contents/Components:/Library/Apple/usr/bin:/Users/jgeerling/.rvm/bin:/Users/jgeerling/Downloads/memcached-operator/bin: No such file or directory
make: *** [docker-build] Error 127
Environment
Operator type:
/language ansible
Kubernetes cluster type:
vanilla
$ operator-sdk version
operator-sdk version: "v1.3.0", commit: "1abf57985b43bf6a59dcd18147b3c574fa57d3f6", kubernetes version: "v1.19.4", go version: "go1.15.5", GOOS: "darwin", GOARCH: "amd64"
$ kubectl version
Client Version: version.Info{Major:"1", Minor:"19", GitVersion:"v1.19.4", GitCommit:"d360454c9bcd1634cf4cc52d1867af5491dc9c5f", GitTreeState:"clean", BuildDate:"2020-11-12T01:09:16Z", GoVersion:"go1.15.4", Compiler:"gc", Platform:"darwin/amd64"}
Possible Solution
It looks like the Makefile might be overriding my $PATH. env in my path is located in:
But that is not in any of the paths that seem to be used by the Makefile :-/
Additional context
N/A
Bug Report
What did you do?
I followed the instructions in the Ansible operator quickstart: https://sdk.operatorframework.io/docs/building-operators/ansible/quickstart/
What did you expect to see?
I expected the image to be built.
What did you see instead? Under which circumstances?
I saw:
Environment
Operator type:
/language ansible
Kubernetes cluster type:
vanilla
$ operator-sdk version$ kubectl versionPossible Solution
It looks like the Makefile might be overriding my
$PATH.envin my path is located in:But that is not in any of the paths that seem to be used by the Makefile :-/
Additional context
N/A