apiVersion: apps/v1 kind: Deployment metadata: name: vjailbreak-ui namespace: migration-system spec: replicas: 1 selector: matchLabels: app: vjailbreak-ui template: metadata: labels: app: vjailbreak-ui spec: affinity: nodeAffinity: requiredDuringSchedulingIgnoredDuringExecution: nodeSelectorTerms: - matchExpressions: - key: node-role.kubernetes.io/control-plane operator: Exists serviceAccountName: ui-manager-sa containers: - name: vjailbreak-ui-container image: quay.io/platform9/vjailbreak-ui:v0.4.4 imagePullPolicy: IfNotPresent ports: - containerPort: 80 volumeMounts: - name: nginx-shadow-htpasswd mountPath: /etc/nginx/shadow - name: pf9-logs mountPath: /var/log/pf9 readOnly: true volumes: - name: nginx-shadow-htpasswd hostPath: path: /etc/htpasswd type: FileOrCreate - name: pf9-logs hostPath: path: /var/log/pf9 type: DirectoryOrCreate ---