Skip to content

Commit

Permalink
Add redis-2 using ArgoCD (#178)
Browse files Browse the repository at this point in the history
* Add redis-2 using ArgoCD

* Fix chart version variable name
  • Loading branch information
AndrewKostka authored Nov 25, 2024
1 parent 7faf635 commit 2e25974
Show file tree
Hide file tree
Showing 5 changed files with 31 additions and 3 deletions.
2 changes: 1 addition & 1 deletion charts/argocd-apps/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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.6
version: 1.0.7
appVersion: "1.0"
maintainers:
- name: WBstack
Expand Down
27 changes: 27 additions & 0 deletions charts/argocd-apps/templates/redis-2.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: redis-2
namespace: argocd
finalizers:
- resources-finalizer.argocd.argoproj.io
spec:
destination:
namespace: default
server: {{ .Values.clusterUrl }}
project: {{ .Values.environment }}
sources:
- repoURL: {{ .Values.repoUrls.bitnami }}
targetRevision: {{ .Values.chartVersions.redis2 }}
chart: redis
helm:
valueFiles:
- $deployRepo/k8s/argocd/{{ .Values.environment }}/redis-2.values.yaml
- repoURL: {{ .Values.repoUrls.deploy }}
targetRevision: HEAD
ref: deployRepo

syncPolicy:
automated:
selfHeal: true
prune: false
1 change: 1 addition & 0 deletions charts/argocd-apps/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,5 @@ environment: production

chartVersions:
redis: 17.3.8
redis2: 20.3.0
# "inherits" values from argocd-config chart
2 changes: 1 addition & 1 deletion charts/argocd-config/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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.9
version: 1.0.10
appVersion: "1.0"
maintainers:
- name: WBstack
Expand Down
2 changes: 1 addition & 1 deletion charts/argocd-config/templates/app-of-apps.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ spec:
project: {{ .Values.environment }}
sources:
- repoURL: {{ .Values.repoUrls.wbstack }}
targetRevision: 1.0.6
targetRevision: 1.0.7
chart: argocd-apps
helm:
values: |
Expand Down

0 comments on commit 2e25974

Please sign in to comment.