mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-28 05:57:25 +00:00
kubeadm: fix bad indentation in the API go docs
For the YAML examples, make the indentation consistent by starting with a space and following with a TAB. Also adjust the indentation of some fields to place them under the right YAML field parent - e.g. ignorePreflightErrors is under nodeRegistration.
This commit is contained in:
parent
e9af399147
commit
76e8a067d1
@ -176,12 +176,12 @@ limitations under the License.
|
|||||||
// effect: "NoSchedule"
|
// effect: "NoSchedule"
|
||||||
// kubeletExtraArgs:
|
// kubeletExtraArgs:
|
||||||
// v: 4
|
// v: 4
|
||||||
// ignorePreflightErrors:
|
// ignorePreflightErrors:
|
||||||
// - IsPrivilegedUser
|
// - IsPrivilegedUser
|
||||||
// localAPIEndpoint:
|
// localAPIEndpoint:
|
||||||
// advertiseAddress: "10.100.0.1"
|
// advertiseAddress: "10.100.0.1"
|
||||||
// bindPort: 6443
|
// bindPort: 6443
|
||||||
// certificateKey: "e6a2eb8581237ab72a4f494f30285ec12a9694d750b9785706a83bfcbbbd2204"
|
// certificateKey: "e6a2eb8581237ab72a4f494f30285ec12a9694d750b9785706a83bfcbbbd2204"
|
||||||
// ---
|
// ---
|
||||||
// apiVersion: kubeadm.k8s.io/v1beta2
|
// apiVersion: kubeadm.k8s.io/v1beta2
|
||||||
// kind: ClusterConfiguration
|
// kind: ClusterConfiguration
|
||||||
|
@ -180,15 +180,15 @@ limitations under the License.
|
|||||||
// effect: "NoSchedule"
|
// effect: "NoSchedule"
|
||||||
// kubeletExtraArgs:
|
// kubeletExtraArgs:
|
||||||
// v: 4
|
// v: 4
|
||||||
// ignorePreflightErrors:
|
// ignorePreflightErrors:
|
||||||
// - IsPrivilegedUser
|
// - IsPrivilegedUser
|
||||||
// imagePullPolicy: "IfNotPresent"
|
// imagePullPolicy: "IfNotPresent"
|
||||||
// localAPIEndpoint:
|
// localAPIEndpoint:
|
||||||
// advertiseAddress: "10.100.0.1"
|
// advertiseAddress: "10.100.0.1"
|
||||||
// bindPort: 6443
|
// bindPort: 6443
|
||||||
// certificateKey: "e6a2eb8581237ab72a4f494f30285ec12a9694d750b9785706a83bfcbbbd2204"
|
// certificateKey: "e6a2eb8581237ab72a4f494f30285ec12a9694d750b9785706a83bfcbbbd2204"
|
||||||
// skipPhases:
|
// skipPhases:
|
||||||
// - addon/kube-proxy
|
// - addon/kube-proxy
|
||||||
// ---
|
// ---
|
||||||
// apiVersion: kubeadm.k8s.io/v1beta3
|
// apiVersion: kubeadm.k8s.io/v1beta3
|
||||||
// kind: ClusterConfiguration
|
// kind: ClusterConfiguration
|
||||||
|
Loading…
Reference in New Issue
Block a user