mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-17 20:00:23 +00:00
ci: start minikube with psp addon
we need to start minikube with the PodSecurityPolicy admission controller and the pod-security-policy addon enabled for psp. Ref:- https://minikube.sigs.k8s.io/docs/ tutorials/using_psp/#tutorial Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
This commit is contained in:
parent
1e037a56c1
commit
3aab8dad00
@ -163,7 +163,7 @@ CSI_NODE_DRIVER_REGISTRAR_VERSION=${CSI_NODE_DRIVER_REGISTRAR_VERSION:-"v2.2.0"}
|
|||||||
K8S_FEATURE_GATES=${K8S_FEATURE_GATES:-"ExpandCSIVolumes=true"}
|
K8S_FEATURE_GATES=${K8S_FEATURE_GATES:-"ExpandCSIVolumes=true"}
|
||||||
|
|
||||||
#extra-config for kube https://minikube.sigs.k8s.io/docs/reference/configuration/kubernetes/
|
#extra-config for kube https://minikube.sigs.k8s.io/docs/reference/configuration/kubernetes/
|
||||||
EXTRA_CONFIG_PSP="--extra-config=apiserver.enable-admission-plugins=PodSecurityPolicy"
|
EXTRA_CONFIG_PSP="--extra-config=apiserver.enable-admission-plugins=PodSecurityPolicy --addons=pod-security-policy"
|
||||||
|
|
||||||
# kubelet.resolv-conf needs to point to a file, not a symlink
|
# kubelet.resolv-conf needs to point to a file, not a symlink
|
||||||
# the default minikube VM has /etc/resolv.conf -> /run/systemd/resolve/resolv.conf
|
# the default minikube VM has /etc/resolv.conf -> /run/systemd/resolve/resolv.conf
|
||||||
|
Loading…
Reference in New Issue
Block a user