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