24 lines
396 B
YAML
24 lines
396 B
YAML
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||
|
kind: Kustomization
|
||
|
|
||
|
resources:
|
||
|
- sftp-deployment.yaml
|
||
|
- sftp-service.yaml
|
||
|
|
||
|
vars:
|
||
|
- name: SFTP_SERVICE_NAME
|
||
|
objref:
|
||
|
name: sftp
|
||
|
apiVersion: v1
|
||
|
kind: Service
|
||
|
fieldref:
|
||
|
fieldpath: metadata.name
|
||
|
|
||
|
secretGenerator:
|
||
|
- name: sftp-secret
|
||
|
literals:
|
||
|
- "user=user"
|
||
|
- "password=pass"
|
||
|
- "users=user:pass:1001:1001"
|
||
|
|
||
|
|