Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for KubeProxyConfigMap19 (0.21 sec)

  1. cmd/kubeadm/app/phases/addons/proxy/manifests.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package proxy
    
    const (
    	// KubeProxyConfigMap19 is the proxy ConfigMap manifest for Kubernetes 1.9 and above
    	KubeProxyConfigMap19 = `
    kind: ConfigMap
    apiVersion: v1
    metadata:
      name: {{ .ProxyConfigMap }}
      namespace: kube-system
      labels:
        app: kube-proxy
    data:
      kubeconfig.conf: |-
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 13 06:51:57 UTC 2021
    - 2.9K bytes
    - Viewed (0)
  2. cmd/kubeadm/app/phases/addons/proxy/proxy_test.go

    )
    
    func TestCompileManifests(t *testing.T) {
    	var tests = []struct {
    		name     string
    		manifest string
    		data     interface{}
    	}{
    		{
    			name:     "KubeProxyConfigMap19",
    			manifest: KubeProxyConfigMap19,
    			data: struct {
    				ControlPlaneEndpoint, ProxyConfig, ProxyConfigMap, ProxyConfigMapKey string
    			}{
    				ControlPlaneEndpoint: "foo",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Feb 18 11:14:32 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  3. cmd/kubeadm/app/phases/addons/proxy/proxy.go

    		return []byte(""), errors.Wrap(err, "error when marshaling")
    	}
    	var prefixBytes bytes.Buffer
    	apiclient.PrintBytesWithLinePrefix(&prefixBytes, proxyBytes, "    ")
    	configMapBytes, err := kubeadmutil.ParseTemplate(KubeProxyConfigMap19,
    		struct {
    			ControlPlaneEndpoint string
    			ProxyConfig          string
    			ProxyConfigMap       string
    			ProxyConfigMapKey    string
    		}{
    			ControlPlaneEndpoint: controlPlaneEndpoint,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Sep 26 13:23:44 UTC 2023
    - 8.1K bytes
    - Viewed (0)
Back to top