Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for createNamespaceIfNotExist (0.09 sec)

  1. istioctl/pkg/multicluster/remote_secret.go

    	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 {
    		return err
    	}
    
    	// Apply the YAML to the cluster.
    	return client.ApplyYAMLContents(opt.Namespace, yaml)
    }
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 15 16:31:46 UTC 2024
    - 23.3K bytes
    - Viewed (0)
Back to top