nineskeletor/misc/k8s/kustomization/base/resources/sftp/kustomization.yaml

24 lines
396 B
YAML
Raw Normal View History

2023-06-26 09:20:23 +02:00
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"