38e26d7a49
I saw this helper function the other day and wondered if we could use it. It does indeed look like it does what we want, because when I run this code, I get `...User "system:anonymous" cannot get resource...`. c := library.NewAnonymousPinnipedClientset(t) _, err := c. ConfigV1alpha1(). CredentialIssuerConfigs("integration"). Get(context.Background(), "pinniped-config", metav1.GetOptions{}) t.Log(err) I also ran a similar test using this new helper in the context of library.NewClientsetWithCertAndKey(). Seemed to get us what we want. Signed-off-by: Andrew Keesler <akeesler@vmware.com> |
||
---|---|---|
.github | ||
apis | ||
cmd | ||
deploy | ||
deploy-local-user-authenticator | ||
doc | ||
generated | ||
hack | ||
internal | ||
pkg/config | ||
test | ||
tools | ||
.gitattributes | ||
.gitignore | ||
.golangci.yaml | ||
.pre-commit-config.yaml | ||
ADOPTERS.md | ||
Dockerfile | ||
go.mod | ||
go.sum | ||
LICENSE | ||
MAINTAINERS.md | ||
README.md | ||
SECURITY.md |
Overview
Pinniped provides identity services to Kubernetes.
Pinniped allows cluster administrators to easily plug in external identity providers (IDPs) into Kubernetes clusters. This is achieved via a uniform install procedure across all types and origins of Kubernetes clusters, declarative configuration via Kubernetes APIs, enterprise-grade integrations with IDPs, and distribution-specific integration strategies.
Example Use Cases
- Your team uses a large enterprise IDP, and has many clusters that they
manage. Pinniped provides:
- Seamless and robust integration with the IDP
- Easy installation across clusters of any type and origin
- A simplified login flow across all clusters
- Your team shares a single cluster. Pinniped provides:
- Simple configuration to integrate an IDP
- Individual, revocable identities
Architecture
Pinniped offers credential exchange to enable a user to exchange an external IDP credential for a short-lived, cluster-specific credential. Pinniped supports various IDP types and implements different integration strategies for various Kubernetes distributions to make authentication possible.
To learn more, see doc/architecture.md.
Trying Pinniped
Care to kick the tires? It's easy to install and try Pinniped.
Contributions
Contributions are welcome. Before contributing, please see the contributing guide.
Reporting Security Vulnerabilities
Please follow the procedure described in SECURITY.md.
License
Pinniped is open source and licensed under Apache License Version 2.0. See LICENSE.
Copyright 2020 the Pinniped contributors. All Rights Reserved.