Skip to content

Commit 5af0c32

Browse files
phlogistonjohnmergify[bot]
authored andcommitted
tests: reformat yaml file to remove yamllint warnings
Signed-off-by: John Mulligan <[email protected]>
1 parent 44e628b commit 5af0c32

File tree

1 file changed

+93
-93
lines changed

1 file changed

+93
-93
lines changed

tests/files/samba-domain-member-pod.yml

Lines changed: 93 additions & 93 deletions
Original file line numberDiff line numberDiff line change
@@ -80,128 +80,128 @@ spec:
8080
imagePullPolicy: $IMG_PULL_POLICY
8181
name: smb
8282
command:
83-
- "samba-container"
84-
- "--debug-delay=1"
85-
- "run"
86-
- "smbd"
83+
- "samba-container"
84+
- "--debug-delay=1"
85+
- "run"
86+
- "smbd"
8787
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
9696
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"
101101
securityContext:
102102
allowPrivilegeEscalation: true
103103
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
112112
- image: $IMG_NAME
113113
imagePullPolicy: $IMG_PULL_POLICY
114114
name: winbind
115115
command:
116-
- "samba-container"
117-
- "run"
118-
- "winbindd"
116+
- "samba-container"
117+
- "run"
118+
- "winbindd"
119119
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
128128
securityContext:
129129
allowPrivilegeEscalation: true
130130
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
137137
initContainers:
138138
- image: $IMG_NAME
139139
imagePullPolicy: $IMG_PULL_POLICY
140140
name: init
141141
args:
142-
- "init"
142+
- "init"
143143
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
152152
securityContext:
153153
allowPrivilegeEscalation: true
154154
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
159159
- image: $IMG_NAME
160160
imagePullPolicy: $IMG_PULL_POLICY
161161
name: must-join
162162
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"
166166
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
175175
securityContext:
176176
allowPrivilegeEscalation: true
177177
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
185185
volumes:
186-
- configMap:
186+
- configMap:
187+
name: samba-container-config
187188
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

Comments
 (0)