Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for gcp_project_number (3.85 sec)

  1. tools/packaging/common/gcp_envoy_bootstrap.json

    {
      "node": {
        {{ if (index .metadata.Labels "td.networking.gke.io/mesh-name") }}
          "id": "projects/{{ .gcp_project_number }}/networks/mesh:{{ (index .metadata.Labels "td.networking.gke.io/mesh-name") }}/nodes/{{ .nodeID}}",
        {{ else if (index .metadata.Labels "td.networking.gke.io/gateway-name") }}
          "id": "projects/{{ .gcp_project_number }}/networks/scope:{{ (index .metadata.Labels "td.networking.gke.io/gateway-name") }}/nodes/{{ .nodeID}}",
        {{ else }}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 16 17:05:28 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  2. pkg/bootstrap/option/instances.go

    func STSPort(value int) Instance {
    	return newOption("sts_port", value)
    }
    
    func GCPProjectID(value string) Instance {
    	return newOption("gcp_project_id", value)
    }
    
    func GCPProjectNumber(value string) Instance {
    	return newOption("gcp_project_number", value)
    }
    
    func Metadata(meta *model.BootstrapNodeMetadata) Instance {
    	return newOption("metadata", meta)
    }
    
    func STSEnabled(value bool) Instance {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 17:02:38 UTC 2024
    - 9K bytes
    - Viewed (0)
  3. pkg/bootstrap/platform/gcp.go

    	"istio.io/istio/pkg/env"
    	"istio.io/istio/pkg/lazy"
    	"istio.io/istio/pkg/log"
    	"istio.io/istio/pkg/maps"
    	"istio.io/istio/pkg/util/sets"
    )
    
    const (
    	GCPProject           = "gcp_project"
    	GCPProjectNumber     = "gcp_project_number"
    	GCPCluster           = "gcp_gke_cluster_name"
    	GCPClusterURL        = "gcp_gke_cluster_url"
    	GCPLocation          = "gcp_location"
    	GCEInstance          = "gcp_gce_instance"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Dec 15 00:37:33 UTC 2023
    - 11.1K bytes
    - Viewed (0)
  4. pkg/bootstrap/platform/gcp_test.go

    			func() (string, error) { return "createdBy", nil },
    			map[string]string{
    				GCPProject:       "env_pid",
    				GCPProjectNumber: "env_pn",
    				GCPCluster:       "env_cluster",
    				GCPLocation:      "env_location",
    			},
    			map[string]string{
    				GCPProject: "env_pid", GCPProjectNumber: "env_pn", GCPLocation: "env_location", GCPCluster: "env_cluster",
    			},
    		},
    		{
    			"use env variable without fill",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Dec 15 00:37:33 UTC 2023
    - 17.7K bytes
    - Viewed (0)
  5. pkg/bootstrap/config.go

    		option.DeferredClusterCreation(features.EnableDeferredClusterCreation))
    
    	// Add GCPProjectNumber to access in bootstrap template.
    	md := cfg.Metadata.PlatformMetadata
    	if projectNumber, found := md[platform.GCPProjectNumber]; found {
    		opts = append(opts, option.GCPProjectNumber(projectNumber))
    	}
    
    	if cfg.Metadata.StsPort != "" {
    		stsPort, err := strconv.Atoi(cfg.Metadata.StsPort)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 17:02:38 UTC 2024
    - 27.6K bytes
    - Viewed (0)
Back to top