fix: Add ncps to sys
This commit is contained in:
@@ -72,6 +72,8 @@ spec:
|
||||
server: https://kubernetes.default.svc
|
||||
- namespace: opentelemetry
|
||||
server: https://kubernetes.default.svc
|
||||
- namespace: ncps
|
||||
server: https://kubernetes.default.svc
|
||||
sourceRepos:
|
||||
- https://argoproj.github.io/argo-helm
|
||||
- https://kubernetes-sigs.github.io/metrics-server/
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
ncps:
|
||||
enabled: true
|
||||
@@ -0,0 +1,3 @@
|
||||
ncps:
|
||||
enabled: false
|
||||
autosync: false
|
||||
@@ -1,11 +1,8 @@
|
||||
{{- if .Values.clusterConfig.argo.enabled }}
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: ncps
|
||||
namespace: argocd
|
||||
annotations:
|
||||
argocd.argoproj.io/sync-options: SkipDryRunOnMissingResource=true
|
||||
finalizers:
|
||||
- resources-finalizer.argocd.argoproj.io
|
||||
spec:
|
||||
@@ -13,7 +10,7 @@ spec:
|
||||
namespace: ncps
|
||||
server: 'https://kubernetes.default.svc'
|
||||
sources:
|
||||
- repoURL: {{ .Values.clusterConfig.manifests }}
|
||||
- repoURL: https://gitlab.com/oceanbox/manifests.git
|
||||
targetRevision: HEAD
|
||||
path: values/ncps/manifests
|
||||
project: sys
|
||||
@@ -25,9 +22,6 @@ spec:
|
||||
- CreateNamespace=true
|
||||
- ApplyOutOfSyncOnly=true
|
||||
# - ServerSideApply=true
|
||||
{{- if .Values.ncps.autosync }}
|
||||
automated:
|
||||
prune: true
|
||||
# selfHeal: false
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
|
||||
Reference in New Issue
Block a user