first upload

This commit is contained in:
2025-07-20 15:36:14 +02:00
parent 676e150f75
commit ea6bcaaf41
5 changed files with 84 additions and 0 deletions

View File

@@ -0,0 +1,30 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: apache-demo
namespace: secure
spec:
replicas: 1
selector:
matchLabels:
app: apache-demo
template:
metadata:
labels:
app: apache-demo
spec:
securityContext:
runAsNonRoot: true
seccompProfile:
type: RuntimeDefault
containers:
- name: apache-demo
image: pub.msandor.hu/msandor/apache-demo:latest
ports:
- containerPort: 8080
protocol: TCP
securityContext:
allowPrivilegeEscalation: false
capabilities:
drop: ["ALL"]
restartPolicy: Always