File tree Expand file tree Collapse file tree 4 files changed +10
-9
lines changed
azurefile-csi-driver/templates Expand file tree Collapse file tree 4 files changed +10
-9
lines changed Original file line number Diff line number Diff line change @@ -101,9 +101,9 @@ spec:
101
101
mountPath : /host/usr
102
102
- name : host-etc
103
103
mountPath : /host/etc
104
- - mountPath : /var/lib/kubelet/
104
+ - name : mountpoint-dir
105
+ mountPath : /var/lib/kubelet/
105
106
mountPropagation : Bidirectional
106
- name : mountpoint-dir
107
107
containers :
108
108
- name : liveness-probe
109
109
volumeMounts :
Original file line number Diff line number Diff line change 63
63
mountPath : /host/usr
64
64
- name : host-etc
65
65
mountPath : /host/etc
66
- - mountPath : /var/lib/kubelet/
66
+ - name : mountpoint-dir
67
+ mountPath : /var/lib/kubelet/
67
68
mountPropagation : Bidirectional
68
- name : mountpoint-dir
69
69
containers :
70
70
- name : liveness-probe
71
71
volumeMounts :
Original file line number Diff line number Diff line change 27
27
28
28
HOST_CMD=" nsenter --mount=/proc/1/ns/mnt"
29
29
30
- echo " set up /var/lib/kubelet/kerberos/krb5.conf"
30
+ echo " set up /etc/krb5.conf on host"
31
+ printf ' [libdefaults]\ndefault_ccache_name = FILE:/var/lib/kubelet/kerberos/krb5cc_%s\n' " %{uid}" > /host/etc/krb5.conf
32
+
31
33
mkdir -p /var/lib/kubelet/kerberos
32
- printf ' [libdefaults]\ndefault_ccache_name = FILE:/var/lib/kubelet/kerberos/krb5cc_%s\n' " %{uid}" > /var/lib/kubelet/kerberos/krb5.conf
33
34
34
- echo " set up /etc/azfilesauth/config.yaml"
35
- mkdir -p /etc/azfilesauth
36
- printf ' USER_UID: 0\nKRB5_CC_NAME: /var/lib/kubelet/kerberos/krb5cc_0\n' > /etc/azfilesauth/config.yaml
35
+ echo " set up /etc/azfilesauth/config.yaml on host "
36
+ mkdir -p /host/ etc/azfilesauth
37
+ printf ' USER_UID: 0\nKRB5_CC_NAME: /var/lib/kubelet/kerberos/krb5cc_0\n' > /host/ etc/azfilesauth/config.yaml
37
38
38
39
DISTRIBUTION=$( $HOST_CMD cat /etc/os-release | grep ^ID= | cut -d' =' -f2 | tr -d ' "' )
39
40
ARCH=$( $HOST_CMD uname -m)
You can’t perform that action at this time.
0 commit comments