k3s-configs/apps/dev-container/deployment.yaml

33 lines
763 B
YAML
Raw Permalink Normal View History

2024-04-25 19:55:49 +00:00
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
2024-06-03 13:15:40 +00:00
image: git.namesny.com/mathis/dev-container:2024-04-25@sha256:54e0a338fec52e4f124bb8b9030892bbb85b61717f237107377a2ad1d1db567c
2024-04-25 19:55:49 +00:00
imagePullPolicy: Always
ports:
- containerPort: 7681
volumeMounts:
- name: projects
mountPath: /home/dev/projects
volumes:
- name: projects
persistentVolumeClaim:
claimName: dev-projects