27 lines
543 B
YAML
27 lines
543 B
YAML
|
kind: Deployment
|
||
|
apiVersion: apps/v1
|
||
|
metadata:
|
||
|
labels:
|
||
|
io.kompose.service: sftp
|
||
|
name: sftp
|
||
|
spec:
|
||
|
selector:
|
||
|
matchLabels:
|
||
|
io.kompose.service: sftp
|
||
|
replicas: 1
|
||
|
template:
|
||
|
metadata:
|
||
|
labels:
|
||
|
io.kompose.service: sftp
|
||
|
spec:
|
||
|
containers:
|
||
|
- name: sftp
|
||
|
image: atmoz/sftp
|
||
|
ports:
|
||
|
- containerPort: 22
|
||
|
env:
|
||
|
- name: SFTP_USERS
|
||
|
valueFrom:
|
||
|
secretKeyRef:
|
||
|
name: sftp-secret
|
||
|
key: users
|