33 lines
691 B
YAML
33 lines
691 B
YAML
|
apiVersion: apps/v1
|
||
|
kind: Deployment
|
||
|
metadata:
|
||
|
name: dev-container
|
||
|
namespace: dev
|
||
|
labels:
|
||
|
app: dev-container
|
||
|
spec:
|
||
|
replicas: 1
|
||
|
selector:
|
||
|
matchLabels:
|
||
|
app: dev-container
|
||
|
template:
|
||
|
metadata:
|
||
|
labels:
|
||
|
app: dev-container
|
||
|
spec:
|
||
|
securityContext:
|
||
|
fsGroup: 1000
|
||
|
containers:
|
||
|
- name: dev-container
|
||
|
image: git.namesny.com/mathis/dev-container:2024-04-25
|
||
|
imagePullPolicy: Always
|
||
|
ports:
|
||
|
- containerPort: 7681
|
||
|
volumeMounts:
|
||
|
- name: projects
|
||
|
mountPath: /home/dev/projects
|
||
|
volumes:
|
||
|
- name: projects
|
||
|
persistentVolumeClaim:
|
||
|
claimName: dev-projects
|