k8s_maxwaldorf-guacamole/maxwaldorf-guacamole_deploy...

46 lines
1.1 KiB
YAML
Raw Permalink Normal View History

2021-07-28 12:03:01 -04:00
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: maxwaldorf-guacamole
spec:
selector:
matchLabels:
app: maxwaldorf-guacamole
replicas: 1
strategy:
type: RollingUpdate
2021-07-28 12:03:01 -04:00
template:
metadata:
labels:
app: maxwaldorf-guacamole
spec:
affinity:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchExpressions:
2021-12-27 15:11:33 -05:00
- key: kubernetes.io/arch
2021-07-28 12:03:01 -04:00
operator: In
values:
2022-11-20 20:42:20 -05:00
- arm64
2021-07-28 12:03:01 -04:00
containers:
- name: maxwaldorf-guacamole
#image: maxwaldorf/guacamole:latest
image: maxwaldorf/guacamole:1.4.1
env:
- name: EXTENSIONS
value: "auth-totp"
2021-07-28 12:03:01 -04:00
ports:
- containerPort: 8080
name: "maxwa-guacamole"
volumeMounts:
- name: maxwaldorf-guacamole
mountPath: "/config"
volumes:
- name: maxwaldorf-guacamole
persistentVolumeClaim:
claimName: maxwaldorf-guacamole-pvc
# EOF