mirror of
https://github.com/kubernetes/kubernetes.git
synced 2026-03-28 13:24:24 -04:00
namespace, _ := claims[NamespaceClaim].(string)
if len(namespace) == 0 {
return nil, false, errors.New("namespace claim is missing")
}
secretName, _ := claims[SecretNameClaim].(string)
if len(namespace) == 0 {
return nil, false, errors.New("secretName claim is missing")
}
|
||
|---|---|---|
| .. | ||
| BUILD | ||
| jwt.go | ||
| jwt_test.go | ||
| OWNERS | ||
| util.go | ||