mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-25 20:53:33 +00:00
etcd: Add comment re: SELinux
Signed-off-by: Naadir Jeewa <jeewan@vmware.com>
This commit is contained in:
parent
8c27ac488a
commit
b1b7ea3229
@ -49,11 +49,12 @@ PUSH_REGISTRY?=staging-k8s.gcr.io
|
|||||||
|
|
||||||
MANIFEST_IMAGE := $(PUSH_REGISTRY)/etcd
|
MANIFEST_IMAGE := $(PUSH_REGISTRY)/etcd
|
||||||
|
|
||||||
SELINUX_ENABLED := $(shell cat /sys/fs/selinux/enforce 2> /dev/null || echo 0)
|
|
||||||
|
|
||||||
# Install binaries matching base distro permissions
|
# Install binaries matching base distro permissions
|
||||||
BIN_INSTALL := install -m 0555
|
BIN_INSTALL := install -m 0555
|
||||||
|
|
||||||
|
# Hosts running SELinux need :z added to volume mounts
|
||||||
|
SELINUX_ENABLED := $(shell cat /sys/fs/selinux/enforce 2> /dev/null || echo 0)
|
||||||
|
|
||||||
ifeq ($(SELINUX_ENABLED),1)
|
ifeq ($(SELINUX_ENABLED),1)
|
||||||
DOCKER_VOL_OPTS?=:z
|
DOCKER_VOL_OPTS?=:z
|
||||||
endif
|
endif
|
||||||
|
Loading…
Reference in New Issue
Block a user