Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for GetRootResourceName (0.78 sec)

  1. security/pkg/nodeagent/cache/secretcache_test.go

    	})
    
    	// Check request for non-workload root-certs doesn't configuration with ProxyConfig TrustAnchor
    	checkSecret(t, sc, sc.existingCertificateFile.GetRootResourceName(), security.SecretItem{
    		ResourceName: sc.existingCertificateFile.GetRootResourceName(),
    		RootCert:     rootCert,
    	})
    }
    
    func TestProxyConfigAnchorsTriggerWorkloadCertUpdate(t *testing.T) {
    	cacheLog.SetOutputLevel(log.DebugLevel)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 16 22:12:28 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  2. pilot/pkg/networking/core/cluster_tls.go

    						DefaultValidationContext:         defaultValidationContext,
    						ValidationContextSdsSecretConfig: sec_model.ConstructSdsSecretConfig(res.GetRootResourceName()),
    					},
    				}
    
    			}
    		}
    
    		applyTLSDefaults(tlsContext, opts.mesh.GetTlsDefaults())
    
    		if cb.isHttp2Cluster(c) {
    			// This is HTTP/2 cluster, advertise it with ALPN.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 18 19:09:43 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  3. pkg/security/security.go

    		return "file-cert:" + s.CertificatePath + ResourceSeparator + s.PrivateKeyPath // Format: file-cert:%s~%s
    	}
    	return ""
    }
    
    // GetRootResourceName converts a SdsCertificateConfig to a string to be used as an SDS resource name for the root
    func (s SdsCertificateConfig) GetRootResourceName() string {
    	if s.IsRootCertificate() {
    		return "file-root:" + s.CaCertificatePath // Format: file-root:%s
    	}
    	return ""
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 17:48:28 UTC 2024
    - 19.1K bytes
    - Viewed (0)
  4. pkg/istio-agent/agent_test.go

    			a.ProxyConfig.ProxyMetadata[MetadataClientRootCert] = filepath.Join(dir, "root-cert.pem")
    			a.Security.FileMountedCerts = true
    			return a
    		}).Check(t, cfg.GetRootResourceName(), cfg.GetResourceName())
    	})
    	t.Run("File mounted certs with bogus token path", func(t *testing.T) {
    		// User sets FileMountedCerts and a bogus token path.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 16 22:12:28 UTC 2024
    - 33.4K bytes
    - Viewed (0)
Back to top