community-plugins icon indicating copy to clipboard operation
community-plugins copied to clipboard

🔌 Plugin: Spinnaker

Open stefanalund opened this issue 5 years ago • 24 comments

Summary

Visualise and manage deployments in Spinnaker.

Project website (if applicable)

https://www.spinnaker.io/reference/api/

Context

The existing Deck project can potentially be used: https://github.com/spinnaker/deck

stefanalund avatar Apr 23 '20 11:04 stefanalund

I can take a stab at this feature. PS: a lot of k8s related features (#632) can be implemented with spinnaker integration by leveraging cloud driver (https://www.spinnaker.io/setup/install/providers/kubernetes-v2/)

jackskj avatar May 04 '20 17:05 jackskj

Great @jackskj -- assigned you!

stefanalund avatar May 04 '20 17:05 stefanalund

@jackskj maybe the Kubernetes plugin backend could register the routes used in spinnaker backend. How are you planning on developing it?

biggusbeetus avatar May 11 '20 01:05 biggusbeetus

what do you refer to by "routes"

jackskj avatar May 11 '20 16:05 jackskj

With spinnaker, a user may or may not have access to a particular k8s account, regardless what access the user may have with backstage k8s plugin. This is because access control for spinnaker resources is managed separately.

I am not sure how you will name each k8s account in backstage plugin (perhaps by context name). But if you were to route from k8s plugin to spinnaker plugin, the k8s account name should match. (in spinnaker, k8s account names are set by the admin)

jackskj avatar May 11 '20 18:05 jackskj

Do you think it would be better just to handle all authentication via contexts in the kubeconfig file? I still haven't decided how to set up k8s accounts in the plugin :thinking:. I am using this as an example https://github.com/hjacobs/kube-web-view

biggusbeetus avatar May 13 '20 00:05 biggusbeetus

yes, kubeconfig is fine. However, not every user should have access to every k8s account(context). Spinnaker admins usually configure which user groups have read/write/execute permissions for a particular k8s account

jackskj avatar May 13 '20 01:05 jackskj

Hey, is this still active? AirBnb and others on the Spinnaker UX SIGs have been working in some frontend projects for Spinnaker that sound related. Would love to have you/Spotify in on a groupthink about what we can build for OSS as a baseline. Also are you familiar with the Spinnaker plugin framework?

dnilasor avatar Aug 05 '20 16:08 dnilasor

Hello, is the plugin in progress or is there an intention to create it?

irenefva avatar Jan 20 '21 11:01 irenefva

Hey! Sorry for the radio silence from our side. It's not something that the core team will be working on, and we don't utilize enough of spinnaker internally at spotify to open source our internal code. Is there someone that would like to work on this ticket?

benjdlambert avatar Jan 21 '21 14:01 benjdlambert

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Mar 29 '21 09:03 stale[bot]

Re-opening since plugin suggestion issues are now exempt from stalebot.

OrkoHunter avatar Apr 13 '21 07:04 OrkoHunter

Hey @dnilasor could you share some references about that? I want to work in this plugin, but I am looking to deck and is all about angular

angeliski avatar Jun 18 '21 21:06 angeliski

Hi, any updates on this...? Just one detail regarding some updates here, Spinnaker also supports other deployments than K8S, right... So, the implementation I guess should be something non-Kube specific...

iiro avatar Jan 11 '22 06:01 iiro

This is still up for grabs for interested parties!

freben avatar Jan 13 '22 17:01 freben

just found mertsaygi/backstage-plugin-spinnaker by @mertsaygi (also not sure if there was awareness about this issue while creating it)

pjungermann avatar Mar 30 '22 13:03 pjungermann

Hey thanks for the tip @pjungermann, I will take a look in the plugin to get some inspiration. I tried in the past but got some issues to make the authentication Spinnaker works for me so I dropped, maybe now I can get this working :)

angeliski avatar Apr 09 '22 12:04 angeliski

Guys,

I've started to do that. After the compilation, I would announce it from here but I've some issues about authenticate with oauth to our Spinnaker instance. Maybe someone from here can help me and I can continue to next steps about it.

mertsaygi avatar Apr 09 '22 16:04 mertsaygi

Yes @mertsaygi , I just can't make the oauth works. I tried to find docs or something to help me (like read the code in the spin cli) but I can't find anything working

angeliski avatar Apr 10 '22 01:04 angeliski

@angeliski Let us know if there's something specific on the auth side of it. We do have a generic oauth implementation that you may be able to leverage making your own spinnakerAuthApiRef or whatnot, if you need to get authz tokens on the user's behalf.

freben avatar Apr 11 '22 14:04 freben

Hey @freben I will try using that, do you have any example?

Just to be fair, my first atempt wasn't using the frontend, but what I was trying is create an action to create a new pipeline when a app is created using Software Templates, so I am looking for a backend auth in this case.

angeliski avatar Apr 11 '22 21:04 angeliski

@angeliski There are some pointers for setting it up here: https://backstage.io/docs/api/deprecations#generic-auth-api-refs. Otherwise it's all over here: https://github.com/backstage/backstage/issues/10303 (sorry 😅)

Rugvip avatar Apr 13 '22 09:04 Rugvip

Hi @mertsaygi, is there still progress? Would like to test your Spinnaker plugin here with our instance.

jgrumboe avatar Mar 09 '23 23:03 jgrumboe

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar Sep 08 '24 06:09 github-actions[bot]

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar Nov 16 '24 12:11 github-actions[bot]