Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 0 additions & 46 deletions argocd/applications/configs/namespace-label.yaml

This file was deleted.

5 changes: 0 additions & 5 deletions argocd/applications/configs/wait-istio-job.yaml

This file was deleted.

5 changes: 5 additions & 0 deletions argocd/applications/templates/alerting-monitor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,11 @@ spec:
maxDuration: 3m0s
factor: 2
{{- end }}
{{- if index .Values.argo.namespaceLabels $namespace }}
managedNamespaceMetadata:
labels:
{{- index .Values.argo.namespaceLabels $namespace | toYaml | nindent 8 }}
{{- end }}
syncOptions:
- CreateNamespace=true
- ApplyOutOfSyncOnly=true
Expand Down
7 changes: 6 additions & 1 deletion argocd/applications/templates/app-deployment-crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

{{- $appName := "app-deployment-crd" }}
{{- $namespace := "orch-app" }}
{{- $syncWave := "2000" }}
{{- $syncWave := "150" }}
---
{{- if (index .Values.argo.enabled $appName) }}
apiVersion: argoproj.io/v1alpha1
Expand Down Expand Up @@ -46,6 +46,11 @@ spec:
maxDuration: 3m0s
factor: 2
{{- end }}
{{- if index .Values.argo.namespaceLabels $namespace }}
managedNamespaceMetadata:
labels:
{{- index .Values.argo.namespaceLabels $namespace | toYaml | nindent 8 }}
{{- end }}
syncOptions:
- CreateNamespace=true
- ApplyOutOfSyncOnly=true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,11 @@ spec:
maxDuration: 3m0s
factor: 2
{{- end }}
{{- if index .Values.argo.namespaceLabels $namespace }}
managedNamespaceMetadata:
labels:
{{- index .Values.argo.namespaceLabels $namespace | toYaml | nindent 8 }}
{{- end }}
syncOptions:
- CreateNamespace=true
- ApplyOutOfSyncOnly=true
Expand Down
5 changes: 5 additions & 0 deletions argocd/applications/templates/app-deployment-manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,11 @@ spec:
maxDuration: 3m0s
factor: 2
{{- end }}
{{- if index .Values.argo.namespaceLabels $namespace }}
managedNamespaceMetadata:
labels:
{{- index .Values.argo.namespaceLabels $namespace | toYaml | nindent 8 }}
{{- end }}
syncOptions:
- CreateNamespace=true
- ApplyOutOfSyncOnly=true
Expand Down
5 changes: 5 additions & 0 deletions argocd/applications/templates/app-interconnect-manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,11 @@ spec:
maxDuration: 3m0s
factor: 2
{{- end }}
{{- if index .Values.argo.namespaceLabels $namespace }}
managedNamespaceMetadata:
labels:
{{- index .Values.argo.namespaceLabels $namespace | toYaml | nindent 8 }}
{{- end }}
syncOptions:
- CreateNamespace=true
- ApplyOutOfSyncOnly=true
Expand Down
5 changes: 5 additions & 0 deletions argocd/applications/templates/app-orch-catalog.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,11 @@ spec:
maxDuration: 3m0s
factor: 2
{{- end }}
{{- if index .Values.argo.namespaceLabels $namespace }}
managedNamespaceMetadata:
labels:
{{- index .Values.argo.namespaceLabels $namespace | toYaml | nindent 8 }}
{{- end }}
syncOptions:
- CreateNamespace=true
- ApplyOutOfSyncOnly=true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,11 @@ spec:
maxDuration: 3m0s
factor: 2
{{- end }}
{{- if index .Values.argo.namespaceLabels $namespace }}
managedNamespaceMetadata:
labels:
{{- index .Values.argo.namespaceLabels $namespace | toYaml | nindent 8 }}
{{- end }}
syncOptions:
- CreateNamespace=true
- ApplyOutOfSyncOnly=true
Expand Down
5 changes: 5 additions & 0 deletions argocd/applications/templates/app-resource-manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,11 @@ spec:
maxDuration: 3m0s
factor: 2
{{- end }}
{{- if index .Values.argo.namespaceLabels $namespace }}
managedNamespaceMetadata:
labels:
{{- index .Values.argo.namespaceLabels $namespace | toYaml | nindent 8 }}
{{- end }}
syncOptions:
- CreateNamespace=true
- ApplyOutOfSyncOnly=true
Expand Down
5 changes: 5 additions & 0 deletions argocd/applications/templates/app-service-proxy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,11 @@ spec:
maxDuration: 3m0s
factor: 2
{{- end }}
{{- if index .Values.argo.namespaceLabels $namespace }}
managedNamespaceMetadata:
labels:
{{- index .Values.argo.namespaceLabels $namespace | toYaml | nindent 8 }}
{{- end }}
syncOptions:
- CreateNamespace=true
- ApplyOutOfSyncOnly=true
Expand Down
5 changes: 5 additions & 0 deletions argocd/applications/templates/auth-service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,11 @@ spec:
maxDuration: 3m0s
factor: 2
{{- end }}
{{- if index .Values.argo.namespaceLabels $namespace }}
managedNamespaceMetadata:
labels:
{{- index .Values.argo.namespaceLabels $namespace | toYaml | nindent 8 }}
{{- end }}
syncOptions:
- CreateNamespace=true
- ApplyOutOfSyncOnly=true
Expand Down
5 changes: 5 additions & 0 deletions argocd/applications/templates/aws-lb-tgb.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,11 @@ spec:
maxDuration: 3m0s
factor: 2
{{- end }}
{{- if index .Values.argo.namespaceLabels $namespace }}
managedNamespaceMetadata:
labels:
{{- index .Values.argo.namespaceLabels $namespace | toYaml | nindent 8 }}
{{- end }}
syncOptions:
- CreateNamespace=true
- ApplyOutOfSyncOnly=true
Expand Down
5 changes: 5 additions & 0 deletions argocd/applications/templates/aws-lb.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,11 @@ spec:
maxDuration: 3m0s
factor: 2
{{- end }}
{{- if index .Values.argo.namespaceLabels $namespace }}
managedNamespaceMetadata:
labels:
{{- index .Values.argo.namespaceLabels $namespace | toYaml | nindent 8 }}
{{- end }}
syncOptions:
- CreateNamespace=true
- ApplyOutOfSyncOnly=true
Expand Down
5 changes: 5 additions & 0 deletions argocd/applications/templates/aws-sm-get-rs-token.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,11 @@ spec:
maxDuration: 3m0s
factor: 2
{{- end }}
{{- if index .Values.argo.namespaceLabels $namespace }}
managedNamespaceMetadata:
labels:
{{- index .Values.argo.namespaceLabels $namespace | toYaml | nindent 8 }}
{{- end }}
syncOptions:
- CreateNamespace=true
- ApplyOutOfSyncOnly=true
Expand Down
5 changes: 5 additions & 0 deletions argocd/applications/templates/aws-sm-proxy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,11 @@ spec:
maxDuration: 3m0s
factor: 2
{{- end }}
{{- if index .Values.argo.namespaceLabels $namespace }}
managedNamespaceMetadata:
labels:
{{- index .Values.argo.namespaceLabels $namespace | toYaml | nindent 8 }}
{{- end }}
syncOptions:
- CreateNamespace=true
- ApplyOutOfSyncOnly=true
Expand Down
5 changes: 5 additions & 0 deletions argocd/applications/templates/botkube.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,11 @@ spec:
maxDuration: 3m0s
factor: 2
{{- end }}
{{- if index .Values.argo.namespaceLabels $namespace }}
managedNamespaceMetadata:
labels:
{{- index .Values.argo.namespaceLabels $namespace | toYaml | nindent 8 }}
{{- end }}
syncOptions:
- CreateNamespace=true
- ApplyOutOfSyncOnly=true
Expand Down
5 changes: 5 additions & 0 deletions argocd/applications/templates/capi-operator-pre.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,11 @@ spec:
maxDuration: 3m0s
factor: 2
{{- end }}
{{- if index .Values.argo.namespaceLabels $namespace }}
managedNamespaceMetadata:
labels:
{{- index .Values.argo.namespaceLabels $namespace | toYaml | nindent 8 }}
{{- end }}
syncOptions:
- CreateNamespace=true
- ApplyOutOfSyncOnly=true
Expand Down
5 changes: 5 additions & 0 deletions argocd/applications/templates/capi-operator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,11 @@ spec:
maxDuration: 3m0s
factor: 2
{{- end }}
{{- if index .Values.argo.namespaceLabels $namespace }}
managedNamespaceMetadata:
labels:
{{- index .Values.argo.namespaceLabels $namespace | toYaml | nindent 8 }}
{{- end }}
syncOptions:
- CreateNamespace=true
- ApplyOutOfSyncOnly=true
Expand Down
5 changes: 5 additions & 0 deletions argocd/applications/templates/capi-providers-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,11 @@ spec:
maxDuration: 3m0s
factor: 2
{{- end }}
{{- if index .Values.argo.namespaceLabels $namespace }}
managedNamespaceMetadata:
labels:
{{- index .Values.argo.namespaceLabels $namespace | toYaml | nindent 8 }}
{{- end }}
syncOptions:
- CreateNamespace=true
- ApplyOutOfSyncOnly=true
Expand Down
5 changes: 5 additions & 0 deletions argocd/applications/templates/cert-manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,11 @@ spec:
maxDuration: 3m0s
factor: 2
{{- end }}
{{- if index .Values.argo.namespaceLabels $namespace }}
managedNamespaceMetadata:
labels:
{{- index .Values.argo.namespaceLabels $namespace | toYaml | nindent 8 }}
{{- end }}
syncOptions:
- CreateNamespace=true
- ApplyOutOfSyncOnly=true
Expand Down
5 changes: 5 additions & 0 deletions argocd/applications/templates/cert-synchronizer.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,11 @@ spec:
maxDuration: 3m0s
factor: 2
{{- end }}
{{- if index .Values.argo.namespaceLabels $namespace }}
managedNamespaceMetadata:
labels:
{{- index .Values.argo.namespaceLabels $namespace | toYaml | nindent 8 }}
{{- end }}
syncOptions:
- CreateNamespace=true
- ApplyOutOfSyncOnly=true
Expand Down
5 changes: 5 additions & 0 deletions argocd/applications/templates/certificate-file-server.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,11 @@ spec:
maxDuration: 3m0s
factor: 2
{{- end }}
{{- if index .Values.argo.namespaceLabels $namespace }}
managedNamespaceMetadata:
labels:
{{- index .Values.argo.namespaceLabels $namespace | toYaml | nindent 8 }}
{{- end }}
syncOptions:
- CreateNamespace=true
- ApplyOutOfSyncOnly=true
Expand Down
5 changes: 5 additions & 0 deletions argocd/applications/templates/cluster-autoscaler.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,11 @@ spec:
maxDuration: 3m0s
factor: 2
{{- end }}
{{- if index .Values.argo.namespaceLabels $namespace }}
managedNamespaceMetadata:
labels:
{{- index .Values.argo.namespaceLabels $namespace | toYaml | nindent 8 }}
{{- end }}
syncOptions:
- CreateNamespace=true
- ApplyOutOfSyncOnly=true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

