File tree Expand file tree Collapse file tree 8 files changed +45
-18
lines changed Expand file tree Collapse file tree 8 files changed +45
-18
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ components:
88 image : " quay.io/devtron/dashboard:c8b8d431-240-8868"
99 devtron :
1010 image : " quay.io/devtron/hyperion:3d41b121-280-8899"
11+ cicdImage : " quay.io/devtron/devtron:3d41b121-324-8898"
1112 argocdDexServer :
1213 image : " quay.io/dexidp/dex:v2.25.0"
1314 kubelink :
Original file line number Diff line number Diff line change 1- {{- if not .Values.installer.modules }}
21apiVersion : v1
32kind : Secret
43metadata :
4847 url: https://kubernetes-sigs.github.io/metrics-server
4948 - name: autoscaler
5049 type: helm
51- url: https://kubernetes.github.io/autoscaler
52- {{- end }}
50+ url: https://kubernetes.github.io/autoscaler
Original file line number Diff line number Diff line change 1- {{- if not .Values.installer.modules }}
21{{- with .Values.components.devtron }}
32---
43apiVersion : v1
3534 app : devtron
3635 release : devtron
3736 replicas : 1
37+ {{- if $.Release.IsUpgrade }}
38+ minReadySeconds : 700
39+ progressDeadlineSeconds : 800
40+ {{- else }}
3841 minReadySeconds : 60
42+ {{- end }}
3943 template :
4044 metadata :
4145 labels :
4751 serviceAccountName : devtron
4852 containers :
4953 - name : devtron
50- image : {{ .image }}
54+ {{- if $.Values.installer.modules }}
55+ {{ range $.Values.installer.modules }}
56+ {{- if and (eq . "cicd") ($.Release.IsUpgrade) }}
57+ image : {{ $.Values.components.devtron.cicdImage }}
58+ {{- else }}
59+ image : {{ $.Values.components.devtron.image }}
60+ {{- end }}
61+ {{- end }}
62+ {{- else }}
63+ image : {{ $.Values.components.devtron.image }}
64+ {{- end }}
5165 imagePullPolicy : {{ .imagePullPolicy }}
5266 ports :
5367 - name : devtron
90104 app : devtron
91105{{- end }}
92106{{- end }}
93- {{- end }}
Original file line number Diff line number Diff line change 1- {{- if not .Values.installer.modules }}
21{{- with .Values.components.argocdDexServer }}
32apiVersion : v1
43kind : Service
4140 selector :
4241 matchLabels :
4342 app.kubernetes.io/name : argocd-dex-server
43+ {{- if $.Release.IsUpgrade }}
44+ minReadySeconds : 700
45+ progressDeadlineSeconds : 800
46+ {{- else }}
47+ minReadySeconds : 60
48+ {{- end }}
4449 template :
4550 metadata :
4651 labels :
5762 weight : 5
5863 containers :
5964 - command :
65+ {{- if and $.Values.installer.modules $.Release.IsUpgrade }}
66+ - /shared/argocd-util
67+ {{- else }}
6068 - /shared/authenticator
69+ {{- end }}
6170 - rundex
6271 image : {{ .image }}
6372 imagePullPolicy : {{ .imagePullPolicy }}
7382 - command :
7483 - cp
7584 - -n
85+ {{- if and $.Values.installer.modules $.Release.IsUpgrade }}
86+ - /usr/local/bin/argocd-util
87+ {{- else }}
7688 - /authenticator
89+ {{- end }}
7790 - /shared
78- image : quay.io/devtron/authenticator:415f5470-279-6520
91+ {{- if and $.Values.installer.modules $.Release.IsUpgrade }}
92+ image : {{ .cicdAuthenticator }}
93+ {{- else }}
94+ image : {{ .authenticator }}
95+ {{- end }}
7996 imagePullPolicy : IfNotPresent
8097 name : copyutil
8198 volumeMounts :
@@ -139,4 +156,3 @@ subjects:
139156- kind : ServiceAccount
140157 name : argocd-dex-server
141158{{- end }}
142- {{- end }}
Original file line number Diff line number Diff line change 1- {{- if not .Values.installer.modules }}
21{{- with .Values.components.migrator }}
32---
43apiVersion : batch/v1
8988 backoffLimit : 20
9089 activeDeadlineSeconds : 1500
9190{{- end }}
92- {{- end }}
Original file line number Diff line number Diff line change 1- {{- if not .Values.installer.modules }}
21{{- with .Values.components.postgres }}
32apiVersion : v1
43kind : Secret
6665 create database casbin;
6766 create database git_sensor;
6867 create database lens;
69- create database clair ;
68+ create database clairv4 ;
7069 ---
7170apiVersion : v1
7271kind : Service
@@ -213,6 +212,8 @@ spec:
213212 value : " orchestrator"
214213 - name : POSTGRESQL_ENABLE_LDAP
215214 value : " no"
215+ - name : POSTGRESQL_SHARED_PRELOAD_LIBRARIES
216+ value : pgaudit, uuid-ossp
216217 ports :
217218 - name : tcp-postgresql
218219 containerPort : 5432
@@ -302,4 +303,3 @@ spec:
302303 requests :
303304 storage : {{ .persistence.volumeSize }}
304305{{- end }}
305- {{- end }}
Original file line number Diff line number Diff line change 1- {{- if not .Values.installer.modules }}
21apiVersion : v1
32kind : ServiceAccount
43metadata :
@@ -42,5 +41,4 @@ roleRef:
4241subjects :
4342 - kind : ServiceAccount
4443 name : devtron
45- namespace : devtroncd
46- {{- end }}
44+ namespace : devtroncd
Original file line number Diff line number Diff line change @@ -48,6 +48,7 @@ components:
4848
4949 devtron :
5050 image : " quay.io/devtron/hyperion:3d41b121-280-8899"
51+ cicdImage : " quay.io/devtron/devtron:3d41b121-324-8898"
5152 imagePullPolicy : IfNotPresent
5253 serviceMonitor :
5354 enabled : false
@@ -72,8 +73,10 @@ components:
7273 # - devtron.example.com
7374
7475 argocdDexServer :
75- image : quay.io/dexidp/dex:v2.25.0
76+ image : " quay.io/dexidp/dex:v2.25.0"
7677 imagePullPolicy : IfNotPresent
78+ authenticator : " quay.io/devtron/authenticator:415f5470-279-6520"
79+ cicdAuthenticator : " quay.io/argoproj/argocd:v1.8.1"
7780
7881 kubelink :
7982 image : " quay.io/devtron/kubelink:d691bfbb-318-8695"
You can’t perform that action at this time.
0 commit comments