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.10 imagePullPolicy: IfNotPresent ports: - containerPort: 80 envFrom: - configMapRef: name: pf9-env optional: true volumeMounts: - name: nginx-shadow-htpasswd mountPath: /etc/nginx/shadow volumes: - name: nginx-shadow-htpasswd hostPath: path: /etc/htpasswd type: FileOrCreate ---