Skip to content

Commit c3830d3

Browse files
systemsdtakshatsinha007prakarsh-dt
authored
release: PR for v1.4.0 (#6460)
* 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 * Updated release notes * Updated release notes * Updated release notes * Updated release notes * Updated release notes * Updated release notes * Updated release notes * Update Dockerfile * Updated values.yaml * Update gitsensor.yaml * Update DockerfileEA * Update Dockerfile * Update Dockerfile * Update DockerfileEA * Updated latest image of devtron in installer * rechanged security context to 1000 at global * Security Context Changes * Updated latest image of devtron in installer * Updated latest image of kubewatch in installer * Updated latest image of kubelink in installer * Updated latest image of git-sensor in installer * Updated latest image of lens in installer * Updated latest image of dashboard in installer * Updated latest image of ci-runner in installer * Updated latest image of notifier in installer * Updated latest image of image-scanner in installer * Updated latest image of chart-sync in installer * Update release.txt * Updated latest image of hyperion in installer * Update devtron.yaml * updated cm of kubewatch and dashboard * Update devtron-bom.yaml * Update values.yaml * Updated latest image of dashboard in installer * Update devtron-bom.yaml * Update Chart.yaml * Updated release notes * Updated release notes * Updated latest image of hyperion in installer * Updated the image of scoop and casbin * Updated image of scoop and casbin * Updated ent-migration job in migrator * updated the ent-migration name to postgresql-migrate-enterprise * updated scoop to read orch token from devtron-custom-secret * Update release.txt * updated the condition for enterprise-migration * Update beta-releasenotes.md * Updated release notes * Update release.txt * Updated latest image of devtron in installer * Updated latest image of hyperion in installer * Update release.txt * Update devtron.yaml * Updated release-notes files --------- Co-authored-by: akshatsinha007 <[email protected]> Co-authored-by: akshatsinha007 <[email protected]> Co-authored-by: ReleaseBot <[email protected]>
1 parent 846c2d9 commit c3830d3

24 files changed

+253
-84
lines changed

CHANGELOG/release-notes-v1.4.0.md

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
## v1.4.0
2+
3+
## Enhancements
4+
- feat: Made ng labels env driven (#6438)
5+
- feat: Link helm release (#6454)
6+
- feat: access manager (#6377)
7+
- feat: migrate external argo cd application (#6303)
8+
- feat: Dark Mode v1 (#2348)
9+
- feat: Dark Mode v2 (#2367)
10+
- feat: Dark Mode v3 (#2484)
11+
## Bugs
12+
- fix: cluster update issue (#6465)
13+
- fix: in CreateGrafanaDataSource (#6463)
14+
- fix: onboard acd app (#6457)
15+
- fix: prom client in chart-sync (#6442)
16+
- fix: incorrect gitops metrics (#6444)
17+
- fix: envId check in EventBuilder.go (#6436)
18+
- fix: createDockerRepoIfNeeded error handling (#6433)
19+
20+

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.3.1
3+
appVersion: 1.4.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.86
14+
version: 0.22.87
1515
sources:
1616
- https://github.com/devtron-labs/charts
1717
dependencies:

charts/devtron/devtron-bom.yaml

+49-14
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.3.1"
13+
release: "v1.4.0"
1414
registry: ""
1515
image: "inception"
1616
tag: "473deaa4-185-21582"
@@ -33,18 +33,27 @@ 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"
3637
registry: ""
37-
image: "dashboard:1c40d516-690-30089"
38+
image: "dashboard:a400ce3c-690-31030"
3839
imagePullPolicy: IfNotPresent
3940
devtron:
4041
registry: ""
41-
image: "hyperion:e67c3b76-280-30100"
42-
cicdImage: "devtron:e67c3b76-434-30101"
42+
image: "hyperion:846c2d90-280-31082"
43+
cicdImage: "devtron:846c2d90-434-31081"
4344
imagePullPolicy: IfNotPresent
4445
customOverrides: {}
46+
podSecurityContext:
47+
fsGroup: 1001
48+
runAsGroup: 1001
49+
runAsUser: 1001
50+
containerSecurityContext:
51+
allowPrivilegeEscalation: false
52+
runAsNonRoot: true
53+
runAsUser: 1001
4554
ciRunner:
4655
registry: ""
47-
image: "ci-runner:0dde3b1a-138-30091"
56+
image: "ci-runner:d79b15c6-138-31014"
4857
argocdDexServer:
4958
registry: ""
5059
image: "dex:v2.30.2"
@@ -53,7 +62,7 @@ components:
5362
authenticator: "authenticator:e414faff-393-13273"
5463
kubelink:
5564
registry: ""
56-
image: "kubelink:0dde3b1a-564-30082"
65+
image: "kubelink:ccd98a22-564-31008"
5766
imagePullPolicy: IfNotPresent
5867
configs:
5968
ENABLE_HELM_RELEASE_CACHE: "true"
@@ -69,9 +78,17 @@ components:
6978
dbconfig:
7079
secretName: postgresql-postgresql
7180
keyName: postgresql-password
81+
podSecurityContext:
82+
fsGroup: 1001
83+
runAsGroup: 1001
84+
runAsUser: 1001
85+
containerSecurityContext:
86+
allowPrivilegeEscalation: false
87+
runAsNonRoot: true
88+
runAsUser: 1001
7289
kubewatch:
7390
registry: ""
74-
image: "kubewatch:0dde3b1a-419-30285"
91+
image: "kubewatch:34abb17d-419-31007"
7592
imagePullPolicy: IfNotPresent
7693
configs:
7794
devtroncd_NAMESPACE: "devtron-ci"
@@ -85,6 +102,7 @@ components:
85102
PG_LOG_QUERY: "true"
86103
PG_PORT: "5432"
87104
PG_USER: postgres
105+
CLUSTER_ARGO_CD_TYPE: "ALL_CLUSTER"
88106
dbconfig:
89107
secretName: postgresql-postgresql
90108
keyName: postgresql-password
@@ -99,7 +117,7 @@ components:
99117
armImage: postgres_exporter:v0.10.1
100118
gitsensor:
101119
registry: ""
102-
image: "git-sensor:0dde3b1a-200-30085"
120+
image: "git-sensor:2b4b8363-200-31009"
103121
imagePullPolicy: IfNotPresent
104122
serviceMonitor:
105123
enabled: false
@@ -117,7 +135,7 @@ components:
117135
# Values for lens
118136
lens:
119137
registry: ""
120-
image: "lens:0dde3b1a-333-30090"
138+
image: "lens:34abb17d-333-31011"
121139
imagePullPolicy: IfNotPresent
122140
configs:
123141
GIT_SENSOR_PROTOCOL: GRPC
@@ -151,6 +169,7 @@ components:
151169
image: "migrator:v4.16.2"
152170
kubectlImage: "kubectl:latest"
153171
duplicateChartImage: devtron-utils:dup-chart-repo-v1.1.0
172+
entMigratorImage: "devtron-utils:geni-v1.1.4"
154173
envVars:
155174
devtron:
156175
DB_NAME: "orchestrator"
@@ -162,8 +181,16 @@ components:
162181
DB_NAME: "lens"
163182
chartSync:
164183
registry: ""
165-
image: chart-sync:0dde3b1a-836-30095
184+
image: chart-sync:34abb17d-836-31017
166185
schedule: "0 19 * * *"
186+
podSecurityContext:
187+
fsGroup: 1001
188+
runAsGroup: 1001
189+
runAsUser: 1001
190+
containerSecurityContext:
191+
allowPrivilegeEscalation: false
192+
runAsNonRoot: true
193+
runAsUser: 1001
167194
extraConfigs: {}
168195
# values for argocd integration
169196
argo-cd:
@@ -184,7 +211,7 @@ workflowController:
184211
IMDSv1ExecutorImage: "argoexec:v3.0.7"
185212
security:
186213
imageScanner:
187-
image: "image-scanner:0dde3b1a-141-30093"
214+
image: "image-scanner:34abb17d-141-31016"
188215
configs:
189216
TRIVY_DB_REPOSITORY: mirror.gcr.io/aquasec/trivy-db
190217
TRIVY_JAVA_DB_REPOSITORY: mirror.gcr.io/aquasec/trivy-java-db
@@ -194,7 +221,7 @@ security:
194221
tag: 4.3.6
195222
# Values for notifier integration
196223
notifier:
197-
image: "notifier:5e9c010b-372-30094"
224+
image: "notifier:c2173311-372-31015"
198225
minio:
199226
image: "minio:RELEASE.2021-02-14T04-01-33Z"
200227
mbImage: "minio-mc:RELEASE.2021-02-14T04-28-06Z"
@@ -217,7 +244,7 @@ devtronEnterprise:
217244
enabled: false
218245
casbin:
219246
registry: ""
220-
image: "casbin:efc28fb2-6de0e914-462-25420"
247+
image: "casbin:f6ff5f74-064b67e5-462-30822"
221248
imagePullPolicy: IfNotPresent
222249
configs:
223250
PG_ADDR: postgresql-postgresql.devtroncd
@@ -228,10 +255,18 @@ devtronEnterprise:
228255
secretName: postgresql-postgresql
229256
keyName: postgresql-password
230257
resources: {}
258+
podSecurityContext:
259+
fsGroup: 1001
260+
runAsGroup: 1001
261+
runAsUser: 1001
262+
containerSecurityContext:
263+
allowPrivilegeEscalation: false
264+
runAsNonRoot: true
265+
runAsUser: 1001
231266
scoop:
232267
enabled: false
233268
registry: ""
234-
image: "scoop:296d351d-629-24001"
269+
image: "scoop:289d080a-629-30405"
235270
imagePullPolicy: IfNotPresent
236271
resources: {}
237272
configs:

charts/devtron/templates/_helpers.tpl

+20
Original file line numberDiff line numberDiff line change
@@ -96,3 +96,23 @@ If storageClass is defined in values.yaml under global.storageClass, use that.
9696
storageClassName: {{ $.Values.global.storageClass }}
9797
{{- end }}
9898
{{- end -}}
99+
100+
{{- define "common.podSecurityContext" -}}
101+
{{- if .podSecurityContext }}
102+
securityContext:
103+
{{ toYaml .podSecurityContext | indent 2 }}
104+
{{- else if .global.podSecurityContext }}
105+
securityContext:
106+
{{ toYaml .global.podSecurityContext | indent 2 }}
107+
{{- end }}
108+
{{- end }}
109+
110+
{{- define "common.containerSecurityContext" -}}
111+
{{- if .containerSecurityContext }}
112+
securityContext:
113+
{{ toYaml .containerSecurityContext | indent 2 }}
114+
{{- else if .global.containerSecurityContext }}
115+
securityContext:
116+
{{ toYaml .global.containerSecurityContext | indent 2 }}
117+
{{- end }}
118+
{{- end }}

charts/devtron/templates/app-sync-job.yaml

+4-16
Original file line numberDiff line numberDiff line change
@@ -26,17 +26,11 @@ spec:
2626
{{- end }}
2727
{{- end }}
2828
{{- end }}
29-
{{- if and $.Values.global $.Values.global.podSecurityContext }}
30-
securityContext:
31-
{{- toYaml $.Values.global.podSecurityContext | nindent 8 }}
32-
{{- end }}
29+
{{- include "common.podSecurityContext" (dict "podSecurityContext" $.Values.components.chartSync.podSecurityContext "global" $.Values.global) | indent 6 }}
3330
containers:
3431
- name: chart-sync
3532
image: {{ include "common.image" (dict "component" $.Values.components.chartSync "global" $.Values.global ) }}
36-
{{- if and $.Values.global $.Values.global.containerSecurityContext }}
37-
securityContext:
38-
{{- toYaml $.Values.global.containerSecurityContext | nindent 10 }}
39-
{{- end }}
33+
{{- include "common.containerSecurityContext" (dict "containerSecurityContext" $.Values.components.chartSync.containerSecurityContext "global" $.Values.global) | indent 8 }}
4034
env:
4135
- name: PG_ADDR
4236
value: postgresql-postgresql.devtroncd
@@ -80,17 +74,11 @@ spec:
8074
activeDeadlineSeconds: 15000
8175
serviceAccountName: chart-sync
8276
{{- include "common.schedulerConfig" (dict "nodeSelector" $.Values.components.chartSync.nodeSelector "tolerations" $.Values.components.chartSync.tolerations "imagePullSecrets" $.Values.components.chartSync.imagePullSecrets "global" $.Values.global) | indent 10 }}
83-
{{- if and $.Values.global $.Values.global.podSecurityContext }}
84-
securityContext:
85-
{{- toYaml $.Values.global.podSecurityContext | nindent 12 }}
86-
{{- end }}
77+
{{- include "common.podSecurityContext" (dict "podSecurityContext" $.Values.components.chartSync.podSecurityContext "global" $.Values.global) | indent 10 }}
8778
containers:
8879
- name: chart-sync
8980
image: {{ include "common.image" (dict "component" $.Values.components.chartSync "global" $.Values.global ) }}
90-
{{- if and $.Values.global $.Values.global.containerSecurityContext }}
91-
securityContext:
92-
{{- toYaml $.Values.global.containerSecurityContext | nindent 14 }}
93-
{{- end }}
81+
{{- include "common.containerSecurityContext" (dict "containerSecurityContext" $.Values.components.chartSync.containerSecurityContext "global" $.Values.global) | indent 12 }}
9482
env:
9583
- name: PG_ADDR
9684
value: postgresql-postgresql.devtroncd

charts/devtron/templates/casbin.yaml

+2-1
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ spec:
3131
{{- if .imagePullPolicy }}
3232
imagePullPolicy: {{ .imagePullPolicy }}
3333
{{- end }}
34+
{{- include "common.containerSecurityContext" (dict "containerSecurityContext" $.Values.devtronEnterprise.casbin.containerSecurityContext "global" $.Values.global) | indent 10 }}
3435
env:
3536
- name: DEVTRON_APP_NAME
3637
value: casbin
@@ -124,4 +125,4 @@ spec:
124125
release: casbin
125126
type: ClusterIP
126127
{{- end}}
127-
{{- end}}
128+
{{- end}}

charts/devtron/templates/devtron.yaml

+5-8
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ metadata:
1010
annotations:
1111
"helm.sh/resource-policy": keep
1212
data:
13+
DEVTRON_HELM_RELEASE_NAME: {{ $.Release.Name }}
14+
DEVTRON_HELM_RELEASE_NAMESPACE: {{ $.Release.Namespace }}
15+
FEATURE_MIGRATE_ARGOCD_APPLICATION_ENABLE: "true"
1316
PG_USER: postgres
1417
PG_ADDR: postgresql-postgresql.devtroncd
1518
PG_PORT: "5432"
@@ -246,10 +249,7 @@ spec:
246249
- configMap:
247250
name: devtron-cluster-components
248251
name: devtron-cluster-components-vol
249-
{{- if and $.Values.global $.Values.global.podSecurityContext }}
250-
securityContext:
251-
{{- toYaml $.Values.global.podSecurityContext | nindent 8 }}
252-
{{- end }}
252+
{{- include "common.podSecurityContext" (dict "podSecurityContext" $.Values.components.devtron.podSecurityContext "global" $.Values.global) | indent 6 }}
253253
containers:
254254
- name: devtron
255255
{{- if $.Values.installer.modules }}
@@ -262,10 +262,7 @@ spec:
262262
image: {{ include "common.image" (dict "component" $.Values.components.devtron "global" $.Values.global) }}
263263
{{- end }}
264264
imagePullPolicy: {{ .imagePullPolicy }}
265-
{{- if and $.Values.global $.Values.global.containerSecurityContext }}
266-
securityContext:
267-
{{- toYaml $.Values.global.containerSecurityContext | nindent 12 }}
268-
{{- end }}
265+
{{- include "common.containerSecurityContext" (dict "containerSecurityContext" $.Values.components.devtron.containerSecurityContext "global" $.Values.global) | indent 10 }}
269266
lifecycle:
270267
preStop:
271268
exec:

charts/devtron/templates/kubelink.yaml

+2-8
Original file line numberDiff line numberDiff line change
@@ -61,18 +61,12 @@ spec:
6161
terminationGracePeriodSeconds: 30
6262
restartPolicy: Always
6363
serviceAccount: devtron
64-
{{- if and $.Values.global $.Values.global.podSecurityContext }}
65-
securityContext:
66-
{{- toYaml $.Values.global.podSecurityContext | nindent 8 }}
67-
{{- end }}
64+
{{- include "common.podSecurityContext" (dict "podSecurityContext" $.Values.components.kubelink.podSecurityContext "global" $.Values.global) | indent 6 }}
6865
containers:
6966
- name: kubelink
7067
image: {{ include "common.image" (dict "component" $.Values.components.kubelink "global" $.Values.global ) }}
7168
imagePullPolicy: {{ .imagePullPolicy }}
72-
{{- if and $.Values.global $.Values.global.containerSecurityContext }}
73-
securityContext:
74-
{{- toYaml $.Values.global.containerSecurityContext | nindent 12 }}
75-
{{- end }}
69+
{{- include "common.containerSecurityContext" (dict "containerSecurityContext" $.Values.components.kubelink.containerSecurityContext "global" $.Values.global) | indent 10 }}
7670
ports:
7771
- name: app
7872
containerPort: 50051

0 commit comments

Comments
 (0)