1
0
Fork 0
kubernetes/restic-exporter/kustomization.yaml

37 lines
673 B
YAML

apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: restic-exporter
labels:
- pairs:
app.kubernetes.io/instance: restic-exporter
resources:
- namespace.yaml
- network-policy.yaml
- restic-exporter.yaml
- secrets.yaml
configMapGenerator:
- name: restic-exporter
envs:
- restic-exporter.env
patches:
- patch: |-
apiVersion: apps/v1
kind: Deployment
metadata:
name: restic-exporter
spec:
template:
spec:
containers:
- name: restic-exporter
envFrom:
- secretRef:
name: restic-s3
- configMapRef:
name: restic-exporter