Files
homelab-config/homelab-services/nimh-static/k3s/deployment.yaml
T

40 lines
784 B
YAML
Raw Normal View History

2026-05-27 00:38:43 -05:00
apiVersion: apps/v1
kind: Deployment
metadata:
name: nimh-static
spec:
replicas: 1
selector:
matchLabels:
app: nimh-static
template:
metadata:
labels:
app: nimh-static
spec:
containers:
- name: nginx
image: nginx:stable
ports:
- containerPort: 80
volumeMounts:
- name: static-files
mountPath: /var/nimh-static/site
readOnly: true
2026-06-20 18:18:01 -05:00
- name: nginx-config
mountPath: /etc/nginx/conf.d/default.conf
subPath: default.conf
2026-05-27 00:38:43 -05:00
volumes:
- name: static-files
configMap:
name: nimh-static-files
2026-06-20 18:18:01 -05:00
- name: nginx-config
configMap:
name: nimh-static-nginx