Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
Signed-off-by: zirain <zirain2009@gmail.com>
  • Loading branch information
zirain committed May 6, 2024
1 parent 52d5253 commit 1f1f454
Showing 1 changed file with 18 additions and 5 deletions.
23 changes: 18 additions & 5 deletions internal/gatewayapi/testdata/securitypolicy-with-oidc.out.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -211,10 +211,9 @@ securityPolicies:
namespace: envoy-gateway
conditions:
- lastTransitionTime: null
message: 'Error fetching endpoints from issuer: Get "https://accounts.google.com/.well-known/openid-configuration":
dial tcp 46.82.174.69:443: i/o timeout'
reason: Invalid
status: "False"
message: Policy has been accepted.
reason: Accepted
status: "True"
type: Accepted
- lastTransitionTime: null
message: 'This policy is being overridden by other securityPolicies for these
Expand Down Expand Up @@ -290,4 +289,18 @@ xdsIR:
distinct: false
name: ""
prefix: /bar
security: {}
security:
oidc:
clientID: client1.apps.googleusercontent.com
clientSecret: Y2xpZW50MTpzZWNyZXQK
cookieSuffix: b0a1b740
hmacSecret: qrOYACHXoe7UEDI/raOjNSx+Z9ufXSc/22C3T6X/zPY=
logoutPath: /bar/logout
name: securitypolicy/envoy-gateway/policy-for-gateway
provider:
authorizationEndpoint: https://accounts.google.com/o/oauth2/v2/auth
tokenEndpoint: https://oauth2.googleapis.com/token
redirectPath: /bar/oauth2/callback
redirectURL: https://www.example.com/bar/oauth2/callback
scopes:
- openid

0 comments on commit 1f1f454

Please sign in to comment.