Comments (4)
@jmccormick2001 Thanks for pointing this out. @hasbro17 and I take a deeper look into this 'dep ensure' worked (after removing the examples directory).
We found out that https://github.com/coreos/operator-sdk/blob/master/example/memcached-operator/handler.go has an extension of .go
, and it is causing the building of operator-sdk
to fail since the build tool can't find dependencies exists in the handler.go
. This file is meant to be an example text and not part of the operator-sdk
code based.
A quick fix is like what you said (after removing the examples directory).
. We are working on a fix to rename example/memcached-operator/handler.go
to example/memcached-operator/handler.go
so that the go install
can compile the operator-sdk.
from operator-sdk.
@jmccormick2001 Can you retry building the operator-sdk from the v0.0.3
tag.
$ git checkout tags/v0.0.3
$ dep ensure
$ go install github.com/coreos/operator-sdk/commands/operator-sdk
from operator-sdk.
good news, the 0.0.3 version appears to work on centos 7.
from operator-sdk.
With 0.0.4 I ran into dep ensure
hanging also during operator-sdk new
after prompting for my GitHub username. After debugging dep
with pstree
, I found dep
hung on the following command: git ls-remote https://github.com/coreos/operator-sdk
. My theory was dep
was waiting on a github password, so I enabled password caching within git, issued the git ls-remote https://github.com/coreos/operator-sdk
command to prompt and cache the password, then re-ran the operator-sdk new
.
For others experiencing a similar issue, pstree -sa [pid]
may help identify where things get blocked.
from operator-sdk.
Related Issues (20)
- Bundle generation issues warnings for APIs removed in k8s 1.25 but their v2 is still available
- Default labels do not comply with recommendation
- operator sdk 1.34 broken with ansible
- Helm-based operator does not reconcile operand with base image v1.34.0 HOT 3
- Release name must not be longer than 53 HOT 1
- Struct Type String Value Empty on Reconciliation HOT 1
- SyncPeriod for controllers HOT 1
- MultiNamespacedCacheBuilder is deprecated and can't be used to define the operator scope HOT 1
- Unable to (re)generate `roles.yaml` using RBAC markers HOT 4
- Operator SDK installs resources in the same namespace as the operator instead of the CRD namespace. HOT 1
- Create API/make generate controller-gen panics with a SIGSEGV HOT 3
- Support for Go version 1.21 HOT 4
- Docs website not updating HOT 1
- Error when running operator tutorial for Go HOT 3
- Meta Issue for k8s 1.30 bump HOT 1
- Operator-SDK version 1.34.1 removed RBAC privs that previous versions were correctly generating from Helm HOT 2
- Designing Lean Operators, example code is longer valid after `sigs.k8s.io/[email protected]` HOT 1
- A potential risk in operator-sdk that could lead to takeover of the cluster HOT 1
- [SDK Stability] Add plugin-specific scaffolding test interface to decide if a plugin version should be updated or not HOT 1
- Failed to initialize project: unable to scaffold with "base.ansible.sdk.operatorframework.io/v1" HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from operator-sdk.