Skip to content

release: PR for v1.3.0 #6409

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 53 commits into from
Feb 21, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
53 commits
Select commit Hold shift + click to select a range
db7b637
Updated release-notes files
systemsdt Feb 5, 2025
64b32ee
Updated release notes
systemsdt Feb 7, 2025
6f5135a
Updated release notes
systemsdt Feb 7, 2025
d0f76cb
Updated release notes
systemsdt Feb 7, 2025
0527a8b
Updated release notes
systemsdt Feb 7, 2025
66a6048
Updated release notes
systemsdt Feb 10, 2025
ef44af2
Updated release notes
systemsdt Feb 10, 2025
c96984d
Updated release notes
systemsdt Feb 10, 2025
9770042
Updated release notes
systemsdt Feb 12, 2025
c7189a6
Updated release notes
systemsdt Feb 13, 2025
f941016
Updated release notes
systemsdt Feb 13, 2025
72d2a5a
Updated release notes
systemsdt Feb 13, 2025
12cbff9
Updated release notes
systemsdt Feb 14, 2025
e1822dd
Updated release notes
systemsdt Feb 14, 2025
278f33c
Updated release notes
systemsdt Feb 14, 2025
0cb8921
Updated release notes
systemsdt Feb 20, 2025
4c7b5f9
Updated latest image of kubewatch in installer
systemsdt Feb 20, 2025
0d596a2
Updated latest image of kubelink in installer
systemsdt Feb 20, 2025
02f9865
Updated latest image of devtron in installer
systemsdt Feb 20, 2025
3132132
Updated latest image of git-sensor in installer
systemsdt Feb 20, 2025
f8093fd
Updated latest image of lens in installer
systemsdt Feb 20, 2025
a7338c4
Updated latest image of dashboard in installer
systemsdt Feb 20, 2025
1c57c8e
Updated latest image of ci-runner in installer
systemsdt Feb 20, 2025
ef9f4eb
Updated latest image of image-scanner in installer
systemsdt Feb 20, 2025
6b98fcc
Updated latest image of notifier in installer
systemsdt Feb 20, 2025
0cb4a78
Update release.txt
akshatsinha007 Feb 20, 2025
e745ace
Updated release notes
systemsdt Feb 20, 2025
2e52742
Updated latest image of chart-sync in installer
systemsdt Feb 20, 2025
f2962d6
Updated latest image of hyperion in installer
systemsdt Feb 20, 2025
59d20b5
Updated latest image of hyperion in installer
systemsdt Feb 20, 2025
c12037c
Updated latest image of devtron in installer
systemsdt Feb 20, 2025
88134a0
Updated release notes
systemsdt Feb 20, 2025
157e739
Updated release notes
systemsdt Feb 20, 2025
7790564
Added Storage class and global config
akshatsinha007 Feb 20, 2025
ad179bb
added yamls
akshatsinha007 Feb 21, 2025
744fd0a
added postgres configs to kubewatch
akshatsinha007 Feb 21, 2025
228ad57
removed double quotes from configmap
akshatsinha007 Feb 21, 2025
801c1e4
removed double quotes from configmap
akshatsinha007 Feb 21, 2025
cf557ab
updated yamls
akshatsinha007 Feb 21, 2025
2d801e5
Update beta-releasenotes.md
pawan-mehta-dt Feb 21, 2025
356e6a2
Update networkpolicies.yaml
akshatsinha007 Feb 21, 2025
69dab52
Update grafana.yaml
akshatsinha007 Feb 21, 2025
dc1baf5
Update workflow.yaml
akshatsinha007 Feb 21, 2025
5872b41
Updated release notes
systemsdt Feb 21, 2025
6836929
Update _helpers.tpl
akshatsinha007 Feb 21, 2025
a301d52
Update grafana.yaml
akshatsinha007 Feb 21, 2025
900bfdf
Update nats-server.yaml
akshatsinha007 Feb 21, 2025
e648c13
Update _helpers.tpl
akshatsinha007 Feb 21, 2025
0cd3347
Update grafana.yaml
akshatsinha007 Feb 21, 2025
acbf135
Update grafana.yaml
akshatsinha007 Feb 21, 2025
9a53410
Update _helpers.tpl
akshatsinha007 Feb 21, 2025
db7aa9b
Update release.txt
akshatsinha007 Feb 21, 2025
dd7da69
Updated release-notes files
prakarsh-dt Feb 21, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 37 additions & 0 deletions CHANGELOG/release-notes-v1.3.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
## v1.3.0

