Skip to content

Commit ba05cb7

Browse files
systemsdtakshatsinha007kartik-579prkhrkatvikramdevtron
authored
release: PR for v1.5.0 (#6501)
* Updated release-notes files * Updated release notes * Updated release notes * Updated release notes * Updated release notes * Updated release notes * Updated release notes * Updated release notes * Updated release notes * Updated release notes * Updated release notes * Updated release notes * Updated release notes * Updated release notes * misc: merged main in release-bot (#6500) * ci pipeline get change * ci pipeline get change * GetCiPipelineByIdWithDefaultTag change * deployment template get response * cd pipeline get response change * oss etn change * oss ent change * prom client in chart-sync * fix in yaml * APP_SYNC_SHUTDOWN_WAIT_DURATION env * APP_SYNC_SHUTDOWN_WAIT_DURATION env * vendor update in develop * fix: incorrect gitops metrics (#6444) * wip: fix gitops metrics * fix pull metrics * github create repo function * wip: metrics changed from defer function * fix metrics publish * self review changes * oss ent change * code cleaning * name suggestion util * added supoort for preserve mode in update repo api * fix in CreateGrafanaDataSource * fix in CreateGrafanaDataSource * feat: Made ng labels env driven (#6438) * feat: Adds karpenter ng to list of ng constants * feat: made nodelabels env driven * feat: Updates env get as per repo standards * prom client in chart-sync * fix in yaml * chore: resolve merge conflict * APP_SYNC_SHUTDOWN_WAIT_DURATION env * code cleaning --------- Co-authored-by: prakhar katiyar <prkhrkat@gmail.com> * updated timeout for git material save/update * fix: compile issue * updated protos version * added sql scripts * sql no update * wip: optimisation (#6473) * vendor update * feat: licensing changes (#6474) * modules handling * example * sql files * common lib update * release: Compatibility Modifications for Enterprise and OSS Chart (#6486) * added devtronEnterprise check conditions * added devtron-operator-cm in inception * added eneterprise flag in devtron-cm * updated dashboard cm * added random alpha for ent-job * added DEVTRON_VERSION_IDENTIFIER_IN_HELM_VALUES in devtro-cm * updated installer for enterprise * bom * fix: for grafana URL * fix: for grafana URL --------- Co-authored-by: kartik-579 <kartik@devtron.ai> Co-authored-by: prakhar katiyar <prkhrkat@gmail.com> Co-authored-by: Vikram Singh <vikram@devtron.ai> Co-authored-by: Vikram <73224103+vikramdevtron@users.noreply.github.com> Co-authored-by: iamayushm <32041961+iamayushm@users.noreply.github.com> Co-authored-by: prakhar katiyar <39842461+prkhrkat@users.noreply.github.com> Co-authored-by: Ash-exp <asutosh2000ad@gmail.com> Co-authored-by: Abhibhaw Asthana <39991296+abhibhaw@users.noreply.github.com> Co-authored-by: kartik-579 <84493919+kartik-579@users.noreply.github.com> Co-authored-by: Shivam Nagar <124123645+Shivam-nagar23@users.noreply.github.com> * added liveness readiness * Update release.txt * Updated latest image of git-sensor in installer * Update devtron.yaml * Updated release notes * Updated release notes * added md=5 for postgresql * Updated release notes * Updated release notes * Updated release notes * Updated release notes * Updated release notes * Updated release notes * Updated release notes * Updated release notes * Updated release notes * Updated release notes * Updated release notes * Updated release notes * Updated release notes * feat: Postgres upgrade from 11 to 14 (#6525) * updated postgresql.yaml * updated the postgres image to postgre:14.9 and removed the postgres-misc migration * updated claim template name to devtron * updated claim template name to devtron * reverted the claim template name to data * changed targetport to actual portnumber instead of name * updated the check for POSTGRES_MIGRATED * POSTGRES_MIGRATED for devtron-custom-cm * POSTGRES_MIGRATED for devtron-custom-cm * synced from charts repo for airgapped argocd changes * moved nodeselectors,tolerations and imagepullsecrets below their description * Updated latest image of devtron in devtron * Updated latest image of kubewatch in devtron * Updated latest image of git-sensor in installer * updated gitsensor image * Updated devtron-bom.yaml * Updated latest image of lens in devtron * Updated latest image of ci-runner in devtron * Updated latest image of notifier in devtron * Updated latest image of image-scanner in devtron * updated image of notifier * updated image of notifier * Updated latest image of chart-sync in devtron * Updated latest image of hyperion in devtron * Updated latest image of kubelink in devtron * Updated release notes * Updated latest image of devtron in devtron * Updated latest image of kubewatch in devtron * Updated latest image of kubelink in devtron * Updated latest image of git-sensor in devtron * Updated latest image of lens in devtron * Updated latest image of ci-runner in devtron * Updated latest image of image-scanner in devtron * Updated latest image of chart-sync in devtron * Updated latest image of hyperion in devtron * Updated latest image of dashboard in devtron * Update devtron-bom.yaml * Update values.yaml * Updated release notes * Updated release notes * Updated release notes * modified postgresql.yaml * Update NOTES.txt * Updated the version in scripts * Update release.txt * Update version.txt * Update release-notes-v1.5.0.md * Update releasenotes.md * Update releasenotes.md Removed urmerged PR's * Update release-notes-v1.5.0.md * Update releasenotes.md * Update devtron-images.txt.source * Update releasenotes.md * Update releasenotes.md --------- Co-authored-by: akshatsinha007 <156403098+akshatsinha007@users.noreply.github.com> Co-authored-by: kartik-579 <kartik@devtron.ai> Co-authored-by: prakhar katiyar <prkhrkat@gmail.com> Co-authored-by: Vikram Singh <vikram@devtron.ai> Co-authored-by: Vikram <73224103+vikramdevtron@users.noreply.github.com> Co-authored-by: iamayushm <32041961+iamayushm@users.noreply.github.com> Co-authored-by: prakhar katiyar <39842461+prkhrkat@users.noreply.github.com> Co-authored-by: Ash-exp <asutosh2000ad@gmail.com> Co-authored-by: Abhibhaw Asthana <39991296+abhibhaw@users.noreply.github.com> Co-authored-by: kartik-579 <84493919+kartik-579@users.noreply.github.com> Co-authored-by: Shivam Nagar <124123645+Shivam-nagar23@users.noreply.github.com> Co-authored-by: akshatsinha007 <akshat.sinha@devtron.ai> Co-authored-by: Pawan Mehta <117346502+pawan-mehta-dt@users.noreply.github.com>
1 parent e2daf69 commit ba05cb7

23 files changed

+380
-512
lines changed

CHANGELOG/release-notes-v1.5.0.md

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
## v1.5.0
2+
3+
## Enhancements
4+
- feat: Config Approval bypass v1 (for cm, cs and deployment template) (#6493)
5+
- feat: Licensing changes (#6474)
6+
## Bugs
7+
- fix: Added support for IAM role S3 blob client (#6521)
8+
- fix: Making tx independent of git sensor call (#6519)
9+
- fix: Sql query memory issue (#6516)
10+
- fix: Grafana data-source get API (#6503)
11+
- fix: Made triggeredBy for CI & CD uniform (#6489)
12+
- fix: HPA permission denied error (#6485)
13+
- fix: Force abort for pre/post cd (#6475)
14+
- fix: Optimisation in workflow status api (#6473)
15+
- fix: Let user delete the container reg if the ref app was deleted (#6464)
16+
## Others
17+
- misc: Update the descriptions of env variables (#6499)
18+
- misc: Patch api for user attribute (#6490)
19+
- chore: Nil implementations fixed for user attribute in telemetry (#6497)

charts/devtron/Chart.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
apiVersion: v2
22
name: devtron-operator
3-
appVersion: 1.4.0
3+
appVersion: 1.5.0
44
description: Chart to configure and install Devtron. Devtron is a Kubernetes Orchestration system.
55
keywords:
66
- Devtron
@@ -11,7 +11,7 @@ keywords:
1111
- argocd
1212
- Hyperion
1313
engine: gotpl
14-
version: 0.22.88
14+
version: 0.22.90
1515
sources:
1616
- https://github.com/devtron-labs/charts
1717
dependencies:

charts/devtron/devtron-bom.yaml

+24-17
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ global:
1010
containerRegistry: "quay.io/devtron"
1111
extraManifests: []
1212
installer:
13-
release: "v1.4.0"
13+
release: "v1.5.0"
1414
registry: ""
1515
image: "inception"
1616
tag: "473deaa4-185-21582"
@@ -33,14 +33,15 @@ components:
3333
FEATURE_STEP_WISE_LOGS_ENABLE: "true"
3434
FEATURE_USER_DEFINED_GITOPS_REPO_ENABLE: "true"
3535
ENABLE_RESOURCE_SCAN: "true"
36-
FEATURE_CODE_MIRROR_ENABLE: "false"
36+
FEATURE_CODE_MIRROR_ENABLE: "true"
3737
registry: ""
38-
image: "dashboard:a400ce3c-690-31030"
38+
image: "dashboard:0fc42ac3-690-32105"
3939
imagePullPolicy: IfNotPresent
40+
healthPort: 8080
4041
devtron:
4142
registry: ""
42-
image: "hyperion:846c2d90-280-31082"
43-
cicdImage: "devtron:846c2d90-434-31081"
43+
image: "hyperion:e2daf69a-280-32104"
44+
cicdImage: "devtron:e2daf69a-434-32096"
4445
imagePullPolicy: IfNotPresent
4546
customOverrides: {}
4647
podSecurityContext:
@@ -51,9 +52,10 @@ components:
5152
allowPrivilegeEscalation: false
5253
runAsNonRoot: true
5354
runAsUser: 1001
55+
healthPort: 8080
5456
ciRunner:
5557
registry: ""
56-
image: "ci-runner:d79b15c6-138-31014"
58+
image: "ci-runner:c49b4aa5-138-32101"
5759
argocdDexServer:
5860
registry: ""
5961
image: "dex:v2.30.2"
@@ -62,7 +64,7 @@ components:
6264
authenticator: "authenticator:e414faff-393-13273"
6365
kubelink:
6466
registry: ""
65-
image: "kubelink:ccd98a22-564-31008"
67+
image: "kubelink:c49b4aa5-564-32098"
6668
imagePullPolicy: IfNotPresent
6769
configs:
6870
ENABLE_HELM_RELEASE_CACHE: "true"
@@ -86,10 +88,12 @@ components:
8688
allowPrivilegeEscalation: false
8789
runAsNonRoot: true
8890
runAsUser: 1001
91+
healthPort: 50052
8992
kubewatch:
9093
registry: ""
91-
image: "kubewatch:34abb17d-419-31007"
94+
image: "kubewatch:c49b4aa5-419-32097"
9295
imagePullPolicy: IfNotPresent
96+
healthPort: 8080
9397
configs:
9498
devtroncd_NAMESPACE: "devtron-ci"
9599
USE_CUSTOM_HTTP_TRANSPORT: "true"
@@ -108,16 +112,14 @@ components:
108112
keyName: postgresql-password
109113
postgres:
110114
registry: ""
111-
image: "postgres:11.9.0-debian-10-r26"
112-
armImage: "postgres:11.9"
115+
image: "postgres:14.9"
113116
initImage: "minideb:latest"
114117
imagePullPolicy: "IfNotPresent"
115118
metrics:
116-
image: postgres_exporter:v0.4.7
117-
armImage: postgres_exporter:v0.10.1
119+
image: postgres_exporter:v0.10.1
118120
gitsensor:
119121
registry: ""
120-
image: "git-sensor:2b4b8363-200-31009"
122+
image: "git-sensor:c49b4aa5-200-32099"
121123
imagePullPolicy: IfNotPresent
122124
serviceMonitor:
123125
enabled: false
@@ -132,10 +134,11 @@ components:
132134
dbconfig:
133135
secretName: postgresql-postgresql
134136
keyName: postgresql-password
137+
healthPort: 8080
135138
# Values for lens
136139
lens:
137140
registry: ""
138-
image: "lens:34abb17d-333-31011"
141+
image: "lens:c49b4aa5-333-32100"
139142
imagePullPolicy: IfNotPresent
140143
configs:
141144
GIT_SENSOR_PROTOCOL: GRPC
@@ -148,6 +151,7 @@ components:
148151
dbconfig:
149152
secretName: postgresql-postgresql
150153
keyName: postgresql-password
154+
healthPort: 8080
151155
# Change below values for nats
152156
nats:
153157
registry: ""
@@ -181,7 +185,7 @@ components:
181185
DB_NAME: "lens"
182186
chartSync:
183187
registry: ""
184-
image: chart-sync:34abb17d-836-31017
188+
image: chart-sync:c49b4aa5-836-32103
185189
schedule: "0 19 * * *"
186190
podSecurityContext:
187191
fsGroup: 1001
@@ -211,7 +215,8 @@ workflowController:
211215
IMDSv1ExecutorImage: "argoexec:v3.0.7"
212216
security:
213217
imageScanner:
214-
image: "image-scanner:34abb17d-141-31016"
218+
image: "image-scanner:c49b4aa5-141-32102"
219+
healthPort: 8080
215220
configs:
216221
TRIVY_DB_REPOSITORY: mirror.gcr.io/aquasec/trivy-db
217222
TRIVY_JAVA_DB_REPOSITORY: mirror.gcr.io/aquasec/trivy-java-db
@@ -221,7 +226,8 @@ security:
221226
tag: 4.3.6
222227
# Values for notifier integration
223228
notifier:
224-
image: "notifier:c2173311-372-31015"
229+
image: "notifier:56798239-372-32072"
230+
healthPort: 3000
225231
minio:
226232
image: "minio:RELEASE.2021-02-14T04-01-33Z"
227233
mbImage: "minio-mc:RELEASE.2021-02-14T04-28-06Z"
@@ -263,6 +269,7 @@ devtronEnterprise:
263269
allowPrivilegeEscalation: false
264270
runAsNonRoot: true
265271
runAsUser: 1001
272+
healthPort: 8080
266273
scoop:
267274
enabled: false
268275
registry: ""

charts/devtron/templates/NOTES.txt

+8
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
{{- if .Release.IsUpgrade }}
2+
{{- $liveCm := lookup "v1" "ConfigMap" "devtroncd" "devtron-custom-cm" }}
3+
{{- $currentValue := pluck "POSTGRES_MIGRATED" $liveCm.data | first | default "" }}
4+
{{- if ne $currentValue "14" }}
5+
{{- fail "Upgrade Failed Please ensure that you have completed the pre-requisites mentioned in https://docs.devtron.ai/upgrade/devtron-upgrade-1.5.0" }}
6+
{{- end }}
7+
{{- end }}
8+
19
Please wait for ~1 minute before running any of the following commands.
210

311
1. Run the following command to get the password for the default admin user:

charts/devtron/templates/argocd-secret.yaml

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
{{- $customOverrides := index $.Values.components.devtron.customOverrides }}
12
apiVersion: v1
23
kind: Secret
34
metadata:
@@ -22,6 +23,7 @@ metadata:
2223
data:
2324
timeout.hard.reconciliation: "0"
2425
timeout.reconciliation: 60s
26+
{{- if ne $customOverrides.IS_AIR_GAP_ENVIRONMENT "true" }}
2527
repositories: |-
2628
- name: devtron
2729
type: helm
@@ -56,6 +58,7 @@ data:
5658
- name: kedacore
5759
type: helm
5860
url: https://kedacore.github.io/charts
61+
{{- end }}
5962
resource.customizations: >
6063
kubernetes-client.io/ExternalSecret:
6164
health.lua: |

charts/devtron/templates/casbin.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ spec:
5555
failureThreshold: 3
5656
httpGet:
5757
path: /health
58-
port: 8080
58+
port: {{ $.Values.devtronEnterprise.casbin.healthPort}}
5959
initialDelaySeconds: 20
6060
periodSeconds: 10
6161
successThreshold: 1
@@ -64,7 +64,7 @@ spec:
6464
failureThreshold: 3
6565
httpGet:
6666
path: /health
67-
port: 8080
67+
port: {{ $.Values.devtronEnterprise.casbin.healthPort}}
6868
initialDelaySeconds: 20
6969
periodSeconds: 10
7070
successThreshold: 1

charts/devtron/templates/dashboard.yaml

+20
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,26 @@ spec:
9090
securityContext:
9191
{{- toYaml $.Values.global.containerSecurityContext | nindent 12 }}
9292
{{- end }}
93+
livenessProbe:
94+
failureThreshold: 3
95+
httpGet:
96+
path: /
97+
port: {{ $.Values.components.dashboard.healthPort}}
98+
scheme: HTTP
99+
initialDelaySeconds: 20
100+
periodSeconds: 10
101+
successThreshold: 1
102+
timeoutSeconds: 5
103+
readinessProbe:
104+
failureThreshold: 3
105+
httpGet:
106+
path: /
107+
port: {{ $.Values.components.dashboard.healthPort}}
108+
scheme: HTTP
109+
initialDelaySeconds: 20
110+
periodSeconds: 10
111+
successThreshold: 1
112+
timeoutSeconds: 5
93113
ports:
94114
- name: app
95115
containerPort: 8080

charts/devtron/templates/devtron.yaml

+22
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ data:
3434
CI_WORKFLOW_EXECUTOR_TYPE: SYSTEM
3535
DEVTRON_INSTALLATION_TYPE: enterprise
3636
DEVTRON_VERSION_IDENTIFIER_IN_HELM_VALUES: "devtron.installer.release"
37+
DEVTRON_MANAGED_LICENSING_ENABLED: "false"
3738
DEVTRON_BOM_URL: https://raw.githubusercontent.com/devtron-labs/charts/refs/tags/devtron-enterprise-%s/charts/devtron-enterprise/devtron-bom.yaml
3839
{{- end }}
3940
{{- if $.Values.installer.modules }}
@@ -206,6 +207,7 @@ data:
206207
{{- $modules = append $modules "argo-cd" }}
207208
{{- end }}
208209
{{- end }}
210+
POSTGRES_MIGRATED: "14"
209211
INSTALLED_MODULES: {{ if $modules }}{{ printf "'%s'" (join "," $modules) }}{{ else }}""{{ end }}
210212
DEFAULT_CI_IMAGE: {{ include "common.image" (dict "component" $.Values.components.ciRunner "global" $.Values.global ) }}
211213
---
@@ -278,6 +280,26 @@ spec:
278280
- -c
279281
- ' curl -X POST -H "Content-Type: application/json" -d ''{"eventType":
280282
"SIG_TERM"}'' localhost:8080/orchestrator/telemetry/summary'
283+
livenessProbe:
284+
failureThreshold: 3
285+
httpGet:
286+
path: /health
287+
port: {{ $.Values.components.devtron.healthPort}}
288+
scheme: HTTP
289+
initialDelaySeconds: 20
290+
periodSeconds: 10
291+
successThreshold: 1
292+
timeoutSeconds: 5
293+
readinessProbe:
294+
failureThreshold: 3
295+
httpGet:
296+
path: /health
297+
port: {{ $.Values.components.devtron.healthPort}}
298+
scheme: HTTP
299+
initialDelaySeconds: 20
300+
periodSeconds: 10
301+
successThreshold: 1
302+
timeoutSeconds: 5
281303
ports:
282304
- name: devtron
283305
containerPort: 8080

charts/devtron/templates/gitsensor.yaml

+20
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,26 @@ spec:
112112
volumeMounts:
113113
- name: git-volume
114114
mountPath: /git-base/
115+
livenessProbe:
116+
failureThreshold: 3
117+
httpGet:
118+
path: /health
119+
port: {{ $.Values.components.gitsensor.healthPort}}
120+
scheme: HTTP
121+
initialDelaySeconds: 20
122+
periodSeconds: 10
123+
successThreshold: 1
124+
timeoutSeconds: 5
125+
readinessProbe:
126+
failureThreshold: 3
127+
httpGet:
128+
path: /health
129+
port: {{ $.Values.components.gitsensor.healthPort}}
130+
scheme: HTTP
131+
initialDelaySeconds: 20
132+
periodSeconds: 10
133+
successThreshold: 1
134+
timeoutSeconds: 5
115135
env:
116136
- name: DEVTRON_APP_NAME
117137
value: git-sensor

charts/devtron/templates/kubelink.yaml

+20
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,26 @@ spec:
8585
name: {{ .dbconfig.secretName }}
8686
key: {{ .dbconfig.keyName }}
8787
{{- end }}
88+
livenessProbe:
89+
failureThreshold: 3
90+
httpGet:
91+
path: /health
92+
port: {{ $.Values.components.kubelink.healthPort}}
93+
scheme: HTTP
94+
initialDelaySeconds: 20
95+
periodSeconds: 10
96+
successThreshold: 1
97+
timeoutSeconds: 5
98+
readinessProbe:
99+
failureThreshold: 3
100+
httpGet:
101+
path: /health
102+
port: {{ $.Values.components.kubelink.healthPort}}
103+
scheme: HTTP
104+
initialDelaySeconds: 20
105+
periodSeconds: 10
106+
successThreshold: 1
107+
timeoutSeconds: 5
88108
envFrom:
89109
- configMapRef:
90110
name: kubelink-cm

charts/devtron/templates/kubewatch.yaml

+20
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,26 @@ spec:
188188
- name: app
189189
containerPort: 3000
190190
protocol: TCP
191+
livenessProbe:
192+
failureThreshold: 3
193+
httpGet:
194+
path: /health
195+
port: {{ $.Values.components.kubewatch.healthPort}}
196+
scheme: HTTP
197+
initialDelaySeconds: 20
198+
periodSeconds: 10
199+
successThreshold: 1
200+
timeoutSeconds: 5
201+
readinessProbe:
202+
failureThreshold: 3
203+
httpGet:
204+
path: /health
205+
port: {{ $.Values.components.kubewatch.healthPort}}
206+
scheme: HTTP
207+
initialDelaySeconds: 20
208+
periodSeconds: 10
209+
successThreshold: 1
210+
timeoutSeconds: 5
191211
env:
192212
- name: POD_NAME
193213
valueFrom:

0 commit comments

Comments
 (0)