"description":"EnableServiceLinks indicates whether information about services should be injected into pod's environment variables, matching the syntax of Docker links.",
"description":"EnableServiceLinks indicates whether information about services should be injected into pod's environment variables, matching the syntax of Docker links. Optional: Defaults to true.",
"type":"boolean"
"type":"boolean"
},
},
"hostAliases":{
"hostAliases":{
...
@@ -89234,9 +89234,6 @@
...
@@ -89234,9 +89234,6 @@
"io.k8s.api.rbac.v1.ClusterRole":{
"io.k8s.api.rbac.v1.ClusterRole":{
"description":"ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding.",
"description":"ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding.",
"type":"object",
"type":"object",
"required":[
"rules"
],
"properties":{
"properties":{
"aggregationRule":{
"aggregationRule":{
"description":"AggregationRule is an optional field that describes how to build the Rules for this ClusterRole. If AggregationRule is set, then the Rules are controller managed and direct changes to Rules will be stomped by the controller.",
"description":"AggregationRule is an optional field that describes how to build the Rules for this ClusterRole. If AggregationRule is set, then the Rules are controller managed and direct changes to Rules will be stomped by the controller.",
...
@@ -89426,9 +89423,6 @@
...
@@ -89426,9 +89423,6 @@
"io.k8s.api.rbac.v1.Role":{
"io.k8s.api.rbac.v1.Role":{
"description":"Role is a namespaced, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding.",
"description":"Role is a namespaced, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding.",
"type":"object",
"type":"object",
"required":[
"rules"
],
"properties":{
"properties":{
"apiVersion":{
"apiVersion":{
"description":"APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources",
"description":"APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources",
...
@@ -89632,9 +89626,6 @@
...
@@ -89632,9 +89626,6 @@
"io.k8s.api.rbac.v1alpha1.ClusterRole":{
"io.k8s.api.rbac.v1alpha1.ClusterRole":{
"description":"ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding.",
"description":"ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding.",
"type":"object",
"type":"object",
"required":[
"rules"
],
"properties":{
"properties":{
"aggregationRule":{
"aggregationRule":{
"description":"AggregationRule is an optional field that describes how to build the Rules for this ClusterRole. If AggregationRule is set, then the Rules are controller managed and direct changes to Rules will be stomped by the controller.",
"description":"AggregationRule is an optional field that describes how to build the Rules for this ClusterRole. If AggregationRule is set, then the Rules are controller managed and direct changes to Rules will be stomped by the controller.",
...
@@ -89824,9 +89815,6 @@
...
@@ -89824,9 +89815,6 @@
"io.k8s.api.rbac.v1alpha1.Role":{
"io.k8s.api.rbac.v1alpha1.Role":{
"description":"Role is a namespaced, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding.",
"description":"Role is a namespaced, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding.",
"type":"object",
"type":"object",
"required":[
"rules"
],
"properties":{
"properties":{
"apiVersion":{
"apiVersion":{
"description":"APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources",
"description":"APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources",
...
@@ -90030,9 +90018,6 @@
...
@@ -90030,9 +90018,6 @@
"io.k8s.api.rbac.v1beta1.ClusterRole":{
"io.k8s.api.rbac.v1beta1.ClusterRole":{
"description":"ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding.",
"description":"ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding.",
"type":"object",
"type":"object",
"required":[
"rules"
],
"properties":{
"properties":{
"aggregationRule":{
"aggregationRule":{
"description":"AggregationRule is an optional field that describes how to build the Rules for this ClusterRole. If AggregationRule is set, then the Rules are controller managed and direct changes to Rules will be stomped by the controller.",
"description":"AggregationRule is an optional field that describes how to build the Rules for this ClusterRole. If AggregationRule is set, then the Rules are controller managed and direct changes to Rules will be stomped by the controller.",
...
@@ -90222,9 +90207,6 @@
...
@@ -90222,9 +90207,6 @@
"io.k8s.api.rbac.v1beta1.Role":{
"io.k8s.api.rbac.v1beta1.Role":{
"description":"Role is a namespaced, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding.",
"description":"Role is a namespaced, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding.",
"type":"object",
"type":"object",
"required":[
"rules"
],
"properties":{
"properties":{
"apiVersion":{
"apiVersion":{
"description":"APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources",
"description":"APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources",
// DetectUnsupportedVersion reads YAML bytes, extracts the TypeMeta information and errors out with an user-friendly message if the API spec is too old for this kubeadm version
// ValidateSupportedVersion checks if a supplied GroupVersion is not on the list of unsupported GVs. If it is, an error is returned.
// The support matrix will look something like this now and in the future:
iferr!=nil{
returnerr
}
// TODO: On our way to making the kubeadm API beta and higher, give good user output in case they use an old config file with a new kubeadm version, and
// tell them how to upgrade. The support matrix will look something like this now and in the future:
// v1.10 and earlier: v1alpha1
// v1.10 and earlier: v1alpha1
// v1.11: v1alpha1 read-only, writes only v1alpha2 config
// v1.11: v1alpha1 read-only, writes only v1alpha2 config
// v1.12: v1alpha2 read-only, writes only v1alpha3 config. Warns if the user tries to use v1alpha1
// v1.12: v1alpha2 read-only, writes only v1alpha3 config. Warns if the user tries to use v1alpha1
returnerrors.Errorf("your configuration file uses an old API spec: %q. Please use kubeadm %s instead and run 'kubeadm config migrate --old-config old.yaml --new-config new.yaml', which will write the new, similar spec using a newer API version.",gv.String(),useKubeadmVersion)
returnerrors.Errorf("your configuration file uses an old API spec: %q. Please use kubeadm %s instead and run 'kubeadm config migrate --old-config old.yaml --new-config new.yaml', which will write the new, similar spec using a newer API version.",gvk.GroupVersion().String(),useKubeadmVersion)
}
knownKinds[gvk.Kind]=true
}
// InitConfiguration and JoinConfiguration may not apply together, warn if more than one is specified
returnappend(allErrs,field.Forbidden(fldPath,"DNSConfig: custom pod DNS is disabled by feature gate"))
}
// Validate nameservers.
// Validate nameservers.
iflen(dnsConfig.Nameservers)>MaxDNSNameservers{
iflen(dnsConfig.Nameservers)>MaxDNSNameservers{
allErrs=append(allErrs,field.Invalid(fldPath.Child("nameservers"),dnsConfig.Nameservers,fmt.Sprintf("must not have more than %v nameservers",MaxDNSNameservers)))
allErrs=append(allErrs,field.Invalid(fldPath.Child("nameservers"),dnsConfig.Nameservers,fmt.Sprintf("must not have more than %v nameservers",MaxDNSNameservers)))
@@ -1540,7 +1540,7 @@ var map_PodSpec = map[string]string{
...
@@ -1540,7 +1540,7 @@ var map_PodSpec = map[string]string{
"dnsConfig":"Specifies the DNS parameters of a pod. Parameters specified here will be merged to the generated DNS configuration based on DNSPolicy.",
"dnsConfig":"Specifies the DNS parameters of a pod. Parameters specified here will be merged to the generated DNS configuration based on DNSPolicy.",
"readinessGates":"If specified, all readiness gates will be evaluated for pod readiness. A pod is ready when all its containers are ready AND all conditions specified in the readiness gates have status equal to \"True\" More info: https://github.com/kubernetes/community/blob/master/keps/sig-network/0007-pod-ready%2B%2B.md",
"readinessGates":"If specified, all readiness gates will be evaluated for pod readiness. A pod is ready when all its containers are ready AND all conditions specified in the readiness gates have status equal to \"True\" More info: https://github.com/kubernetes/community/blob/master/keps/sig-network/0007-pod-ready%2B%2B.md",
"runtimeClassName":"RuntimeClassName refers to a RuntimeClass object in the node.k8s.io group, which should be used to run this pod. If no RuntimeClass resource matches the named class, the pod will not be run. If unset or empty, the \"legacy\" RuntimeClass will be used, which is an implicit class with an empty definition that uses the default runtime handler. More info: https://github.com/kubernetes/community/blob/master/keps/sig-node/0014-runtime-class.md This is an alpha feature and may change in the future.",
"runtimeClassName":"RuntimeClassName refers to a RuntimeClass object in the node.k8s.io group, which should be used to run this pod. If no RuntimeClass resource matches the named class, the pod will not be run. If unset or empty, the \"legacy\" RuntimeClass will be used, which is an implicit class with an empty definition that uses the default runtime handler. More info: https://github.com/kubernetes/community/blob/master/keps/sig-node/0014-runtime-class.md This is an alpha feature and may change in the future.",
"enableServiceLinks":"EnableServiceLinks indicates whether information about services should be injected into pod's environment variables, matching the syntax of Docker links.",
"enableServiceLinks":"EnableServiceLinks indicates whether information about services should be injected into pod's environment variables, matching the syntax of Docker links. Optional: Defaults to true.",