mirror of
https://github.com/kubernetes/kubernetes.git
synced 2026-06-09 00:34:10 -04:00
prepare kms kind config for kubeadm v1beta4
This commit is contained in:
parent
d17ed9be17
commit
a3ce49a11e
1 changed files with 31 additions and 0 deletions
|
|
@ -21,8 +21,39 @@ nodes:
|
|||
readOnly: true
|
||||
propagation: None
|
||||
kubeadmConfigPatches:
|
||||
# v1beta4 for the future (v1.35.0+ ?)
|
||||
# https://github.com/kubernetes-sigs/kind/issues/3847
|
||||
# TODO: drop v1beta3 when kind makes the switch
|
||||
- |
|
||||
kind: ClusterConfiguration
|
||||
apiVersion: kubeadm.k8s.io/v1beta4
|
||||
apiServer:
|
||||
extraArgs:
|
||||
- name: "encryption-provider-config"
|
||||
value: "/etc/kubernetes/encryption-config.yaml"
|
||||
- name: "v"
|
||||
value: "5"
|
||||
extraVolumes:
|
||||
- name: encryption-config
|
||||
hostPath: "/etc/kubernetes/encryption-config.yaml"
|
||||
mountPath: "/etc/kubernetes/encryption-config.yaml"
|
||||
readOnly: true
|
||||
pathType: File
|
||||
- name: sock-path
|
||||
hostPath: "/tmp"
|
||||
mountPath: "/tmp"
|
||||
scheduler:
|
||||
extraArgs:
|
||||
- name: "v"
|
||||
value: "5"
|
||||
controllerManager:
|
||||
extraArgs:
|
||||
- name: "v"
|
||||
value: "5"
|
||||
# v1beta3 for v1.23.0 ... ?
|
||||
- |
|
||||
kind: ClusterConfiguration
|
||||
apiVersion: kubeadm.k8s.io/v1beta3
|
||||
apiServer:
|
||||
extraArgs:
|
||||
encryption-provider-config: "/etc/kubernetes/encryption-config.yaml"
|
||||
|
|
|
|||
Loading…
Reference in a new issue