kind: Deployment apiVersion: apps/v1 metadata: labels: io.kompose.service: sftpbrowser name: sftpbrowser spec: selector: matchLabels: io.kompose.service: sftpbrowser replicas: 1 template: metadata: labels: io.kompose.service: sftpbrowser spec: containers: - name: sftpbrowser image: reg.cadoles.com/afornerot/sftpbrowser imagePullPolicy: "Always" env: - name: APACHE_ALIAS value: 'sftpbrowser' - name: SFTP_HOST value: $(SFTP_SERVICE_NAME) - name: SFTP_PORT value: "22" - name: SFTP_FOLDER value: "" - name: SFTP_USER valueFrom: secretKeyRef: name: sftp-secret key: user - name: SFTP_PASSWORD valueFrom: secretKeyRef: name: sftp-secret key: password - name: FAKE_FILES value: '["AFNOR"]' ports: - containerPort: 80 resources: {}