Skip to content

Commit de65da9

Browse files
systemsdtakshatsinha007pawan-mehta-dtprakarsh-dt
authored
release: PR for v1.3.0 (#6409)
* 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 latest image of kubewatch in installer * Updated latest image of kubelink in installer * Updated latest image of devtron 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 image-scanner in installer * Updated latest image of notifier in installer * Update release.txt * Updated release notes * Updated latest image of chart-sync in installer * Updated latest image of hyperion in installer * Updated latest image of hyperion in installer * Updated latest image of devtron in installer * Updated release notes * Updated release notes * Added Storage class and global config * added yamls * added postgres configs to kubewatch * removed double quotes from configmap * removed double quotes from configmap * updated yamls * Update beta-releasenotes.md * Update networkpolicies.yaml * Update grafana.yaml * Update workflow.yaml * Updated release notes * Update _helpers.tpl * Update grafana.yaml * Update nats-server.yaml * Update _helpers.tpl * Update grafana.yaml * Update grafana.yaml * Update _helpers.tpl * Update release.txt * Updated release-notes files --------- Co-authored-by: akshatsinha007 <[email protected]> Co-authored-by: akshatsinha007 <[email protected]> Co-authored-by: Pawan Mehta <[email protected]> Co-authored-by: ReleaseBot <[email protected]>
1 parent e67c3b7 commit de65da9

38 files changed

+540
-52
lines changed

CHANGELOG/release-notes-v1.3.0.md

+37
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
## v1.3.0
2+
3+
## Bugs
4+
- fix: panic fixes (#6411)
5+
- fix: auto pre-cd not getting triggered (if cd is manual) after webhook ci event is captured (#6407)
6+
- fix: Base update (#6405)
7+
- fix: devtron apps deployed via helm showing in helm apps list (#6397)
8+
- fix: when a helm app is managed by argocd then skip argo app update when same name ext helm app is installed (#6389)
9+
- fix: upgraded to go-git/v5 v5.13.0 (#6388)
10+
- fix: fix for ci cd workflow fake success status and multiple post/pre cd success notifications (#6370)
11+
- fix: fix for while cloning app or workflow when external secret is present in any pipeline then that pipeline is not cloned (#6368)
12+
- fix: fix for while cloning app or workflow when external secret is present in any pipeline then that pipeline is not cloned (#6366)
13+
- fix: buildx driver opt using k8s driver even if not enabled (#6349)
14+
- fix: Auto trigger even if pre-cd fails (#6338)
15+
- fix: role group listing fix (#6343)
16+
- fix: sql injection fixes (#6334)
17+
- fix: role group k8s permissions duplication (#6336)
18+
## Enhancements
19+
- feat: hibernate devtron app (#6356)
20+
- feat: separate build worker status timeline (#6320)
21+
- feat: send notification with chosen config (#6331)
22+
- feat: sql script changes for operation audit (#6342)
23+
## Documentation
24+
- doc: updated devtron user list in users.md (#6363)
25+
## Others
26+
- misc: pipeline listing in app Group (#6410)
27+
- misc: Notif back com (#6398)
28+
- sync: Main sync develop (#6396)
29+
- sync: vendor update on release 29 (#6395)
30+
- sync: Release candidate v0.29.0 (#6394)
31+
- sync: Main sync develop (#6375)
32+
- misc: common-lib change (#6347)
33+
- sync: Release candidate v0.28.0 (#6340)
34+
- misc: Fix typo: Cronjob → CronJob (#6335)
35+
- sync: Main sync develop (#6358)
36+
37+

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.2.2
3+
appVersion: 1.3.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.82
14+
version: 0.22.83
1515
sources:
1616
- https://github.com/devtron-labs/charts
1717
dependencies:

charts/devtron/devtron-bom.yaml

+20-12
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.2.2"
13+
release: "v1.3.0"
1414
registry: ""
1515
image: "inception"
1616
tag: "473deaa4-185-21582"
@@ -34,17 +34,17 @@ components:
3434
FEATURE_USER_DEFINED_GITOPS_REPO_ENABLE: "true"
3535
ENABLE_RESOURCE_SCAN: "true"
3636
registry: ""
37-
image: "dashboard:4eb1a17a-690-28956"
37+
image: "dashboard:1c40d516-690-30089"
3838
imagePullPolicy: IfNotPresent
3939
devtron:
4040
registry: ""
41-
image: "hyperion:a9968961-280-29449"
42-
cicdImage: "devtron:a9968961-434-29448"
41+
image: "hyperion:e67c3b76-280-30100"
42+
cicdImage: "devtron:e67c3b76-434-30101"
4343
imagePullPolicy: IfNotPresent
4444
customOverrides: {}
4545
ciRunner:
4646
registry: ""
47-
image: "ci-runner:343b24f5-138-29387"
47+
image: "ci-runner:0dde3b1a-138-30091"
4848
argocdDexServer:
4949
registry: ""
5050
image: "dex:v2.30.2"
@@ -53,7 +53,7 @@ components:
5353
authenticator: "authenticator:e414faff-393-13273"
5454
kubelink:
5555
registry: ""
56-
image: "kubelink:0a3d5e84-564-28948"
56+
image: "kubelink:0dde3b1a-564-30082"
5757
imagePullPolicy: IfNotPresent
5858
configs:
5959
ENABLE_HELM_RELEASE_CACHE: "true"
@@ -71,7 +71,7 @@ components:
7171
keyName: postgresql-password
7272
kubewatch:
7373
registry: ""
74-
image: "kubewatch:0a3d5e84-419-28949"
74+
image: "kubewatch:0dde3b1a-419-30080"
7575
imagePullPolicy: IfNotPresent
7676
configs:
7777
devtroncd_NAMESPACE: "devtron-ci"
@@ -80,6 +80,14 @@ components:
8080
ACD_NAMESPACE: "devtroncd"
8181
ACD_INFORMER: "true"
8282
NATS_STREAM_MAX_AGE: "10800"
83+
PG_ADDR: postgresql-postgresql.devtroncd
84+
PG_DATABASE: orchestrator
85+
PG_LOG_QUERY: "true"
86+
PG_PORT: "5432"
87+
PG_USER: postgres
88+
dbconfig:
89+
secretName: postgresql-postgresql
90+
keyName: postgresql-password
8391
postgres:
8492
registry: ""
8593
image: "postgres:11.9.0-debian-10-r26"
@@ -91,7 +99,7 @@ components:
9199
armImage: postgres_exporter:v0.10.1
92100
gitsensor:
93101
registry: ""
94-
image: "git-sensor:0a3d5e84-200-28960"
102+
image: "git-sensor:0dde3b1a-200-30085"
95103
imagePullPolicy: IfNotPresent
96104
serviceMonitor:
97105
enabled: false
@@ -109,7 +117,7 @@ components:
109117
# Values for lens
110118
lens:
111119
registry: ""
112-
image: "lens:0a3d5e84-333-28951"
120+
image: "lens:0dde3b1a-333-30090"
113121
imagePullPolicy: IfNotPresent
114122
configs:
115123
GIT_SENSOR_PROTOCOL: GRPC
@@ -154,7 +162,7 @@ components:
154162
DB_NAME: "lens"
155163
chartSync:
156164
registry: ""
157-
image: chart-sync:0a3d5e84-836-28979
165+
image: chart-sync:0dde3b1a-836-30095
158166
schedule: "0 19 * * *"
159167
extraConfigs: {}
160168
# values for argocd integration
@@ -176,7 +184,7 @@ workflowController:
176184
IMDSv1ExecutorImage: "argoexec:v3.0.7"
177185
security:
178186
imageScanner:
179-
image: "image-scanner:0a3d5e84-141-28953"
187+
image: "image-scanner:0dde3b1a-141-30093"
180188
configs:
181189
TRIVY_DB_REPOSITORY: mirror.gcr.io/aquasec/trivy-db
182190
TRIVY_JAVA_DB_REPOSITORY: mirror.gcr.io/aquasec/trivy-java-db
@@ -186,7 +194,7 @@ security:
186194
tag: 4.3.6
187195
# Values for notifier integration
188196
notifier:
189-
image: "notifier:9aa5e510-372-28961"
197+
image: "notifier:5e9c010b-372-30094"
190198
minio:
191199
image: "minio:RELEASE.2021-02-14T04-01-33Z"
192200
mbImage: "minio-mc:RELEASE.2021-02-14T04-28-06Z"

charts/devtron/templates/_helpers.tpl

+12-2
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ it randomly.
1010
{{- define "getOrGeneratePass" }}
1111
{{- $len := (default 32 .Length) | int -}}
1212
{{- $obj := (lookup "v1" .Kind .Namespace .Name).data -}}
13-
{{- if $obj }}
13+
{{- if and ($obj) (index $obj .Key) }}
1414
{{- index $obj .Key -}}
1515
{{- else if (eq (lower .Kind) "secret") -}}
1616
{{- randAlphaNum $len | b64enc -}}
@@ -85,4 +85,14 @@ Return full image
8585
{{- printf "%s" $imageName -}}
8686
{{- end }}
8787
{{- end -}}
88-
{{- end -}}
88+
{{- end -}}
89+
90+
{{/*
91+
Get the storage class name.
92+
If storageClass is defined in values.yaml under global.storageClass, use that.
93+
*/}}
94+
{{- define "common.storageclass" -}}
95+
{{- if $.Values.global.storageClass }}
96+
storageClassName: {{ $.Values.global.storageClass }}
97+
{{- end }}
98+
{{- end -}}

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

+4
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,8 @@ spec:
4747
envFrom:
4848
- secretRef:
4949
name: devtron-secret
50+
- configMapRef:
51+
name: devtron-common-cm
5052
{{- if .Values.components.migrator }}
5153
{{- if .Values.components.migrator.appSync }}
5254
{{- if .Values.components.migrator.appSync.resources }}
@@ -101,6 +103,8 @@ spec:
101103
name: devtron-secret
102104
- configMapRef:
103105
name: app-sync-cm
106+
- configMapRef:
107+
name: devtron-common-cm
104108
{{- if .Values.components.migrator }}
105109
{{- if .Values.components.migrator.appSync }}
106110
{{- if .Values.components.migrator.appSync.resources }}

charts/devtron/templates/casbin.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@ spec:
4848
envFrom:
4949
- configMapRef:
5050
name: casbin-cm
51+
- configMapRef:
52+
name: devtron-common-cm
5153
livenessProbe:
5254
failureThreshold: 3
5355
httpGet:

charts/devtron/templates/configmap-secret.yaml

+30-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
{{- $minioAccessKey := include "getOrGeneratePass" (dict "Namespace" "devtroncd" "Kind" "Secret" "Name" "devtron-minio" "Key" "accesskey") }}
33
{{- $minioSecretKey := include "getOrGeneratePass" (dict "Namespace" "devtroncd" "Kind" "Secret" "Name" "devtron-minio" "Key" "secretkey") }}
44
{{- $EXTERNAL_CI_API_SECRET := include "getOrGeneratePass" (dict "Namespace" "devtroncd" "Kind" "Secret" "Name" "devtron-secret" "Key" "EXTERNAL_CI_API_SECRET") }}
5-
{{- $ORCH_TOKEN := include "getOrGeneratePass" (dict "Namespace" "devtroncd" "Kind" "Secret" "Name" "devtron-secret" "Key" "ORCH_TOKEN") }}
5+
{{- $ORCH_TOKEN := include "getOrGeneratePass" (dict "Namespace" "devtroncd" "Kind" "Secret" "Name" "devtron-custom-secret" "Key" "ORCH_TOKEN") }}
66
{{- $DEX_SECRET := include "getOrGeneratePass" (dict "Namespace" "devtroncd" "Kind" "Secret" "Name" "devtron-secret" "Key" "DEX_SECRET") }}
77
{{- $DEX_JWTKEY := include "getOrGeneratePass" (dict "Namespace" "devtroncd" "Kind" "Secret" "Name" "devtron-secret" "Key" "DEX_JWTKEY") }}
88
{{- $DEX_CSTOREKEY := include "getOrGeneratePass" (dict "Namespace" "devtroncd" "Kind" "Secret" "Name" "devtron-secret" "Key" "DEX_CSTOREKEY") }}
@@ -247,7 +247,6 @@ data:
247247
PG_PASSWORD: {{ $postgresPwd }}
248248
{{- if $.Values.installer.modules }}
249249
{{- if has "cicd" $.Values.installer.modules }}
250-
ORCH_TOKEN: {{ $ORCH_TOKEN }}
251250
EXTERNAL_CI_API_SECRET: {{ $EXTERNAL_CI_API_SECRET }}
252251
WEBHOOK_TOKEN: {{ $WEBHOOK_TOKEN }}
253252
DEX_SECRET: {{ $DEX_SECRET }}
@@ -266,6 +265,7 @@ metadata:
266265
annotations:
267266
"helm.sh/hook": pre-install, pre-upgrade
268267
data:
268+
ORCH_TOKEN: {{ $ORCH_TOKEN }}
269269
{{- if $.Values.installer.modules }}
270270
{{- if has "cicd" $.Values.installer.modules }}
271271
{{- if and ($.Values.minio.enabled) (not $.Values.configs.BLOB_STORAGE_PROVIDER) }}
@@ -289,6 +289,34 @@ data:
289289
{{- end }}
290290
{{- end }}
291291
type: Opaque
292+
---
293+
apiVersion: v1
294+
kind: ConfigMap
295+
metadata:
296+
name: devtron-common-cm
297+
namespace: devtroncd
298+
labels:
299+
release: devtron
300+
annotations:
301+
"helm.sh/resource-policy": keep
302+
data:
303+
{{- if $.Values.global.configs }}
304+
{{- toYaml $.Values.global.configs | nindent 2 }}
305+
{{- end }}
306+
---
307+
apiVersion: v1
308+
kind: ConfigMap
309+
metadata:
310+
name: devtron-common-cm
311+
namespace: argo
312+
labels:
313+
release: devtron
314+
annotations:
315+
"helm.sh/resource-policy": keep
316+
data:
317+
{{- if $.Values.global.configs }}
318+
{{- toYaml $.Values.global.configs | nindent 2 }}
319+
{{- end }}
292320

293321
{{- if $.Values.imagePullSecret }}
294322
{{- if $.Values.imagePullSecret.create }}

charts/devtron/templates/dashboard.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,8 @@ spec:
103103
name: dashboard-cm
104104
- secretRef:
105105
name: devtron-dashboard-secret
106+
- configMapRef:
107+
name: devtron-common-cm
106108
volumeMounts: []
107109
{{- if .resources }}
108110
resources:

charts/devtron/templates/devtron.yaml

+6-4
Original file line numberDiff line numberDiff line change
@@ -287,13 +287,15 @@ spec:
287287
fieldPath: metadata.name
288288
envFrom:
289289
- configMapRef:
290-
name: "devtron-cm"
290+
name: devtron-cm
291291
- secretRef:
292-
name: "devtron-secret"
292+
name: devtron-secret
293293
- configMapRef:
294-
name: "devtron-custom-cm"
294+
name: devtron-custom-cm
295295
- secretRef:
296-
name: "devtron-custom-secret"
296+
name: devtron-custom-secret
297+
- configMapRef:
298+
name: devtron-common-cm
297299
volumeMounts:
298300
- mountPath: /cluster/component
299301
name: devtron-cluster-components-vol

charts/devtron/templates/dex.yaml

+6
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,9 @@ spec:
8888
- containerPort: 5556
8989
- containerPort: 5557
9090
- containerPort: 5558
91+
envFrom:
92+
- configMapRef:
93+
name: devtron-common-cm
9194
volumeMounts:
9295
- mountPath: /shared
9396
name: static-files
@@ -108,6 +111,9 @@ spec:
108111
securityContext:
109112
{{- toYaml $.Values.global.containerSecurityContext | nindent 10 }}
110113
{{- end }}
114+
envFrom:
115+
- configMapRef:
116+
name: devtron-common-cm
111117
volumeMounts:
112118
- mountPath: /shared
113119
name: static-files

charts/devtron/templates/gitsensor.yaml

+6
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,9 @@ spec:
8484
imagePullPolicy: IfNotPresent
8585
name: chown-git-base
8686
resources: {}
87+
envFrom:
88+
- configMapRef:
89+
name: devtron-common-cm
8790
securityContext:
8891
runAsUser: 0
8992
terminationMessagePath: /dev/termination-log
@@ -128,6 +131,8 @@ spec:
128131
name: git-sensor-secret
129132
- configMapRef:
130133
name: git-sensor-cm
134+
- configMapRef:
135+
name: devtron-common-cm
131136
{{- if .resources }}
132137
resources:
133138
{{- toYaml .resources | nindent 12 }}
@@ -137,6 +142,7 @@ spec:
137142
name: git-volume
138143
spec:
139144
accessModes: [ "ReadWriteOnce" ]
145+
{{- include "common.storageclass" $ | indent 8 }}
140146
resources:
141147
requests:
142148
storage: {{ .persistence.volumeSize }}

0 commit comments

Comments
 (0)