Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add SPIRE/SPIFFE Packages for Workload Identity #84

Merged
merged 7 commits into from
Feb 19, 2025

Conversation

PrimalPimmy
Copy link
Contributor

@PrimalPimmy PrimalPimmy commented Sep 17, 2024

Added the following components:

Spire-agent and SPIFFE CSI Driver. (This entire package should ideally be deployed in each new cluster)
Spire controller manager and its components for automated node/cluster and workload attestation. (Only needed on the management cluster)
Spire server, and spire OIDC components (Management cluster)
Restricted Service Account Token which is needed for node/cluster attestation. I also packaged this as a KPT file instead of using the reconciler to make this Token, since this appears to be a simpler approach.
All of these are packaged into Kptfiles.

Related: nephio-project/nephio#809

* initiating spire server

Signed-off-by: PrimalPimmy <[email protected]>

Spire agent init

Signed-off-by: PrimalPimmy <[email protected]>

bundle update

Signed-off-by: PrimalPimmy <[email protected]>

bundle update

Signed-off-by: PrimalPimmy <[email protected]>

bundle update

Signed-off-by: PrimalPimmy <[email protected]>

CSI driver and spire server changes

Signed-off-by: PrimalPimmy <[email protected]>

Added informer

Signed-off-by: PrimalPimmy <[email protected]>

Added informer

Signed-off-by: PrimalPimmy <[email protected]>

spiffe csi on agent

Signed-off-by: PrimalPimmy <[email protected]>

spiffe csi with agent

Signed-off-by: PrimalPimmy <[email protected]>

some fixes

Signed-off-by: PrimalPimmy <[email protected]>

* removed rebase

Signed-off-by: PrimalPimmy <[email protected]>

---------

Signed-off-by: PrimalPimmy <[email protected]>

fixed ver 1.10.0

Signed-off-by: PrimalPimmy <[email protected]>

Server reconfigure

Signed-off-by: PrimalPimmy <[email protected]>

permissions needed to update configmap

Signed-off-by: PrimalPimmy <[email protected]>

added cluster-list and kubeconfig cm

Signed-off-by: PrimalPimmy <[email protected]>

added cluster-list and kubeconfig cm

Signed-off-by: PrimalPimmy <[email protected]>

added cluster-list and kubeconfig cm

Signed-off-by: PrimalPimmy <[email protected]>

added cluster-list and kubeconfig cm

Signed-off-by: PrimalPimmy <[email protected]>

added cluster-list and kubeconfig cm

Signed-off-by: PrimalPimmy <[email protected]>

added cluster-list and kubeconfig cm

Signed-off-by: PrimalPimmy <[email protected]>

oidc insecure

Signed-off-by: PrimalPimmy <[email protected]>

removed regional

Signed-off-by: PrimalPimmy <[email protected]>

add spire namespace

Signed-off-by: PrimalPimmy <[email protected]>

spire controller changes

Signed-off-by: PrimalPimmy <[email protected]>

spire-system -> spire

Signed-off-by: PrimalPimmy <[email protected]>

spire CRDs

Signed-off-by: PrimalPimmy <[email protected]>

kustomization

Signed-off-by: PrimalPimmy <[email protected]>

adding more crd

Signed-off-by: PrimalPimmy <[email protected]>

adding more crd

Signed-off-by: PrimalPimmy <[email protected]>

reverting some changes

Signed-off-by: PrimalPimmy <[email protected]>

namespace change

Signed-off-by: PrimalPimmy <[email protected]>

configmap change

Signed-off-by: PrimalPimmy <[email protected]>

configmap change

Signed-off-by: PrimalPimmy <[email protected]>

minor format fix

Signed-off-by: PrimalPimmy <[email protected]>

trust domain change

Signed-off-by: PrimalPimmy <[email protected]>

namespace change

Signed-off-by: PrimalPimmy <[email protected]>
@nephio-prow nephio-prow bot requested review from radoslawc and tliron September 17, 2024 02:49
@PrimalPimmy PrimalPimmy changed the title initiating Workload Identity with Spire (#1) Initiating Workload Identity with Spire Sep 17, 2024
@PrimalPimmy PrimalPimmy marked this pull request as ready for review January 21, 2025 14:38
@nephio-prow nephio-prow bot requested review from johnbelamaric and s3wong January 21, 2025 14:38
@PrimalPimmy PrimalPimmy changed the title Initiating Workload Identity with Spire Add SPIRE/SPIFFE Packages for Workload Identity Feb 18, 2025
Signed-off-by: PrimalPimmy <[email protected]>
Signed-off-by: PrimalPimmy <[email protected]>
Signed-off-by: PrimalPimmy <[email protected]>
Signed-off-by: PrimalPimmy <[email protected]>
Copy link
Member

@liamfallon liamfallon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/approve

@nephio-prow nephio-prow bot added the approved label Feb 18, 2025
@liamfallon
Copy link
Member

/approve
/lgtm

Copy link
Contributor

nephio-prow bot commented Feb 19, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: liamfallon, PrimalPimmy

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@nephio-prow nephio-prow bot merged commit 42465a3 into nephio-project:main Feb 19, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants