Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for renderOperatorManifest (0.24 sec)

  1. operator/cmd/mesh/operator-common.go

    	orn := operatorResourceName
    	if revision != "" {
    		orn += "-" + revision
    	}
    	return deploymentExists(cs, operatorNamespace, orn)
    }
    
    // renderOperatorManifest renders a manifest to install the operator with the given input arguments.
    func renderOperatorManifest(_ *RootArgs, ocArgs *operatorCommonArgs) (string, string, error) {
    Go
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Sat Dec 17 02:25:04 GMT 2022
    - 3.8K bytes
    - Viewed (0)
  2. operator/cmd/mesh/operator-dump.go

    	if err := validateOperatorOutputFormatFlag(odArgs.common.outputFormat); err != nil {
    		l.LogAndFatal(fmt.Errorf("unknown output format: %v", odArgs.common.outputFormat))
    	}
    
    	_, mstr, err := renderOperatorManifest(args, &odArgs.common)
    	if err != nil {
    		l.LogAndFatal(err)
    	}
    
    	var output string
    	if output, err = yamlToFormat(mstr, odArgs.common.outputFormat); err != nil {
    		l.LogAndFatal(err)
    	}
    Go
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Tue May 23 17:08:31 GMT 2023
    - 3.6K bytes
    - Viewed (0)
  3. operator/cmd/mesh/operator-init.go

    			oiArgs.common.operatorNamespace, oiArgs.common.hub, oiArgs.common.tag)
    	}
    
    	l.LogAndPrintf("Operator controller will watch namespaces: %s", oiArgs.common.watchedNamespaces)
    
    	vals, mstr, err := renderOperatorManifest(args, &oiArgs.common)
    	if err != nil {
    		l.LogAndFatal(err)
    	}
    
    	installerScope.Debugf("Installing operator charts with the following values:\n%s", vals)
    Go
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  4. operator/cmd/mesh/operator_test.go

    			manifestsPath:     string(snapshotCharts),
    		},
    	}
    
    	l := clog.NewConsoleLogger(os.Stdout, os.Stderr, installerScope)
    	_, gotYAML, err := renderOperatorManifest(rootArgs, &oiArgs.common)
    	if err != nil {
    		l.LogAndFatal(err)
    	}
    
    	if refreshGoldenFiles() {
    		t.Logf("Refreshing golden file for %s", goldenFilepath)
    Go
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Tue Aug 29 14:15:33 GMT 2023
    - 6.4K bytes
    - Viewed (0)
  5. operator/cmd/mesh/manifest_shared_test.go

    		operatorNamespace: operatorDefaultNamespace,
    		// placeholders, since the fake API server does not actually pull images and create pods.
    		hub: "fake hub",
    		tag: "fake tag",
    	}
    
    	_, mstr, err := renderOperatorManifest(nil, ocArgs)
    	if err != nil {
    		return err
    	}
    	if err := applyWithReconciler(reconciler, mstr); err != nil {
    		return err
    	}
    
    	return nil
    }
    
    Go
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Tue Feb 20 22:39:28 GMT 2024
    - 11.7K bytes
    - Viewed (1)
Back to top