kubeadm: fix wrong config example for customization with patches
The patches sub-structure is top level and not under nodeRegistration.
This commit is contained in:
parent
0a2da8cb46
commit
2295e0c1e2
|
|
@ -144,9 +144,8 @@ You can pass this file to `kubeadm init` with `--config <YOUR CONFIG YAML>`:
|
|||
```yaml
|
||||
apiVersion: kubeadm.k8s.io/v1beta3
|
||||
kind: InitConfiguration
|
||||
nodeRegistration:
|
||||
patches:
|
||||
directory: /home/user/somedir
|
||||
patches:
|
||||
directory: /home/user/somedir
|
||||
```
|
||||
|
||||
{{< note >}}
|
||||
|
|
@ -159,9 +158,8 @@ You can pass this file to `kubeadm join` with `--config <YOUR CONFIG YAML>`:
|
|||
```yaml
|
||||
apiVersion: kubeadm.k8s.io/v1beta3
|
||||
kind: JoinConfiguration
|
||||
nodeRegistration:
|
||||
patches:
|
||||
directory: /home/user/somedir
|
||||
patches:
|
||||
directory: /home/user/somedir
|
||||
```
|
||||
|
||||
The directory must contain files named `target[suffix][+patchtype].extension`.
|
||||
|
|
|
|||
Loading…
Reference in New Issue