Skip to content

Commit 8ce913b

Browse files
phlogistonjohnmergify[bot]
authored andcommitted
examples: reformat yaml file to remove yamllint warnings
Signed-off-by: John Mulligan <[email protected]>
1 parent 39854c8 commit 8ce913b

File tree

1 file changed

+93
-93
lines changed

1 file changed

+93
-93
lines changed

examples/kubernetes/sambadmpod.yml

Lines changed: 93 additions & 93 deletions
Original file line numberDiff line numberDiff line change
@@ -101,125 +101,125 @@ spec:
101101
- image: quay.io/samba.org/samba-server:latest
102102
name: smb
103103
command:
104-
- "samba-container"
105-
- "--debug-delay=1"
106-
- "run"
107-
- "smbd"
104+
- "samba-container"
105+
- "--debug-delay=1"
106+
- "run"
107+
- "smbd"
108108
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
117117
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"
122122
securityContext:
123123
allowPrivilegeEscalation: true
124124
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
133133
- image: quay.io/samba.org/samba-server:latest
134134
name: winbind
135135
command:
136-
- "samba-container"
137-
- "run"
138-
- "winbindd"
136+
- "samba-container"
137+
- "run"
138+
- "winbindd"
139139
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
148148
securityContext:
149149
allowPrivilegeEscalation: true
150150
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
157157
initContainers:
158158
- image: quay.io/samba.org/samba-server:latest
159159
name: init
160160
args:
161-
- "init"
161+
- "init"
162162
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
171171
securityContext:
172172
allowPrivilegeEscalation: true
173173
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
178178
- image: quay.io/samba.org/samba-server:latest
179179
name: must-join
180180
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"
184184
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
193193
securityContext:
194194
allowPrivilegeEscalation: true
195195
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
203203
volumes:
204-
- configMap:
204+
- configMap:
205+
name: samba-container-config
205206
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

Comments
 (0)