Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for ApplyYAMLFiles (0.5 sec)

  1. tests/integration/operator/uninstall_test.go

    	if err := os.WriteFile(iopCRFile, []byte(overlayYAML), os.ModePerm); err != nil {
    		t.Fatalf("failed to write iop cr file: %v", err)
    	}
    
    	if err := cs.ApplyYAMLFiles(IstioNamespace, iopCRFile); err != nil {
    		t.Fatalf("failed to apply IstioOperator CR file: %s, %v", iopCRFile, err)
    	}
    }
    
    func checkIopExist(cs istiokube.CLIClient, iopName string) (bool, error) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 10 20:33:28 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  2. pkg/test/framework/components/namespace/kube.go

    			return c.Kube().CoreV1().Namespaces().Delete(context.TODO(), n.name, kube2.DeleteOptionsForeground())
    		})
    	}
    
    	s := n.ctx.Settings()
    	if s.Image.PullSecret != "" {
    		if err := c.ApplyYAMLFiles(n.name, s.Image.PullSecret); err != nil {
    			return err
    		}
    		err := retry.UntilSuccess(func() error {
    			_, err := c.Kube().CoreV1().ServiceAccounts(n.name).Patch(context.TODO(),
    				"default",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 9K bytes
    - Viewed (0)
  3. pkg/test/framework/config.go

    	for _, cl := range c.clusters {
    		cl := cl
    		g.Go(func() error {
    			scopes.Framework.Debugf("Applying to %s to namespace %v: %s", cl.StableName(), ns, strings.Join(yamlFiles, ", "))
    			if err := cl.ApplyYAMLFiles(ns, yamlFiles...); err != nil {
    				return fmt.Errorf("failed applying YAML files %v to ns %s in cluster %s: %v", yamlFiles, ns, cl.Name(), err)
    			}
    			c.ctx.CleanupStrategy(cleanupStrategy, func() {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 8.2K bytes
    - Viewed (0)
Back to top