Comments (7)
For starters, we can document the steps we've taken to verify it works. If that all goes smoothly, scripting those steps shouldn't be too much additional work.
from spinnaker-for-gcp.
Thanks for raising this, Adam!
A quick question to clarify: are we talking about using the identity attached to the clouddriver pod (via Workload Identity) as the credential that is used to deploy to other clusters? Or do you have something different in mind here?
from spinnaker-for-gcp.
Yeah, that exactly. It's much more secure than storing a secret, but I also understand that it's very gke specific. Not sure if spinnaker wants to go down the route of supporting gke only kubernetes features
from spinnaker-for-gcp.
@duftler FYI ^^
from spinnaker-for-gcp.
These are the rough steps that will be required to make Spinnaker for GCP work with Workload Identity:
- Add newer google auth library to kork: spinnaker/kork#390
- Update each service to match the changes that were made to front50 here (thanks for doing all the digging on this, @adamdavis40208 ): spinnaker/front50#605
- Add logic to Spinnaker for GCP to:
- Enable workload identity on the cluster
- Create "Spinnaker service"-specific Kubernetes service accounts
- Create "Spinnaker service"-specific Google service accounts
- Create GCP IAM bindings between the pairs of service accounts
- Annotate each Kubernetes service account, telling it which Google service account to use when calling GCP api's
- Modify each service's pod spec to specify the appropriate Kubernetes service account (have verified that halyard will allow for the service accounts to be specified via configuration: spinnaker/halyard#1450)
from spinnaker-for-gcp.
Thanks for the investigation, @duftler! It looks like the first two items will require changes to Spinnaker OSS; once that's done, is there a way for users to run through the remaining steps "by hand" to validate this approach before we consider how to automate this?
from spinnaker-for-gcp.
This PR adds an experimental script that will enable workload identity: #142
from spinnaker-for-gcp.
Related Issues (20)
- No valid versions with the prefix "1.18.17" found. HOT 1
- Spinnaker 1.26.6 still uses legacy UI? Don't see gcs artifact account when creating stage. HOT 1
- Spinnaker is messed up after resize cluster to 0 nodes HOT 2
- Doesn't work, GKE version outdated? HOT 1
- request: mention "Control plane authorised networks" in documentation
- Issue in Connect to Spinnaker - on Step 2
- Application information missing in Spinnaker after re-adding GKE accounts HOT 2
- Random identifier generation can hang
- `--enable-stackdriver-kubernetes` being deprecated when creating GKE cluster.
- When fiat is enabled service and deployment labels are not applied
- `setup.sh` enables Cloud APIs that are not required by all deployments HOT 1
- Automatically select kube context.
- `scripts/manage/connect_to_redis.sh` is flakey
- ! ERROR Failed to backup user file
- Unable to use the repository to deploy Spinnaker on GCP HOT 1
- Is the spinnaker-for-gcp repository still active?
- Is the spinnaker-for-gcp repository still active?
- Unable to configure Email configuration
- Modify function setup to automatically select available nodejs runtimes
- getting error while adding the gke account by running the script 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 spinnaker-for-gcp.