38 lines
938 B
YAML
38 lines
938 B
YAML
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:
|
|
serviceAccountName: migration-controller-manager
|
|
containers:
|
|
- name: vjailbreak-ui-container
|
|
image: quay.io/platform9/vjailbreak-ui:v0.4.1
|
|
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
|
|
--- |