mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 19:56:01 +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"
|
||||
// kubeletExtraArgs:
|
||||
// v: 4
|
||||
// ignorePreflightErrors:
|
||||
// - IsPrivilegedUser
|
||||
// ignorePreflightErrors:
|
||||
// - IsPrivilegedUser
|
||||
// localAPIEndpoint:
|
||||
// advertiseAddress: "10.100.0.1"
|
||||
// bindPort: 6443
|
||||
// certificateKey: "e6a2eb8581237ab72a4f494f30285ec12a9694d750b9785706a83bfcbbbd2204"
|
||||
// certificateKey: "e6a2eb8581237ab72a4f494f30285ec12a9694d750b9785706a83bfcbbbd2204"
|
||||
// ---
|
||||
// apiVersion: kubeadm.k8s.io/v1beta2
|
||||
// kind: ClusterConfiguration
|
||||
|
@ -180,15 +180,15 @@ limitations under the License.
|
||||
// effect: "NoSchedule"
|
||||
// kubeletExtraArgs:
|
||||
// v: 4
|
||||
// ignorePreflightErrors:
|
||||
// - IsPrivilegedUser
|
||||
// imagePullPolicy: "IfNotPresent"
|
||||
// ignorePreflightErrors:
|
||||
// - IsPrivilegedUser
|
||||
// imagePullPolicy: "IfNotPresent"
|
||||
// localAPIEndpoint:
|
||||
// advertiseAddress: "10.100.0.1"
|
||||
// bindPort: 6443
|
||||
// certificateKey: "e6a2eb8581237ab72a4f494f30285ec12a9694d750b9785706a83bfcbbbd2204"
|
||||
// skipPhases:
|
||||
// - addon/kube-proxy
|
||||
// certificateKey: "e6a2eb8581237ab72a4f494f30285ec12a9694d750b9785706a83bfcbbbd2204"
|
||||
// skipPhases:
|
||||
// - addon/kube-proxy
|
||||
// ---
|
||||
// apiVersion: kubeadm.k8s.io/v1beta3
|
||||
// kind: ClusterConfiguration
|
||||
|
Loading…
Reference in New Issue
Block a user