Skip to content

Commit 9f086fb

Browse files
committed
example
1 parent 1877061 commit 9f086fb

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

examples/dhi-fpm-nginx-k8s/wsc-web.yaml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,28 @@ spec:
213213
#readOnly: true
214214
- name: wsc-web-helper
215215
mountPath: /data
216+
#initContainers:
217+
#- name: wsc-setup
218+
# image: docker.io/tobi312/php:dhi-helper-alpine
219+
# imagePullPolicy: Always
220+
# env:
221+
# - name: "WSC_SETUP_ENABLED"
222+
# value: "1"
223+
# - name: "WSC_VERSION"
224+
# value: "6.2"
225+
# - name: "WSC_DEV_INSTALL_ENABLED"
226+
# value: "0"
227+
# args: [ "/bin/sh", "-c", "sleep 5 && /usr/local/bin/wsc-setup-preparation.sh" ]
228+
# resources:
229+
# requests:
230+
# memory: "128Mi"
231+
# cpu: "0.1"
232+
# limits:
233+
# memory: "128Mi"
234+
# cpu: "0.1"
235+
# volumeMounts:
236+
# - name: wsc-test-data
237+
# mountPath: /var/www/html
216238
volumes:
217239
- name: wsc-web-data
218240
persistentVolumeClaim:

0 commit comments

Comments
 (0)