Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for generateServiceAccountYAML (0.2 sec)

  1. istioctl/pkg/multicluster/remote_secret.go

    			opt.ServiceAccountName, opt.Namespace, err)
    	}
    	return sa, nil
    }
    
    func createServiceAccount(client kube.CLIClient, opt RemoteSecretOptions) error {
    	yaml, err := generateServiceAccountYAML(opt)
    	if err != nil {
    		return err
    	}
    
    	// Before we can apply the yaml, we have to ensure the system namespace exists.
    	if err := createNamespaceIfNotExist(client, opt.Namespace); err != nil {
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Wed Oct 11 01:43:17 GMT 2023
    - 24K bytes
    - Viewed (0)
  2. istioctl/pkg/multicluster/remote_secret_test.go

    		CreateServiceAccount: true,
    		ManifestsPath:        filepath.Join(env.IstioSrc, "manifests"),
    		KubeOptions: KubeOptions{
    			Namespace: "istio-system",
    		},
    	}
    	yaml, err := generateServiceAccountYAML(opts)
    	if err != nil {
    		t.Fatalf("failed to generate service account YAML: %v", err)
    	}
    	objs, err := object.ParseK8sObjectsFromYAMLManifest(yaml)
    	if err != nil {
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Oct 31 14:48:28 GMT 2023
    - 20.6K bytes
    - Viewed (0)
Back to top