## Bugs
- fix: panic fixes (#6411)
- fix: auto pre-cd not getting triggered (if cd is manual) after webhook ci event is captured (#6407)
- fix: Base update (#6405)
- fix: devtron apps deployed via helm showing in helm apps list (#6397)
- fix: when a helm app is managed by argocd then skip argo app update when same name ext helm app is installed (#6389)
- fix: upgraded to go-git/v5 v5.13.0 (#6388)
- fix: fix for ci cd workflow fake success status and multiple post/pre cd success notifications (#6370)
- fix: fix for while cloning app or workflow when external secret is present in any pipeline then that pipeline is not cloned (#6368)
- fix: fix for while cloning app or workflow when external secret is present in any pipeline then that pipeline is not cloned (#6366)
- fix: buildx driver opt using k8s driver even if not enabled (#6349)
- fix: Auto trigger even if pre-cd fails (#6338)
- fix: role group listing fix (#6343)
- fix: sql injection fixes (#6334)
- fix: role group k8s permissions duplication (#6336)
## Enhancements
- feat: hibernate devtron app (#6356)
- feat: separate build worker status timeline (#6320)
- feat: send notification with chosen config (#6331)
- feat: sql script changes for operation audit (#6342)
## Documentation
- doc: updated devtron user list in users.md (#6363)
## Others
- misc: pipeline listing in app Group (#6410)
- misc: Notif back com (#6398)
- sync: Main sync develop (#6396)
- sync: vendor update on release 29 (#6395)
- sync: Release candidate v0.29.0 (#6394)
- sync: Main sync develop (#6375)
- misc: common-lib change (#6347)
- sync: Release candidate v0.28.0 (#6340)
- misc: Fix typo: Cronjob → CronJob (#6335)
- sync: Main sync develop (#6358)


4 changes: 2 additions & 2 deletions charts/devtron/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v2
name: devtron-operator
appVersion: 1.2.2
appVersion: 1.3.0
description: Chart to configure and install Devtron. Devtron is a Kubernetes Orchestration system.
keywords:
- Devtron
Expand All @@ -11,7 +11,7 @@ keywords:
- argocd
- Hyperion
engine: gotpl
version: 0.22.82
version: 0.22.83
sources:
- https://github.com/devtron-labs/charts
dependencies:
Expand Down
32 changes: 20 additions & 12 deletions charts/devtron/devtron-bom.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ global:
containerRegistry: "quay.io/devtron"
extraManifests: []
installer:
release: "v1.2.2"
release: "v1.3.0"
registry: ""
image: "inception"
tag: "473deaa4-185-21582"
Expand All @@ -34,17 +34,17 @@ components:
FEATURE_USER_DEFINED_GITOPS_REPO_ENABLE: "true"
ENABLE_RESOURCE_SCAN: "true"
registry: ""
image: "dashboard:4eb1a17a-690-28956"
image: "dashboard:1c40d516-690-30089"
imagePullPolicy: IfNotPresent
devtron:
registry: ""
image: "hyperion:a9968961-280-29449"
cicdImage: "devtron:a9968961-434-29448"
image: "hyperion:e67c3b76-280-30100"
cicdImage: "devtron:e67c3b76-434-30101"
imagePullPolicy: IfNotPresent
customOverrides: {}
ciRunner:
registry: ""
image: "ci-runner:343b24f5-138-29387"
image: "ci-runner:0dde3b1a-138-30091"
argocdDexServer:
registry: ""
image: "dex:v2.30.2"
Expand All @@ -53,7 +53,7 @@ components:
authenticator: "authenticator:e414faff-393-13273"
kubelink:
registry: ""
image: "kubelink:0a3d5e84-564-28948"
image: "kubelink:0dde3b1a-564-30082"
imagePullPolicy: IfNotPresent
configs:
ENABLE_HELM_RELEASE_CACHE: "true"
Expand All @@ -71,7 +71,7 @@ components:
keyName: postgresql-password
kubewatch:
registry: ""
image: "kubewatch:0a3d5e84-419-28949"
image: "kubewatch:0dde3b1a-419-30080"
imagePullPolicy: IfNotPresent
configs:
devtroncd_NAMESPACE: "devtron-ci"
Expand All @@ -80,6 +80,14 @@ components:
ACD_NAMESPACE: "devtroncd"
ACD_INFORMER: "true"
NATS_STREAM_MAX_AGE: "10800"
PG_ADDR: postgresql-postgresql.devtroncd
PG_DATABASE: orchestrator
PG_LOG_QUERY: "true"
PG_PORT: "5432"
PG_USER: postgres
dbconfig:
secretName: postgresql-postgresql
keyName: postgresql-password
postgres:
registry: ""
image: "postgres:11.9.0-debian-10-r26"
Expand All @@ -91,7 +99,7 @@ components:
armImage: postgres_exporter:v0.10.1
gitsensor:
registry: ""
image: "git-sensor:0a3d5e84-200-28960"
image: "git-sensor:0dde3b1a-200-30085"
imagePullPolicy: IfNotPresent
serviceMonitor:
enabled: false
Expand All @@ -109,7 +117,7 @@ components:
# Values for lens
lens:
registry: ""
image: "lens:0a3d5e84-333-28951"
image: "lens:0dde3b1a-333-30090"
imagePullPolicy: IfNotPresent
configs:
GIT_SENSOR_PROTOCOL: GRPC
Expand Down Expand Up @@ -154,7 +162,7 @@ components:
DB_NAME: "lens"
chartSync:
registry: ""
image: chart-sync:0a3d5e84-836-28979
image: chart-sync:0dde3b1a-836-30095
schedule: "0 19 * * *"
extraConfigs: {}
# values for argocd integration
Expand All @@ -176,7 +184,7 @@ workflowController:
IMDSv1ExecutorImage: "argoexec:v3.0.7"
security:
imageScanner:
image: "image-scanner:0a3d5e84-141-28953"
image: "image-scanner:0dde3b1a-141-30093"
configs:
TRIVY_DB_REPOSITORY: mirror.gcr.io/aquasec/trivy-db
TRIVY_JAVA_DB_REPOSITORY: mirror.gcr.io/aquasec/trivy-java-db
Expand All @@ -186,7 +194,7 @@ security:
tag: 4.3.6
# Values for notifier integration
notifier:
image: "notifier:9aa5e510-372-28961"
image: "notifier:5e9c010b-372-30094"
minio:
image: "minio:RELEASE.2021-02-14T04-01-33Z"
mbImage: "minio-mc:RELEASE.2021-02-14T04-28-06Z"
Expand Down
14 changes: 12 additions & 2 deletions charts/devtron/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ it randomly.
{{- define "getOrGeneratePass" }}
{{- $len := (default 32 .Length) | int -}}
{{- $obj := (lookup "v1" .Kind .Namespace .Name).data -}}
{{- if $obj }}
{{- if and ($obj) (index $obj .Key) }}
{{- index $obj .Key -}}
{{- else if (eq (lower .Kind) "secret") -}}
{{- randAlphaNum $len | b64enc -}}
Expand Down Expand Up @@ -85,4 +85,14 @@ Return full image
{{- printf "%s" $imageName -}}
{{- end }}
{{- end -}}
{{- end -}}
{{- end -}}

{{/*
Get the storage class name.
If storageClass is defined in values.yaml under global.storageClass, use that.
*/}}
{{- define "common.storageclass" -}}
{{- if $.Values.global.storageClass }}
storageClassName: {{ $.Values.global.storageClass }}
{{- end }}
{{- end -}}
4 changes: 4 additions & 0 deletions charts/devtron/templates/app-sync-job.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ spec:
envFrom:
- secretRef:
name: devtron-secret
- configMapRef:
name: devtron-common-cm
{{- if .Values.components.migrator }}
{{- if .Values.components.migrator.appSync }}
{{- if .Values.components.migrator.appSync.resources }}
Expand Down Expand Up @@ -101,6 +103,8 @@ spec:
name: devtron-secret
- configMapRef:
name: app-sync-cm
- configMapRef:
name: devtron-common-cm
{{- if .Values.components.migrator }}
{{- if .Values.components.migrator.appSync }}
{{- if .Values.components.migrator.appSync.resources }}
Expand Down
2 changes: 2 additions & 0 deletions charts/devtron/templates/casbin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ spec:
envFrom:
- configMapRef:
name: casbin-cm
- configMapRef:
name: devtron-common-cm
livenessProbe:
failureThreshold: 3
httpGet:
Expand Down
32 changes: 30 additions & 2 deletions charts/devtron/templates/configmap-secret.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
{{- $minioAccessKey := include "getOrGeneratePass" (dict "Namespace" "devtroncd" "Kind" "Secret" "Name" "devtron-minio" "Key" "accesskey") }}
{{- $minioSecretKey := include "getOrGeneratePass" (dict "Namespace" "devtroncd" "Kind" "Secret" "Name" "devtron-minio" "Key" "secretkey") }}
{{- $EXTERNAL_CI_API_SECRET := include "getOrGeneratePass" (dict "Namespace" "devtroncd" "Kind" "Secret" "Name" "devtron-secret" "Key" "EXTERNAL_CI_API_SECRET") }}
{{- $ORCH_TOKEN := include "getOrGeneratePass" (dict "Namespace" "devtroncd" "Kind" "Secret" "Name" "devtron-secret" "Key" "ORCH_TOKEN") }}
{{- $ORCH_TOKEN := include "getOrGeneratePass" (dict "Namespace" "devtroncd" "Kind" "Secret" "Name" "devtron-custom-secret" "Key" "ORCH_TOKEN") }}
{{- $DEX_SECRET := include "getOrGeneratePass" (dict "Namespace" "devtroncd" "Kind" "Secret" "Name" "devtron-secret" "Key" "DEX_SECRET") }}
{{- $DEX_JWTKEY := include "getOrGeneratePass" (dict "Namespace" "devtroncd" "Kind" "Secret" "Name" "devtron-secret" "Key" "DEX_JWTKEY") }}
{{- $DEX_CSTOREKEY := include "getOrGeneratePass" (dict "Namespace" "devtroncd" "Kind" "Secret" "Name" "devtron-secret" "Key" "DEX_CSTOREKEY") }}
Expand Down Expand Up @@ -247,7 +247,6 @@ data:
PG_PASSWORD: {{ $postgresPwd }}
{{- if $.Values.installer.modules }}
{{- if has "cicd" $.Values.installer.modules }}
ORCH_TOKEN: {{ $ORCH_TOKEN }}
EXTERNAL_CI_API_SECRET: {{ $EXTERNAL_CI_API_SECRET }}
WEBHOOK_TOKEN: {{ $WEBHOOK_TOKEN }}
DEX_SECRET: {{ $DEX_SECRET }}
Expand All @@ -266,6 +265,7 @@ metadata:
annotations:
"helm.sh/hook": pre-install, pre-upgrade
data:
ORCH_TOKEN: {{ $ORCH_TOKEN }}
{{- if $.Values.installer.modules }}
{{- if has "cicd" $.Values.installer.modules }}
{{- if and ($.Values.minio.enabled) (not $.Values.configs.BLOB_STORAGE_PROVIDER) }}
Expand All @@ -289,6 +289,34 @@ data:
{{- end }}
{{- end }}
type: Opaque
---
apiVersion: v1
kind: ConfigMap
metadata:
name: devtron-common-cm
namespace: devtroncd
labels:
release: devtron
annotations:
"helm.sh/resource-policy": keep
data:
{{- if $.Values.global.configs }}
{{- toYaml $.Values.global.configs | nindent 2 }}
{{- end }}
---
apiVersion: v1
kind: ConfigMap
metadata:
name: devtron-common-cm
namespace: argo
labels:
release: devtron
annotations:
"helm.sh/resource-policy": keep
data:
{{- if $.Values.global.configs }}
{{- toYaml $.Values.global.configs | nindent 2 }}
{{- end }}

{{- if $.Values.imagePullSecret }}
{{- if $.Values.imagePullSecret.create }}
Expand Down
2 changes: 2 additions & 0 deletions charts/devtron/templates/dashboard.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,8 @@ spec:
name: dashboard-cm
- secretRef:
name: devtron-dashboard-secret
- configMapRef:
name: devtron-common-cm
volumeMounts: []
{{- if .resources }}
resources:
Expand Down
10 changes: 6 additions & 4 deletions charts/devtron/templates/devtron.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -287,13 +287,15 @@ spec:
fieldPath: metadata.name
envFrom:
- configMapRef:
name: "devtron-cm"
name: devtron-cm
- secretRef:
name: "devtron-secret"
name: devtron-secret
- configMapRef:
name: "devtron-custom-cm"
name: devtron-custom-cm
- secretRef:
name: "devtron-custom-secret"
name: devtron-custom-secret
- configMapRef:
name: devtron-common-cm
volumeMounts:
- mountPath: /cluster/component
name: devtron-cluster-components-vol
Expand Down
6 changes: 6 additions & 0 deletions charts/devtron/templates/dex.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,9 @@ spec:
- containerPort: 5556
- containerPort: 5557
- containerPort: 5558
envFrom:
- configMapRef:
name: devtron-common-cm
volumeMounts:
- mountPath: /shared
name: static-files
Expand All @@ -108,6 +111,9 @@ spec:
securityContext:
{{- toYaml $.Values.global.containerSecurityContext | nindent 10 }}
{{- end }}
envFrom:
- configMapRef:
name: devtron-common-cm
volumeMounts:
- mountPath: /shared
name: static-files
Expand Down
6 changes: 6 additions & 0 deletions charts/devtron/templates/gitsensor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,9 @@ spec:
imagePullPolicy: IfNotPresent
name: chown-git-base
resources: {}
envFrom:
- configMapRef:
name: devtron-common-cm
securityContext:
runAsUser: 0
terminationMessagePath: /dev/termination-log
Expand Down Expand Up @@ -128,6 +131,8 @@ spec:
name: git-sensor-secret
- configMapRef:
name: git-sensor-cm
- configMapRef:
name: devtron-common-cm
{{- if .resources }}
resources:
{{- toYaml .resources | nindent 12 }}
Expand All @@ -137,6 +142,7 @@ spec:
name: git-volume
spec:
accessModes: [ "ReadWriteOnce" ]
{{- include "common.storageclass" $ | indent 8 }}
resources:
requests:
storage: {{ .persistence.volumeSize }}
Expand Down
Loading
Loading