diff --git a/charts/argocd-apps/Chart.yaml b/charts/argocd-apps/Chart.yaml index ca3293d..7805611 100644 --- a/charts/argocd-apps/Chart.yaml +++ b/charts/argocd-apps/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: argocd-apps description: Chart to deploy WBaaS apps in an "app-of-apps" pattern via ArgoCD type: application -version: 1.0.7 +version: 1.1.0 appVersion: "1.0" maintainers: - name: WBstack diff --git a/charts/argocd-apps/README.md b/charts/argocd-apps/README.md new file mode 100644 index 0000000..1efe171 --- /dev/null +++ b/charts/argocd-apps/README.md @@ -0,0 +1,32 @@ +# argocd-apps + +Deploys actual `Application` manifests for Argo CD. This chart gets treated as it's own `Application`, the app-of-apps, by the chart [argocd-config](../argocd-config/README.md). + +## Changelog +## 1.1.0 +- move app chart versions to values file +- use helm chart notation instead for the ui +- remove git repo url for wbstack/charts + +## 1.0.7 +- add redis-2 manifest + +## 1.0.6 +- add redis manifest + +## 1.0.5 +- use wbaas-api chart v0.32.1 + +## 1.0.4 +- use wbaas-api chart v0.32.0 + +## 1.0.3 +- unspecified version bump + +### 1.0.2 +- add wbstack helm charts repo +- add wbaas-api manifest + +### 1.0.1 +- initial version in this repository +- includes wbaas-ui manifest \ No newline at end of file diff --git a/charts/argocd-apps/templates/wbaas-api.yaml b/charts/argocd-apps/templates/wbaas-api.yaml index dde5f82..fc975ef 100644 --- a/charts/argocd-apps/templates/wbaas-api.yaml +++ b/charts/argocd-apps/templates/wbaas-api.yaml @@ -12,7 +12,7 @@ spec: project: {{ .Values.environment }} sources: - repoURL: {{ .Values.repoUrls.wbstack }} - targetRevision: 0.32.1 + targetRevision: {{ .Values.chartVersions.wbaasApi }} chart: api helm: valueFiles: diff --git a/charts/argocd-apps/templates/wbaas-ui.yaml b/charts/argocd-apps/templates/wbaas-ui.yaml index 9fb7f92..661715b 100644 --- a/charts/argocd-apps/templates/wbaas-ui.yaml +++ b/charts/argocd-apps/templates/wbaas-ui.yaml @@ -12,14 +12,14 @@ spec: project: {{ .Values.environment }} sources: - repoURL: {{ .Values.repoUrls.charts }} - path: charts/ui - targetRevision: HEAD + targetRevision: {{ .Values.chartVersions.wbaasUi }} + chart: ui helm: valueFiles: - - $values/k8s/argocd/{{ .Values.environment }}/ui.values.yaml + - $deployRepo/k8s/argocd/{{ .Values.environment }}/ui.values.yaml - repoURL: {{ .Values.repoUrls.deploy }} targetRevision: HEAD - ref: values + ref: deployRepo syncPolicy: automated: diff --git a/charts/argocd-apps/values.yaml b/charts/argocd-apps/values.yaml index ffbaa4e..e061912 100644 --- a/charts/argocd-apps/values.yaml +++ b/charts/argocd-apps/values.yaml @@ -1,12 +1,13 @@ repoUrls: deploy: https://github.com/wmde/wbaas-deploy - charts: https://github.com/wbstack/charts.git wbstack: https://wbstack.github.io/charts bitnami: https://charts.bitnami.com/bitnami clusterUrl: https://kubernetes.default.svc environment: production chartVersions: + wbaasUi: 0.4.0 + wbaasApi: 0.32.1 redis: 17.3.8 - redis2: 20.3.0 + redis2: 19.6.4 # "inherits" values from argocd-config chart diff --git a/charts/argocd-config/Chart.yaml b/charts/argocd-config/Chart.yaml index b85bd8e..faa16db 100644 --- a/charts/argocd-config/Chart.yaml +++ b/charts/argocd-config/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: argocd-config description: Chart to deploy ArgoCD configuration (including the argocd-apps chart) type: application -version: 1.0.10 +version: 1.1.0 appVersion: "1.0" maintainers: - name: WBstack diff --git a/charts/argocd-config/README.md b/charts/argocd-config/README.md new file mode 100644 index 0000000..55bb7e0 --- /dev/null +++ b/charts/argocd-config/README.md @@ -0,0 +1,48 @@ +# argocd-config + +Configures permissions Argo CD and deploys the "app-of-apps" (see ../argocd-apps/README.md) + +## Changelog +## 1.1.0 +- read app-of-apps chart version from wbaas-deploy repo + +## 1.0.11 +- remove unused git repo URL to wbstack/charts + +## 1.0.10 +- use app-of-apps chart v1.0.7 + +## 1.0.9 +- replace hardcoded app-of-apps repo URL with configurable value + +## 1.0.8 +- use app-of-apps chart v1.0.6 +- remove wbstack charts git repo URL + +## 1.0.7 +- use app-of-apps chart v1.0.5 +- add bitnami chart repo URL + +## 1.0.6 +- use app-of-apps chart v1.0.4 +- add allowed destination `in-cluster-monitoring` (needed for wbaas-api deployment) +- add `clusterResourceWhitelist` with ClusterRole and ClusterRoleBinding (needed for wbaas-api deployment) + +## 1.0.5 +- just a version bump due to chart release concurrency bug https://phabricator.wikimedia.org/T307481 + +## 1.0.4 +- use app-of-apps chart v1.0.3 + +## 1.0.3 +- use configurable wbstack chart URL instead of hardcoded string + +## 1.0.2 +- specify app-of-apps chart name +- add wbstack chart url to values file + +### 1.0.1 +- use app-of-apps chart 1.0.1 + +### 1.0.0 +- initial version in this repository diff --git a/charts/argocd-config/templates/app-of-apps.yaml b/charts/argocd-config/templates/app-of-apps.yaml index ac4cf28..309f63b 100644 --- a/charts/argocd-config/templates/app-of-apps.yaml +++ b/charts/argocd-config/templates/app-of-apps.yaml @@ -9,7 +9,7 @@ spec: project: {{ .Values.environment }} sources: - repoURL: {{ .Values.repoUrls.wbstack }} - targetRevision: 1.0.7 + targetRevision: {{ .Values.appOfAppsVersion }} chart: argocd-apps helm: values: | diff --git a/charts/argocd-config/templates/projects.yaml b/charts/argocd-config/templates/projects.yaml index f8900d9..0fc5465 100644 --- a/charts/argocd-config/templates/projects.yaml +++ b/charts/argocd-config/templates/projects.yaml @@ -16,7 +16,6 @@ spec: server: https://kubernetes.default.svc sourceRepos: - {{ .Values.repoUrls.deploy }} - - {{ .Values.repoUrls.charts }} - {{ .Values.repoUrls.wbstack }} - {{ .Values.repoUrls.bitnami }} clusterResourceWhitelist: diff --git a/charts/argocd-config/values.yaml b/charts/argocd-config/values.yaml index a0cbe3b..5664d1f 100644 --- a/charts/argocd-config/values.yaml +++ b/charts/argocd-config/values.yaml @@ -1,7 +1,8 @@ environment: production +appOfAppsVersion: 1.1.0 + repoUrls: deploy: https://github.com/wmde/wbaas-deploy - charts: https://github.com/wbstack/charts.git wbstack: https://wbstack.github.io/charts bitnami: https://charts.bitnami.com/bitnami