Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for unstructuredData (0.13 sec)

  1. staging/src/k8s.io/apiserver/pkg/admission/config.go

    	}
    
    	// Only tolerate load errors if the file appears to be one of the two legacy plugin configs
    	unstructuredData := map[string]interface{}{}
    	if err2 := yaml.Unmarshal(data, &unstructuredData); err2 != nil {
    		return nil, err
    	}
    	_, isLegacyImagePolicy := unstructuredData["imagePolicy"]
    	_, isLegacyPodNodeSelector := unstructuredData["podNodeSelectorPluginConfig"]
    	if !isLegacyImagePolicy && !isLegacyPodNodeSelector {
    		return nil, err
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 29 15:48:39 UTC 2023
    - 5.8K bytes
    - Viewed (0)
Back to top