Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for authnmodel (0.27 sec)

  1. pilot/pkg/networking/core/listener.go

    		authnmodel.ApplyToCommonTLSContext(ctx.CommonTlsContext, proxy, serverTLSSettings.SubjectAltNames, serverTLSSettings.CaCrl, []string{}, validateClient)
    	// If credential name is specified at gateway config, create  SDS config for gateway to fetch key/cert from Istiod.
    	case serverTLSSettings.CredentialName != "":
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 06 04:44:06 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  2. pilot/pkg/xds/sds.go

    	"istio.io/istio/pilot/pkg/util/protoconv"
    	"istio.io/istio/pkg/cluster"
    	"istio.io/istio/pkg/config/schema/kind"
    	"istio.io/istio/pkg/util/sets"
    )
    
    // SecretResource wraps the authnmodel type with cache functions implemented
    type SecretResource struct {
    	credentials.SecretResource
    	pkpConfHash string
    }
    
    var _ model.XdsCacheEntry = SecretResource{}
    
    func (sr SecretResource) Type() string {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 15 23:04:36 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  3. pilot/pkg/security/authn/utils/utils.go

    		TlsMinimumProtocolVersion: minTLSVersion,
    		TlsMaximumProtocolVersion: tls.TlsParameters_TLSv1_3,
    	}
    	authn_model.ApplyToCommonTLSContext(ctx.CommonTlsContext, node, []string{}, /*subjectAltNames*/
    		"", /*crl*/
    		trustDomainAliases, ctx.RequireClientCertificate.Value)
    
    	// Compliance for downstream mesh mTLS.
    	authn_model.EnforceCompliance(ctx.CommonTlsContext)
    	return ctx
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 23 00:16:21 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  4. pilot/pkg/networking/core/cluster_tls_test.go

    								},
    								ValidationContextSdsSecretConfig: &tls.SdsSecretConfig{
    									Name:      "kubernetes://" + credentialName + authn_model.SdsCaSuffix,
    									SdsConfig: authn_model.SDSAdsConfig,
    								},
    							},
    						},
    					},
    					Sni: "some-sni.com",
    				},
    				err: nil,
    			},
    		},
    		{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 06 03:53:05 UTC 2024
    - 60.9K bytes
    - Viewed (0)
  5. pkg/kubeapiserver/options/authorization.go

    	for _, mode := range o.Modes {
    		if !authzmodes.IsValidAuthorizationMode(mode) {
    			allErrors = append(allErrors, fmt.Errorf("authorization-mode %q is not a valid mode", mode))
    		}
    		if mode == authzmodes.ModeABAC && o.PolicyFile == "" {
    			allErrors = append(allErrors, fmt.Errorf("authorization-mode ABAC's authorization policy file not passed"))
    		}
    		if mode == authzmodes.ModeWebhook && o.WebhookConfigFile == "" {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 14 23:09:15 UTC 2024
    - 12K bytes
    - Viewed (0)
  6. pilot/pkg/networking/core/tracing.go

    	dryRunPolicyTraceTag("istio.authorization.dry_run.allow_policy.result", authz_model.RBACShadowRulesAllowStatPrefix+authz_model.RBACShadowEngineResult),
    	dryRunPolicyTraceTag("istio.authorization.dry_run.deny_policy.name", authz_model.RBACShadowRulesDenyStatPrefix+authz_model.RBACShadowEffectivePolicyID),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 16 17:05:28 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  7. pilot/pkg/security/authz/builder/extauthz.go

    		Filter: name,
    		Path: []*envoy_type_matcher_v3.MetadataMatcher_PathSegment{
    			{
    				Segment: &envoy_type_matcher_v3.MetadataMatcher_PathSegment_Key{
    					Key: authzmodel.RBACExtAuthzShadowRulesStatPrefix + authzmodel.RBACShadowEffectivePolicyID,
    				},
    			},
    		},
    		Value: &envoy_type_matcher_v3.ValueMatcher{
    			MatchPattern: &envoy_type_matcher_v3.ValueMatcher_StringMatch{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 20:06:41 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  8. pilot/pkg/networking/grpcgen/lds.go

    	wrappers "google.golang.org/protobuf/types/known/wrapperspb"
    
    	"istio.io/api/label"
    	"istio.io/istio/pilot/pkg/model"
    	"istio.io/istio/pilot/pkg/networking/util"
    	"istio.io/istio/pilot/pkg/security/authn"
    	authzmodel "istio.io/istio/pilot/pkg/security/authz/model"
    	"istio.io/istio/pilot/pkg/util/protoconv"
    	xdsfilters "istio.io/istio/pilot/pkg/xds/filters"
    	"istio.io/istio/pkg/istio-agent/grpcxds"
    	"istio.io/istio/pkg/util/sets"
    )
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 22:20:44 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  9. cmd/kubeadm/app/phases/controlplane/manifests_test.go

    	}
    }
    
    func TestGetAuthzModes(t *testing.T) {
    	var tests = []struct {
    		name     string
    		authMode []string
    		expected string
    	}{
    		{
    			name:     "default if empty",
    			authMode: []string{},
    			expected: "Node,RBAC",
    		},
    		{
    			name:     "default non empty",
    			authMode: []string{kubeadmconstants.ModeNode, kubeadmconstants.ModeRBAC},
    			expected: "Node,RBAC",
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Mar 03 14:43:47 UTC 2024
    - 48.5K bytes
    - Viewed (0)
  10. pilot/pkg/security/authn/policy_applier.go

    	"istio.io/api/security/v1beta1"
    	"istio.io/istio/pilot/pkg/features"
    	"istio.io/istio/pilot/pkg/model"
    	"istio.io/istio/pilot/pkg/networking"
    	authn_utils "istio.io/istio/pilot/pkg/security/authn/utils"
    	authn_model "istio.io/istio/pilot/pkg/security/model"
    	"istio.io/istio/pilot/pkg/util/protoconv"
    	"istio.io/istio/pilot/pkg/xds/filters"
    	"istio.io/istio/pkg/config"
    	"istio.io/istio/pkg/config/security"
    	"istio.io/istio/pkg/jwt"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 23 09:47:21 UTC 2024
    - 19.2K bytes
    - Viewed (0)
Back to top