{{- $appName := "cluster-connect-gateway" }} # TODO! update this to the correct app name once decided
{{- $namespace := "orch-cluster" }}
{{- $syncWave := "2000" }}
{{- $syncWave := "150" }}
---
{{- if (index .Values.argo.enabled $appName) }}
apiVersion: argoproj.io/v1alpha1
Expand Down Expand Up @@ -49,6 +49,11 @@ spec:
maxDuration: 3m0s
factor: 2
{{- end }}
{{- if index .Values.argo.namespaceLabels $namespace }}
managedNamespaceMetadata:
labels:
{{- index .Values.argo.namespaceLabels $namespace | toYaml | nindent 8 }}
{{- end }}
syncOptions:
- CreateNamespace=true
- ApplyOutOfSyncOnly=true
Expand Down
5 changes: 5 additions & 0 deletions argocd/applications/templates/cluster-manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,11 @@ spec:
maxDuration: 3m0s
factor: 2
{{- end }}
{{- if index .Values.argo.namespaceLabels $namespace }}
managedNamespaceMetadata:
labels:
{{- index .Values.argo.namespaceLabels $namespace | toYaml | nindent 8 }}
{{- end }}
syncOptions:
- CreateNamespace=true
- ApplyOutOfSyncOnly=true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,11 @@ spec:
maxDuration: 3m0s
factor: 2
{{- end }}
{{- if index .Values.argo.namespaceLabels $namespace }}
managedNamespaceMetadata:
labels:
{{- index .Values.argo.namespaceLabels $namespace | toYaml | nindent 8 }}
{{- end }}
syncOptions:
- CreateNamespace=true
- ApplyOutOfSyncOnly=true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,11 @@ spec:
maxDuration: 3m0s
factor: 2
{{- end }}
{{- if index .Values.argo.namespaceLabels $namespace }}
managedNamespaceMetadata:
labels:
{{- index .Values.argo.namespaceLabels $namespace | toYaml | nindent 8 }}
{{- end }}
syncOptions:
- CreateNamespace=true
- ApplyOutOfSyncOnly=true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,11 @@ spec:
maxDuration: 3m0s
factor: 2
{{- end }}
{{- if index .Values.argo.namespaceLabels $namespace }}
managedNamespaceMetadata:
labels:
{{- index .Values.argo.namespaceLabels $namespace | toYaml | nindent 8 }}
{{- end }}
syncOptions:
- CreateNamespace=true
- ApplyOutOfSyncOnly=true
Expand Down
Loading
Loading