Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for SubDomain (0.1 sec)

  1. pkg/apis/admissionregistration/validation/validation_test.go

    				},
    			},
    			SideEffects: &unknownSideEffect,
    		},
    		}, true),
    		expectedError: `clientConfig.service.path: Invalid value: "/foo/bar//": segment[2] may not be empty`,
    	}, {
    		name: "path no non-subdomain",
    		config: newValidatingWebhookConfiguration([]admissionregistration.ValidatingWebhook{{
    			Name: "webhook.k8s.io",
    			ClientConfig: admissionregistration.WebhookClientConfig{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 147.1K bytes
    - Viewed (0)
  2. pkg/kubelet/kubelet_pods.go

    		return "", "", err
    	}
    
    	hostDomain := ""
    	if len(pod.Spec.Subdomain) > 0 {
    		if msgs := utilvalidation.IsDNS1123Label(pod.Spec.Subdomain); len(msgs) != 0 {
    			return "", "", fmt.Errorf("pod Subdomain %q is not a valid DNS label: %s", pod.Spec.Subdomain, strings.Join(msgs, ";"))
    		}
    		hostDomain = fmt.Sprintf("%s.%s.svc.%s", pod.Spec.Subdomain, pod.Namespace, clusterDomain)
    	}
    
    	return hostname, hostDomain, nil
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 101.2K bytes
    - Viewed (0)
Back to top