nineskeletor/misc/k8s/kustomization/base/resources/sftp/sftp-deployment.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