mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-20 18:31:15 +00:00
Merge pull request #100680 from smira/fix-100674
test/e2e: fix the OIDC discovery test with ECDSA service account key
This commit is contained in:
commit
bb89384f39
@ -18,7 +18,7 @@ dependencies:
|
|||||||
|
|
||||||
# agnhost: bump this one first
|
# agnhost: bump this one first
|
||||||
- name: "agnhost"
|
- name: "agnhost"
|
||||||
version: "2.30"
|
version: "2.31"
|
||||||
refPaths:
|
refPaths:
|
||||||
- path: test/images/agnhost/VERSION
|
- path: test/images/agnhost/VERSION
|
||||||
match: \d.\d
|
match: \d.\d
|
||||||
|
@ -1 +1 @@
|
|||||||
2.30
|
2.31
|
||||||
|
@ -51,7 +51,7 @@ import (
|
|||||||
func main() {
|
func main() {
|
||||||
rootCmd := &cobra.Command{
|
rootCmd := &cobra.Command{
|
||||||
Use: "app",
|
Use: "app",
|
||||||
Version: "2.30",
|
Version: "2.31",
|
||||||
}
|
}
|
||||||
|
|
||||||
rootCmd.AddCommand(auditproxy.CmdAuditProxy)
|
rootCmd.AddCommand(auditproxy.CmdAuditProxy)
|
||||||
|
@ -97,7 +97,10 @@ func main(cmd *cobra.Command, args []string) {
|
|||||||
}
|
}
|
||||||
log.Printf("OK: Constructed OIDC provider for issuer %v", unsafeClaims.Issuer)
|
log.Printf("OK: Constructed OIDC provider for issuer %v", unsafeClaims.Issuer)
|
||||||
|
|
||||||
validTok, err := iss.Verifier(&oidc.Config{ClientID: audience}).Verify(ctx, raw)
|
validTok, err := iss.Verifier(&oidc.Config{
|
||||||
|
ClientID: audience,
|
||||||
|
SupportedSigningAlgs: []string{oidc.RS256, oidc.ES256},
|
||||||
|
}).Verify(ctx, raw)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Fatal(err)
|
log.Fatal(err)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user