Coder Social home page Coder Social logo

Comments (10)

2uasimojo avatar 2uasimojo commented on August 23, 2024

ClusterDeployment.Spec.Provisioning.SSHPrivateKeySecretRef is a LocalObjectReference -- we expect to find the secret in the same namespace as the ClusterDeployment. So...

$ kubectl create secret generic "ssh-key"
--namespace hive
--from-file ssh-privatekey=ssh-key
--from-file ssh-publickey=ssh-key.pub

Is your ClusterDeployment also in namespace hive?

Now, arguably we should somehow fail if you specify that secret and we can't find it...

from hive.

Nashluffy avatar Nashluffy commented on August 23, 2024

Yes, the cluster deployment lives in the same namespace. When I was pulling the key pair that terraform created from inside the provision pod, I saw my own key pair present under /sshkeys/

from hive.

2uasimojo avatar 2uasimojo commented on August 23, 2024

@patrickdillon can you please advise here? It sounds like hive is correctly laying down the SSH keys under /sshkeys -- does installer know to look there (assuming its wd is /)? Do we expect to be able to use those keys for the bootstrap node?

from hive.

openshift-bot avatar openshift-bot commented on August 23, 2024

Issues go stale after 90d of inactivity.

Mark the issue as fresh by commenting /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.
Exclude this issue from closing by commenting /lifecycle frozen.

If this issue is safe to close now please do so with /close.

/lifecycle stale

from hive.

Nashluffy avatar Nashluffy commented on August 23, 2024

/remove-lifecycle stale

from hive.

2uasimojo avatar 2uasimojo commented on August 23, 2024

@patrickdillon bump

from hive.

openshift-bot avatar openshift-bot commented on August 23, 2024

Issues go stale after 90d of inactivity.

Mark the issue as fresh by commenting /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.
Exclude this issue from closing by commenting /lifecycle frozen.

If this issue is safe to close now please do so with /close.

/lifecycle stale

from hive.

patrickdillon avatar patrickdillon commented on August 23, 2024

/remove-lifecycle stale

from hive.

patrickdillon avatar patrickdillon commented on August 23, 2024

The ssh key needs to be included in the install config: installconfig.sshKey. If one isn't provided, the installer may create one. That could be a possible explanation for this behavior.

from hive.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.