...

Package openidmetadata

import "k8s.io/kubernetes/test/images/agnhost/openidmetadata"
Overview
Index

Overview ▾

Package openidmetadata tests the OIDC discovery endpoints which are part of the ServiceAccountIssuerDiscovery feature.

Index ▾

Package files

openidmetadata.go

Variables

CmdTestServiceAccountIssuerDiscovery is used by agnhost Cobra.

var CmdTestServiceAccountIssuerDiscovery = &cobra.Command{
    Use:   "test-service-account-issuer-discovery",
    Short: "Tests the ServiceAccountIssuerDiscovery feature",
    Long: "Reads in a mounted token and attempts to verify it against the API server's " +
        "OIDC endpoints, using a third-party OIDC implementation.",
    Args: cobra.MaximumNArgs(0),
    Run:  main,
}