File tree Expand file tree Collapse file tree 2 files changed +1
-4
lines changed Expand file tree Collapse file tree 2 files changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -126,9 +126,6 @@ type RunConfig struct {
126
126
// JWKSAuthTokenFile is the path to file containing auth token for JWKS/OIDC requests
127
127
JWKSAuthTokenFile string `json:"jwks_auth_token_file,omitempty" yaml:"jwks_auth_token_file,omitempty"`
128
128
129
- // JWKSAllowPrivateIP allows JWKS/OIDC endpoints on private IP addresses
130
- JWKSAllowPrivateIP bool `json:"jwks_allow_private_ip,omitempty" yaml:"jwks_allow_private_ip,omitempty"`
131
-
132
129
// Group is the name of the group this workload belongs to, if any
133
130
Group string `json:"group,omitempty" yaml:"group,omitempty"`
134
131
Original file line number Diff line number Diff line change @@ -222,12 +222,12 @@ func (b *RunConfigBuilder) WithOIDCConfig(
222
222
IntrospectionURL : oidcIntrospectionURL ,
223
223
ClientID : oidcClientID ,
224
224
ClientSecret : oidcClientSecret ,
225
+ AllowPrivateIP : jwksAllowPrivateIP ,
225
226
}
226
227
}
227
228
// Set JWKS-related configuration
228
229
b .config .ThvCABundle = thvCABundle
229
230
b .config .JWKSAuthTokenFile = jwksAuthTokenFile
230
- b .config .JWKSAllowPrivateIP = jwksAllowPrivateIP
231
231
232
232
// Set ResourceURL if OIDCConfig exists or if resourceURL is not empty
233
233
if b .config .OIDCConfig != nil {
You can’t perform that action at this time.
0 commit comments