@@ -80,128 +80,128 @@ spec:
80
80
imagePullPolicy : $IMG_PULL_POLICY
81
81
name : smb
82
82
command :
83
- - " samba-container"
84
- - " --debug-delay=1"
85
- - " run"
86
- - " smbd"
83
+ - " samba-container"
84
+ - " --debug-delay=1"
85
+ - " run"
86
+ - " smbd"
87
87
env :
88
- - name : SAMBACC_CONFIG
89
- value : /etc/samba-container/config.json
90
- - name : SAMBA_CONTAINER_ID
91
- value : sambadm1
92
- - name : SAMBACC_VERSION
93
- value : " 0.1"
94
- - name : HOSTNAME
95
- value : sambadm1
88
+ - name : SAMBACC_CONFIG
89
+ value : /etc/samba-container/config.json
90
+ - name : SAMBA_CONTAINER_ID
91
+ value : sambadm1
92
+ - name : SAMBACC_VERSION
93
+ value : " 0.1"
94
+ - name : HOSTNAME
95
+ value : sambadm1
96
96
ports :
97
- - containerPort : 445
98
- hostPort : 455
99
- protocol : TCP
100
- name : " smb"
97
+ - containerPort : 445
98
+ hostPort : 455
99
+ protocol : TCP
100
+ name : " smb"
101
101
securityContext :
102
102
allowPrivilegeEscalation : true
103
103
volumeMounts :
104
- - mountPath : " /share"
105
- name : samba-sharedir
106
- - mountPath : " /etc/samba-container"
107
- name : samba-container-config
108
- - mountPath : " /var/lib/samba"
109
- name : samba-state-dir
110
- - mountPath : " /run/samba/winbindd"
111
- name : samba-sockets-dir
104
+ - mountPath : " /share"
105
+ name : samba-sharedir
106
+ - mountPath : " /etc/samba-container"
107
+ name : samba-container-config
108
+ - mountPath : " /var/lib/samba"
109
+ name : samba-state-dir
110
+ - mountPath : " /run/samba/winbindd"
111
+ name : samba-sockets-dir
112
112
- image : $IMG_NAME
113
113
imagePullPolicy : $IMG_PULL_POLICY
114
114
name : winbind
115
115
command :
116
- - " samba-container"
117
- - " run"
118
- - " winbindd"
116
+ - " samba-container"
117
+ - " run"
118
+ - " winbindd"
119
119
env :
120
- - name : SAMBACC_VERSION
121
- value : " 0.1"
122
- - name : SAMBACC_CONFIG
123
- value : /etc/samba-container/config.json
124
- - name : SAMBA_CONTAINER_ID
125
- value : sambadm1
126
- - name : HOSTNAME
127
- value : sambadm1
120
+ - name : SAMBACC_VERSION
121
+ value : " 0.1"
122
+ - name : SAMBACC_CONFIG
123
+ value : /etc/samba-container/config.json
124
+ - name : SAMBA_CONTAINER_ID
125
+ value : sambadm1
126
+ - name : HOSTNAME
127
+ value : sambadm1
128
128
securityContext :
129
129
allowPrivilegeEscalation : true
130
130
volumeMounts :
131
- - mountPath : " /etc/samba-container"
132
- name : samba-container-config
133
- - mountPath : " /var/lib/samba"
134
- name : samba-state-dir
135
- - mountPath : " /run/samba/winbindd"
136
- name : samba-sockets-dir
131
+ - mountPath : " /etc/samba-container"
132
+ name : samba-container-config
133
+ - mountPath : " /var/lib/samba"
134
+ name : samba-state-dir
135
+ - mountPath : " /run/samba/winbindd"
136
+ name : samba-sockets-dir
137
137
initContainers :
138
138
- image : $IMG_NAME
139
139
imagePullPolicy : $IMG_PULL_POLICY
140
140
name : init
141
141
args :
142
- - " init"
142
+ - " init"
143
143
env :
144
- - name : SAMBACC_VERSION
145
- value : " 0.1"
146
- - name : SAMBACC_CONFIG
147
- value : /etc/samba-container/config.json
148
- - name : SAMBA_CONTAINER_ID
149
- value : sambadm1
150
- - name : HOSTNAME
151
- value : sambadm1
144
+ - name : SAMBACC_VERSION
145
+ value : " 0.1"
146
+ - name : SAMBACC_CONFIG
147
+ value : /etc/samba-container/config.json
148
+ - name : SAMBA_CONTAINER_ID
149
+ value : sambadm1
150
+ - name : HOSTNAME
151
+ value : sambadm1
152
152
securityContext :
153
153
allowPrivilegeEscalation : true
154
154
volumeMounts :
155
- - mountPath : " /etc/samba-container"
156
- name : samba-container-config
157
- - mountPath : " /var/lib/samba"
158
- name : samba-state-dir
155
+ - mountPath : " /etc/samba-container"
156
+ name : samba-container-config
157
+ - mountPath : " /var/lib/samba"
158
+ name : samba-state-dir
159
159
- image : $IMG_NAME
160
160
imagePullPolicy : $IMG_PULL_POLICY
161
161
name : must-join
162
162
args :
163
- - " must-join"
164
- - " --files"
165
- - " --join-file=/etc/join-data/join.json"
163
+ - " must-join"
164
+ - " --files"
165
+ - " --join-file=/etc/join-data/join.json"
166
166
env :
167
- - name : SAMBACC_VERSION
168
- value : " 0.1"
169
- - name : SAMBACC_CONFIG
170
- value : /etc/samba-container/config.json
171
- - name : SAMBA_CONTAINER_ID
172
- value : sambadm1
173
- - name : HOSTNAME
174
- value : sambadm1
167
+ - name : SAMBACC_VERSION
168
+ value : " 0.1"
169
+ - name : SAMBACC_CONFIG
170
+ value : /etc/samba-container/config.json
171
+ - name : SAMBA_CONTAINER_ID
172
+ value : sambadm1
173
+ - name : HOSTNAME
174
+ value : sambadm1
175
175
securityContext :
176
176
allowPrivilegeEscalation : true
177
177
volumeMounts :
178
- - mountPath : " /etc/samba-container"
179
- name : samba-container-config
180
- - mountPath : " /var/lib/samba"
181
- name : samba-state-dir
182
- - mountPath : " /etc/join-data"
183
- name : samba-join-data
184
- readOnly : true
178
+ - mountPath : " /etc/samba-container"
179
+ name : samba-container-config
180
+ - mountPath : " /var/lib/samba"
181
+ name : samba-state-dir
182
+ - mountPath : " /etc/join-data"
183
+ name : samba-join-data
184
+ readOnly : true
185
185
volumes :
186
- - configMap :
186
+ - configMap :
187
+ name : samba-container-config
187
188
name : samba-container-config
188
- name : samba-container-config
189
- - secret :
190
- secretName : ad-join-secret
191
- items :
192
- - key : join.json
193
- path : join.json
194
- name : samba-join-data
195
- - emptyDir :
196
- medium : Memory
197
- name : samba-sockets-dir
198
- - emptyDir : {}
199
- name : samba-state-dir
200
- # Comment out the section below to skip using a PVC for the share
201
- # - persistentVolumeClaim:
202
- # claimName: mypvc
203
- # name: samba-sharedir
204
- # Uncomment the section below to use an empty dir for the share
205
- - emptyDir :
206
- medium : Memory
207
- name : samba-sharedir
189
+ - secret :
190
+ secretName : ad-join-secret
191
+ items :
192
+ - key : join.json
193
+ path : join.json
194
+ name : samba-join-data
195
+ - emptyDir :
196
+ medium : Memory
197
+ name : samba-sockets-dir
198
+ - emptyDir : {}
199
+ name : samba-state-dir
200
+ # Comment out the section below to skip using a PVC for the share
201
+ # - persistentVolumeClaim:
202
+ # claimName: mypvc
203
+ # name: samba-sharedir
204
+ # Uncomment the section below to use an empty dir for the share
205
+ - emptyDir :
206
+ medium : Memory
207
+ name : samba-sharedir
0 commit comments