29 lines
606 B
YAML
Raw Normal View History

2022-06-07 16:13:31 +03:00
kind: Deployment
2022-06-07 16:22:38 +03:00
apiVersion: apps/v1
2022-06-07 16:13:31 +03:00
metadata:
name: powerdnsadmin
labels:
app: powerdnsadmin
spec:
2022-06-07 16:22:38 +03:00
strategy:
type: RollingUpdate
2022-06-07 16:13:31 +03:00
replicas: 1
2022-06-07 16:22:38 +03:00
selector:
matchLabels:
app: powerdnsadmin
2022-06-07 16:13:31 +03:00
template:
metadata:
labels:
app: powerdnsadmin
spec:
containers:
2022-06-07 16:22:38 +03:00
- name: powerdnsadmin
image: ngoduykhanh/powerdns-admin
ports:
- containerPort: 80
protocol: TCP
envFrom:
- configMapRef:
name: powerdnsadmin-env
imagePullPolicy: Always
restartPolicy: Always