move applications configuration to yaml
This commit is contained in:
@@ -8,15 +8,28 @@ metadata:
|
|||||||
spec:
|
spec:
|
||||||
project: default
|
project: default
|
||||||
source:
|
source:
|
||||||
repoURL: {{ .Values.application.cilium.source.repo }}
|
repoURL: {{ .Values.git.repo }}
|
||||||
targetRevision: {{ .Values.application.cilium.source.revision }}
|
targetRevision: {{ .Values.git.revision }}
|
||||||
path: "{{ .Values.git.path }}/{{ .Values.application.cilium.source.path }}"
|
path: clusters/{{ .Values.cluster.name }}/standalone/cilium
|
||||||
destination:
|
destination:
|
||||||
name: in-cluster
|
name: in-cluster
|
||||||
namespace: {{ .Values.application.cilium.namespace }}
|
namespace: kube-system
|
||||||
revisionHistoryLimit: 3
|
revisionHistoryLimit: 3
|
||||||
syncPolicy:
|
syncPolicy:
|
||||||
{{- toYaml .Values.application.cilium.syncPolicy | nindent 4 }}
|
automated:
|
||||||
|
prune: true
|
||||||
|
selfHeal: true
|
||||||
|
retry:
|
||||||
|
limit: 10
|
||||||
|
backoff:
|
||||||
|
duration: 1m
|
||||||
|
factor: 2
|
||||||
|
maxDuration: 16m
|
||||||
|
syncOptions:
|
||||||
|
- CreateNamespace=false
|
||||||
|
- ApplyOutOfSyncOnly=true
|
||||||
|
- ServerSideApply=true
|
||||||
|
- PruneLast=true
|
||||||
|
|
||||||
---
|
---
|
||||||
apiVersion: argoproj.io/v1alpha1
|
apiVersion: argoproj.io/v1alpha1
|
||||||
@@ -29,15 +42,28 @@ metadata:
|
|||||||
spec:
|
spec:
|
||||||
project: default
|
project: default
|
||||||
source:
|
source:
|
||||||
repoURL: {{ .Values.application.metricsServer.source.repo }}
|
repoURL: {{ .Values.git.repo }}
|
||||||
targetRevision: {{ .Values.application.metricsServer.source.revision }}
|
targetRevision: {{ .Values.git.revision }}
|
||||||
path: "{{ .Values.git.path }}/{{ .Values.application.metricsServer.source.path }}"
|
path: clusters/{{ .Values.cluster.name }}/standalone/metrics-server
|
||||||
destination:
|
destination:
|
||||||
name: in-cluster
|
name: in-cluster
|
||||||
namespace: {{ .Values.application.metricsServer.namespace }}
|
namespace: kube-system
|
||||||
revisionHistoryLimit: 3
|
revisionHistoryLimit: 3
|
||||||
syncPolicy:
|
syncPolicy:
|
||||||
{{- toYaml .Values.application.metricsServer.syncPolicy | nindent 4 }}
|
automated:
|
||||||
|
prune: true
|
||||||
|
selfHeal: true
|
||||||
|
retry:
|
||||||
|
limit: 10
|
||||||
|
backoff:
|
||||||
|
duration: 1m
|
||||||
|
factor: 2
|
||||||
|
maxDuration: 16m
|
||||||
|
syncOptions:
|
||||||
|
- CreateNamespace=false
|
||||||
|
- ApplyOutOfSyncOnly=false
|
||||||
|
- ServerSideApply=true
|
||||||
|
- PruneLast=true
|
||||||
|
|
||||||
---
|
---
|
||||||
apiVersion: argoproj.io/v1alpha1
|
apiVersion: argoproj.io/v1alpha1
|
||||||
@@ -50,15 +76,28 @@ metadata:
|
|||||||
spec:
|
spec:
|
||||||
project: default
|
project: default
|
||||||
source:
|
source:
|
||||||
repoURL: {{ .Values.application.kubeletServingCertApprover.source.repo }}
|
repoURL: {{ .Values.git.repo }}
|
||||||
targetRevision: {{ .Values.application.kubeletServingCertApprover.source.revision }}
|
targetRevision: {{ .Values.git.revision }}
|
||||||
path: "{{ .Values.git.path }}/{{ .Values.application.kubeletServingCertApprover.source.path }}"
|
path: clusters/{{ .Values.cluster.name }}/standalone/kubelet-serving-cert-approver
|
||||||
destination:
|
destination:
|
||||||
name: in-cluster
|
name: in-cluster
|
||||||
namespace: {{ .Values.application.kubeletServingCertApprover.namespace }}
|
namespace: kubelet-serving-cert-approver
|
||||||
revisionHistoryLimit: 3
|
revisionHistoryLimit: 3
|
||||||
syncPolicy:
|
syncPolicy:
|
||||||
{{- toYaml .Values.application.kubeletServingCertApprover.syncPolicy | nindent 4 }}
|
automated:
|
||||||
|
prune: true
|
||||||
|
selfHeal: true
|
||||||
|
retry:
|
||||||
|
limit: 10
|
||||||
|
backoff:
|
||||||
|
duration: 1m
|
||||||
|
factor: 2
|
||||||
|
maxDuration: 16m
|
||||||
|
syncOptions:
|
||||||
|
- CreateNamespace=true
|
||||||
|
- ApplyOutOfSyncOnly=false
|
||||||
|
- ServerSideApply=true
|
||||||
|
- PruneLast=true
|
||||||
|
|
||||||
---
|
---
|
||||||
apiVersion: argoproj.io/v1alpha1
|
apiVersion: argoproj.io/v1alpha1
|
||||||
@@ -71,12 +110,25 @@ metadata:
|
|||||||
spec:
|
spec:
|
||||||
project: default
|
project: default
|
||||||
source:
|
source:
|
||||||
repoURL: {{ .Values.application.prometheusOperatorCrds.source.repo }}
|
repoURL: {{ .Values.git.repo }}
|
||||||
targetRevision: {{ .Values.application.prometheusOperatorCrds.source.revision }}
|
targetRevision: {{ .Values.git.revision }}
|
||||||
path: "{{ .Values.git.path }}/{{ .Values.application.prometheusOperatorCrds.source.path }}"
|
path: clusters/{{ .Values.cluster.name }}/standalone/prometheus-operator-crds
|
||||||
destination:
|
destination:
|
||||||
name: in-cluster
|
name: in-cluster
|
||||||
namespace: {{ .Values.application.prometheusOperatorCrds.namespace }}
|
namespace: kube-system
|
||||||
revisionHistoryLimit: 3
|
revisionHistoryLimit: 3
|
||||||
syncPolicy:
|
syncPolicy:
|
||||||
{{- toYaml .Values.application.prometheusOperatorCrds.syncPolicy | nindent 4 }}
|
automated:
|
||||||
|
prune: true
|
||||||
|
selfHeal: true
|
||||||
|
retry:
|
||||||
|
limit: 10
|
||||||
|
backoff:
|
||||||
|
duration: 1m
|
||||||
|
factor: 2
|
||||||
|
maxDuration: 16m
|
||||||
|
syncOptions:
|
||||||
|
- CreateNamespace=false
|
||||||
|
- ApplyOutOfSyncOnly=false
|
||||||
|
- ServerSideApply=true
|
||||||
|
- PruneLast=true
|
||||||
|
@@ -40,85 +40,3 @@ applicationSet:
|
|||||||
prune: true
|
prune: true
|
||||||
syncOptions:
|
syncOptions:
|
||||||
createNamespace: true
|
createNamespace: true
|
||||||
application:
|
|
||||||
cilium:
|
|
||||||
namespace: kube-system
|
|
||||||
source:
|
|
||||||
repo: git@github.com:alexlebens/infrastructure.git
|
|
||||||
revision: HEAD
|
|
||||||
path: standalone/cilium
|
|
||||||
syncPolicy:
|
|
||||||
retry:
|
|
||||||
limit: 10
|
|
||||||
backoff:
|
|
||||||
duration: 1m
|
|
||||||
factor: 2
|
|
||||||
maxDuration: 16m
|
|
||||||
syncOptions:
|
|
||||||
- CreateNamespace=false
|
|
||||||
- ApplyOutOfSyncOnly=true
|
|
||||||
- ServerSideApply=true
|
|
||||||
- PruneLast=true
|
|
||||||
metricsServer:
|
|
||||||
namespace: kube-system
|
|
||||||
source:
|
|
||||||
repo: git@github.com:alexlebens/infrastructure.git
|
|
||||||
revision: HEAD
|
|
||||||
path: standalone/metrics-server
|
|
||||||
syncPolicy:
|
|
||||||
automated:
|
|
||||||
prune: true
|
|
||||||
selfHeal: true
|
|
||||||
retry:
|
|
||||||
limit: 10
|
|
||||||
backoff:
|
|
||||||
duration: 1m
|
|
||||||
factor: 2
|
|
||||||
maxDuration: 16m
|
|
||||||
syncOptions:
|
|
||||||
- CreateNamespace=false
|
|
||||||
- ApplyOutOfSyncOnly=false
|
|
||||||
- ServerSideApply=true
|
|
||||||
- PruneLast=true
|
|
||||||
kubeletServingCertApprover:
|
|
||||||
namespace: kubelet-serving-cert-approver
|
|
||||||
source:
|
|
||||||
repo: git@github.com:alexlebens/infrastructure.git
|
|
||||||
revision: HEAD
|
|
||||||
path: standalone/kubelet-serving-cert-approver
|
|
||||||
syncPolicy:
|
|
||||||
automated:
|
|
||||||
prune: true
|
|
||||||
selfHeal: true
|
|
||||||
retry:
|
|
||||||
limit: 10
|
|
||||||
backoff:
|
|
||||||
duration: 1m
|
|
||||||
factor: 2
|
|
||||||
maxDuration: 16m
|
|
||||||
syncOptions:
|
|
||||||
- CreateNamespace=true
|
|
||||||
- ApplyOutOfSyncOnly=false
|
|
||||||
- ServerSideApply=true
|
|
||||||
- PruneLast=true
|
|
||||||
prometheusOperatorCrds:
|
|
||||||
namespace: kube-system
|
|
||||||
source:
|
|
||||||
repo: git@github.com:alexlebens/infrastructure.git
|
|
||||||
revision: HEAD
|
|
||||||
path: standalone/prometheus-operator-crds
|
|
||||||
syncPolicy:
|
|
||||||
automated:
|
|
||||||
prune: true
|
|
||||||
selfHeal: true
|
|
||||||
retry:
|
|
||||||
limit: 10
|
|
||||||
backoff:
|
|
||||||
duration: 1m
|
|
||||||
factor: 2
|
|
||||||
maxDuration: 16m
|
|
||||||
syncOptions:
|
|
||||||
- CreateNamespace=false
|
|
||||||
- ApplyOutOfSyncOnly=false
|
|
||||||
- ServerSideApply=true
|
|
||||||
- PruneLast=true
|
|
||||||
|
Reference in New Issue
Block a user