Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for GetValuesFromConfigMap (0.14 sec)

  1. istioctl/pkg/kubeinject/kubeinject.go

    			version.Info.Version))
    	}
    	return cfg, err
    }
    
    // grabs the raw values from the ConfigMap. These are encoded as JSON.
    func GetValuesFromConfigMap(ctx cli.Context, revision string) (string, error) {
    	client, err := ctx.CLIClient()
    	if err != nil {
    		return "", err
    	}
    
    	if revision != "" {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 15 16:31:46 UTC 2024
    - 21K bytes
    - Viewed (0)
  2. istioctl/pkg/proxyconfig/proxyconfig.go

    	default:
    		_, _ = fmt.Fprint(c.OutOrStdout(), stats)
    	}
    	return nil
    }
    
    func getLogLevelFromConfigMap(ctx cli.Context) (string, error) {
    	valuesConfig, err := kubeinject.GetValuesFromConfigMap(ctx, "")
    	if err != nil {
    		return "", err
    	}
    	var values struct {
    		SidecarInjectorWebhook struct {
    			Global struct {
    				Proxy struct {
    					LogLevel string `json:"logLevel"`
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Oct 24 15:53:49 UTC 2024
    - 50.6K bytes
    - Viewed (0)
Back to top