nineskeletor/misc/k8s/kustomization/base/resources/sftpbrowser/sftpbrowser-deployment.yaml

45 lines
1.1 KiB
YAML
Raw Normal View History

2023-06-26 09:20:23 +02:00
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:
2023-07-23 15:46:26 +02:00
- name: APACHE_ALIAS
value: 'sftpbrowser'
2023-06-26 09:20:23 +02:00
- name: SFTP_HOST
2023-07-23 15:46:26 +02:00
value: $(SFTP_SERVICE_NAME)
2023-06-26 09:20:23 +02:00
- name: SFTP_PORT
value: "22"
2023-07-23 15:46:26 +02:00
- name: SFTP_FOLDER
value: ""
2023-06-26 09:20:23 +02:00
- 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: {}