add nfs subdir provisioner
This commit is contained in:
parent
f023e4bc6c
commit
f76673daae
37
argo1/templates/nfs.yaml
Normal file
37
argo1/templates/nfs.yaml
Normal file
|
@ -0,0 +1,37 @@
|
||||||
|
# {{ if (index .Values "nfs").enabled }}
|
||||||
|
---
|
||||||
|
apiVersion: argoproj.io/v1alpha1
|
||||||
|
kind: Application
|
||||||
|
metadata:
|
||||||
|
name: "{{ .Release.Name }}-nfs"
|
||||||
|
namespace: argocd
|
||||||
|
finalizers:
|
||||||
|
- resources-finalizer.argocd.argoproj.io
|
||||||
|
spec:
|
||||||
|
project: default
|
||||||
|
source:
|
||||||
|
chart: "nfs-subdir-external-provisioner"
|
||||||
|
repoURL: ""
|
||||||
|
targetRevision: "4.0.18"
|
||||||
|
helm:
|
||||||
|
values: |-
|
||||||
|
{{ (index .Values "nfs").values | nindent 8 }}
|
||||||
|
# the next line preserves the release name.
|
||||||
|
# this is optional but recommended for singleton services.
|
||||||
|
releaseName: "nfs"
|
||||||
|
destination:
|
||||||
|
server: "https://kubernetes.default.svc"
|
||||||
|
namespace: "kube-system"
|
||||||
|
syncPolicy:
|
||||||
|
automated:
|
||||||
|
prune: true
|
||||||
|
selfHeal: true
|
||||||
|
syncOptions:
|
||||||
|
- CreateNamespace=true
|
||||||
|
retry:
|
||||||
|
limit: 10
|
||||||
|
backoff:
|
||||||
|
duration: 5s
|
||||||
|
factor: 2
|
||||||
|
maxDuration: 3m0s
|
||||||
|
# {{- end }}
|
|
@ -24,3 +24,6 @@ vault-agent-injector:
|
||||||
global:
|
global:
|
||||||
# disable global vault because we're only using this as an agent injector
|
# disable global vault because we're only using this as an agent injector
|
||||||
enabled: false
|
enabled: false
|
||||||
|
|
||||||
|
nfs:
|
||||||
|
enabled: false
|
||||||
|
|
Loading…
Reference in New Issue
Block a user