33 lines
741 B
YAML
33 lines
741 B
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: ingress-migrator-web
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
app: ingress-migrator-web
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: ingress-migrator-web
|
|
spec:
|
|
serviceAccountName: ingress-migrator
|
|
containers:
|
|
- name: web
|
|
image: sa8001/ngtoha:v3
|
|
ports:
|
|
- containerPort: 8080
|
|
volumeMounts:
|
|
- name: work
|
|
mountPath: /work
|
|
- name: mapping
|
|
mountPath: /app/mapping.yaml
|
|
subPath: mapping.yaml
|
|
volumes:
|
|
- name: work
|
|
emptyDir: {}
|
|
- name: mapping
|
|
configMap:
|
|
name: ingress-migrator-mapping
|