-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: 🧵 split argo applications: one per repo
- Loading branch information
1 parent
eea9967
commit 7d11c97
Showing
8 changed files
with
39 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
# Helm chart automated files | ||
/charts/*/charts | ||
/charts/*/Chart.lock |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,5 +2,9 @@ apiVersion: v2 | |
name: dso-env | ||
description: Creates argocd Project and Applications to deploy DSO project repositories. | ||
type: application | ||
version: 1.1.1 | ||
version: 1.2.0 | ||
appVersion: 1.0.0 | ||
maintainers: | ||
- name: this-is-tobi | ||
email: [email protected] | ||
url: https://this-is-tobi.com |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,27 @@ | ||
{{- range .Values.application.repositories }} | ||
--- | ||
apiVersion: argoproj.io/v1alpha1 | ||
kind: Application | ||
metadata: | ||
name: {{ .Values.argocd.project }}-app | ||
namespace: {{ .Values.argocd.namespace }} | ||
name: {{ $.Values.argocd.project }}-app-{{ .name }} | ||
namespace: {{ $.Values.argocd.namespace }} | ||
labels: | ||
app.kubernetes.io/managed-by: dso-console | ||
{{- .Values.commonLabels | toYaml | nindent 4 }} | ||
{{- if $.Values.commonLabels -}} | ||
{{- $.Values.commonLabels | toYaml | nindent 4 }} | ||
{{- end }} | ||
spec: | ||
project: {{ .Values.argocd.project }}-app | ||
sources: {{ .Values.application.repositories | toYaml | nindent 4 }} | ||
project: {{ $.Values.argocd.project }}-app | ||
source: | ||
repoURL: {{ .repoURL }} | ||
targetRevision: {{ .targetRevision }} | ||
path: {{ .path }} | ||
destination: | ||
name: {{ .Values.application.destination.name }} | ||
namespace: {{ .Values.application.destination.namespace }} | ||
name: {{ $.Values.application.destination.name }} | ||
namespace: {{ $.Values.application.destination.namespace }} | ||
syncPolicy: | ||
automated: | ||
prune: true | ||
selfHeal: true | ||
allowEmpty: true | ||
{{- end }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters