Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for ConstructSdsSecretConfig (0.4 sec)

  1. pilot/pkg/security/model/authentication.go

    							},
    						},
    					},
    				},
    			},
    			ResourceApiVersion: core.ApiVersion_V3,
    		},
    	}
    }
    
    // ConstructSdsSecretConfig constructs SDS Secret Configuration for workload proxy.
    func ConstructSdsSecretConfig(name string) *tls.SdsSecretConfig {
    	return pm.ConstructSdsSecretConfig(name)
    }
    
    func AppendURIPrefixToTrustDomain(trustDomainAliases []string) []string {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 22:11:02 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  2. pkg/bootstrap/option/convert.go

    				DefaultValidationContext:         &auth.CertificateValidationContext{MatchSubjectAltNames: model.StringToExactMatch(tls.SubjectAltNames)},
    				ValidationContextSdsSecretConfig: model.ConstructSdsSecretConfig(res.GetRootResourceName()),
    			},
    		}
    		tlsContext.CommonTlsContext.AlpnProtocols = model.ALPNH2Only
    		tlsContext.Sni = tls.Sni
    	case networkingAPI.ClientTLSSettings_MUTUAL:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 02 00:35:05 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  3. pkg/model/authentication.go

    						},
    					},
    				},
    			},
    			ResourceApiVersion:  core.ApiVersion_V3,
    			InitialFetchTimeout: durationpb.New(time.Second * 0),
    		},
    	}
    )
    
    // ConstructSdsSecretConfig constructs SDS Secret Configuration for workload proxy.
    func ConstructSdsSecretConfig(name string) *tls.SdsSecretConfig {
    	if name == "" {
    		return nil
    	}
    
    	if name == SDSDefaultResourceName {
    		return defaultSDSConfig
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 20:38:02 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  4. pilot/pkg/security/model/authentication_test.go

    						},
    					},
    				},
    			},
    		},
    		{
    			name:       "ConstructSdsSecretConfig without secretName",
    			secretName: "",
    			expected:   nil,
    		},
    	}
    
    	for _, c := range testCases {
    		t.Run(c.name, func(t *testing.T) {
    			if got := ConstructSdsSecretConfig(c.secretName); !cmp.Equal(got, c.expected, protocmp.Transform()) {
    				t.Errorf("ConstructSdsSecretConfig: got(%#v), want(%#v)\n", got, c.expected)
    			}
    		})
    	}
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Feb 20 22:39:21 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  5. pilot/pkg/networking/core/cluster_tls.go

    			Sni:              tls.Sni,
    		}
    
    		tlsContext.CommonTlsContext.TlsCertificateSdsSecretConfigs = append(tlsContext.CommonTlsContext.TlsCertificateSdsSecretConfigs,
    			sec_model.ConstructSdsSecretConfig(sec_model.SDSDefaultResourceName))
    
    		tlsContext.CommonTlsContext.ValidationContextType = &tlsv3.CommonTlsContext_CombinedValidationContext{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 18 19:09:43 UTC 2024
    - 19.2K bytes
    - Viewed (0)
Back to top