This repository was archived by the owner on Aug 20, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 5 files changed +49
-3
lines changed
Expand file tree Collapse file tree 5 files changed +49
-3
lines changed Original file line number Diff line number Diff line change 11dependencies:
2+ - name: rabbitmq
3+ repository: https://charts.bitnami.com/bitnami
4+ version: 15.4.2
25- name: redis
36 repository: https://charts.bitnami.com/bitnami
47 version: 20.6.3
@@ -8,5 +11,5 @@ dependencies:
811- name: minio
912 repository: https://charts.bitnami.com/bitnami
1013 version: 14.10.5
11- digest: sha256:bb671bae5b6453f7da356f8482f2ccf7eb182b7d38c28fea28e39841c8bb41b5
12- generated: "2025-02-11T14:41:21.280715684 +05:45"
14+ digest: sha256:d13c4b60bfcbb8354039fa1bbf090428182038339cb096c48bedf8447dd281da
15+ generated: "2025-04-04T15:36:03.574423508 +05:45"
Original file line number Diff line number Diff line change @@ -2,11 +2,15 @@ apiVersion: v2
22name : django-app
33description : " Helm Chart to deploy the Django application"
44type : application
5- version : 0.0.1
5+ version : 0.1.0
66sources :
77 - https://github.com/toggle-corp/charts
88
99dependencies :
10+ - name : rabbitmq
11+ version : 15.4.2
12+ repository : https://charts.bitnami.com/bitnami
13+ condition : rabbitmq.enabled
1014 - name : redis
1115 version : 20.6.3
1216 repository : https://charts.bitnami.com/bitnami
Original file line number Diff line number Diff line change 2424 image : " {{ default $.Values.argoHook.image.name $.Values.image.name }}:{{ default $.Values.argoHook.image.tag $.Values.image.tag }}"
2525 imagePullPolicy : {{ default $.Values.argoHook.image.imagePullPolicy $.Values.image.imagePullPolicy }}
2626 command : {{ toYaml $hook.command | trim | nindent 12 }}
27+ {{- if $hook.args }}
28+ args : {{ toYaml $hook.args | trim | nindent 12 }}
29+ {{- end }}
2730 resources :
2831 {{- toYaml (default $hook.resources $.Values.argoHook.resources) | nindent 12 }}
2932 env :
Original file line number Diff line number Diff line change @@ -66,6 +66,17 @@ worker:
6666 requests :
6767 cpu : " 0.1"
6868
69+ argoHook :
70+ enabled : true
71+ hooks :
72+ my-custom-command :
73+ enabled : true
74+ hook : PostSync
75+ preserveHistory : true
76+ command : ["/bin/bash", "-c"]
77+ args :
78+ - " date --iso-8601 && ls"
79+
6980env :
7081 ENV_1 : VALUE_1
7182
Original file line number Diff line number Diff line change @@ -69,6 +69,31 @@ minio:
6969 extraCommands :
7070 - " mc anonymous set download provisioning/static-data"
7171
72+ rabbitmq :
73+ enabled : false
74+ fullnameOverride : " django-rabbitmq"
75+ auth :
76+ username : django
77+ password :
78+ erlangCookie : # Generate using `dd if=/dev/urandom bs=30 count=1 | base64`
79+ # XXX: Don't change this (`celery` vhost is used in templates/config/secret.yaml
80+ extraConfiguration : |-
81+ default_vhost = celery
82+ default_permissions.configure = .*
83+ default_permissions.read = .*
84+ default_permissions.write = .*
85+ resources :
86+ requests :
87+ cpu : " 0.1"
88+ memory : 1024Mi
89+ limits :
90+ cpu : " 4"
91+ memory : 2048Mi
92+ persistence :
93+ enabled : true
94+ size : 2Gi
95+ storageClass :
96+
7297api :
7398 # Not required if global image are set
7499 image : {}
You can’t perform that action at this time.
0 commit comments