Skip to content

Commit

Permalink
Update phpinfo-po.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
scolomar authored Dec 16, 2024
1 parent d11541e commit 87e08c6
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions main/kubernetes/manifests/phpinfo-po.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,22 @@
apiVersion: v1
kind: Pod
metadata:
name: phpinfo-po
labels:
app: phpinfo-po
name: phpinfo-po
spec:
containers:
- name: phpinfo
- args:
- php
- -f
- index.php
- -S
- 0.0.0.0:8080
env:
- name: AUTHOR
value: Sebastian
image: 'index.docker.io/library/php:alpine@sha256:ab23b416d86aec450ee7b75727f6bbec272edc2764a1b6fad13bc2823c59bb6b'
name: phpinfo
ports:
- containerPort: 8080
protocol: TCP
Expand All @@ -19,9 +28,6 @@ spec:
requests:
cpu: 100m
memory: 100M
env:
- name: AUTHOR
value: Sebastian
securityContext:
readOnlyRootFilesystem: true
runAsUser: 65534
Expand All @@ -32,12 +38,6 @@ spec:
name: phpinfo-volume
readOnly: true
workingDir: /data/
args:
- php
- -f
- index.php
- -S
- 0.0.0.0:8080
restartPolicy: Always
securityContext:
fsGroup: 65534
Expand All @@ -47,6 +47,6 @@ spec:
defaultMode: 0400
items:
- key: index.php
path: index.php
mode: 0400
path: index.php
name: phpinfo-cm

0 comments on commit 87e08c6

Please sign in to comment.