Skip to content

Commit 7c24ba7

Browse files
authored
Merge branch 'main' into april-docup
2 parents 4d87b42 + 22f4428 commit 7c24ba7

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

55 files changed

+1129
-410
lines changed

CHANGELOG/release-notes-v0.6.29.md

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
## v0.6.29
2+
3+
4+
5+
## Bugs
6+
- fix: removed unused dependency (#4916)
7+
- fix: release not found alert (#4928)
8+
- fix: link external helm app to chart store (#4919)
9+
- fix: Corrected the error of fetching app name and pipeline name from CI_CD_EVENT (#4911)
10+
- fix:job name support added in input variables (#4863)
11+
- fix:duplicate workflow name fixed (#4841)
12+
- fix: deprecate latest in app store app version (#4896)
13+
- fix: rbac fix in case of project in upper case (#4840)
14+
- fix: use join cookie logic to extract token (#4892)
15+
- fix: chart sync job optimisation (#4631)
16+
- fix: depandabot version upgrade (#4792)
17+
- fix: injected app-serveice dependency into DeployedApplicationEventProcessor service (#4875)
18+
- fix: update argo app repo url in patch (#4876)
19+
- fix: removed code for gitops repo migration in devtron apps (#4838)
20+
- fix: return nil,err on git material fetch error (#4857)
21+
- fix: ns not found in case ips is being injected in cluster (in global config) (#4844)
22+
- fix: helm deployments stucked in queued for devtron apps (#4842)
23+
- fix: panic on re-trigger ci if pod deleted on BuildTriggerObject (#4826)
24+
- fix: hide ldap creds in in get req (#4788)
25+
- fix: 5xx 4.0 iter (#4620)
26+
- fix: rolefilters correction with all applications and particular application selected. (#4820)
27+
- fix: extra check added for mono-repo migraiton (#4764)
28+
- fix: trim space from git repo Url on create and update material (#4787)
29+
## Enhancements
30+
- perf: memory optimizations and prom metrics on terminal session exposed (#4909)
31+
- feat: Added the Devtron CI Trigger Plugin (#4908)
32+
- feat:MailMaster Plugin v1.0 (#4825)
33+
- feat: Add support for git hash in the app and app group overview section _revised (#4836)
34+
- feat:Github Pull Request Closer (#4833)
35+
- feat: Added Apply job in k8s plugin (#4828)
36+
- feat: Branch Divergence Checker Plugin (#4806)
37+
- feat: added request method in audit logger (#4817)
38+
- feat: active inactive user phase 3 (#4649)
39+
## Documentation
40+
- doc: Added EnvVariablesFromFieldPath in Deployment Template (#4852)
41+
## Others
42+
- chore: migration support for notification db changes (#4906)
43+
- chore: App Store refactoring v4 (#4647)
44+
- chore: Resource mapping refactoring (#4813)
45+
- misc: Refactoring Pagerduty Issue Calculator script (#4856)
46+
- misc: Update github_pagerduty_score_calculation.yml (#4853)
47+
- misc: Update pager-duty.yaml (#4850)
48+
- misc: Pagerduty issue template change (#4796)
49+
- chore: Image scanning refactoring (#4802)
50+
- chore: refactoring v4 (#4775)
51+
52+

Makefile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!make
22

3-
all: build
3+
all: fetch-all-env build
44

55
TAG?=$(shell bash -c 'git log --pretty=format:'%h' -n 1')
66
FLAGS=
@@ -63,3 +63,7 @@ build-all: build
6363

6464
build-ea:
6565
make --directory ./cmd/external-app build
66+
67+
68+
fetch-all-env:
69+
go run fetchAllEnv/fetchAllEnv.go

api/bean/AppView.go

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,9 @@ type AppEnvironmentContainer struct {
144144
type DeploymentDetailContainer struct {
145145
InstalledAppId int `json:"installedAppId,omitempty"`
146146
AppId int `json:"appId,omitempty"`
147+
CdPipelineId int `json:"cdPipelineId,omitempty"`
148+
TriggerType string `json:"triggerType,omitempty"`
149+
ParentEnvironmentName string `json:"parentEnvironmentName"`
147150
AppStoreInstalledAppVersionId int `json:"appStoreInstalledAppVersionId,omitempty"`
148151
AppStoreChartName string `json:"appStoreChartName,omitempty"`
149152
AppStoreChartId int `json:"appStoreChartId,omitempty"`
@@ -169,7 +172,7 @@ type DeploymentDetailContainer struct {
169172
ParentArtifactId int `json:"parentArtifactId"`
170173
ClusterId int `json:"clusterId"`
171174
DeploymentAppType string `json:"deploymentAppType"`
172-
CiPipelineId int `json:"-"`
175+
CiPipelineId int `json:"ciPipelineId,omitempty"`
173176
IsExternalCi bool `json:"externalCi"`
174177
ClusterName string `json:"clusterName,omitempty"`
175178
DockerRegistryId string `json:"dockerRegistryId,omitempty"`

charts/devtron/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
apiVersion: v2
22
name: devtron-operator
3-
appVersion: 0.6.28
3+
appVersion: 0.6.29
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.70
14+
version: 0.22.71
1515
sources:
1616
- https://github.com/devtron-labs/charts
1717
dependencies:

charts/devtron/devtron-bom.yaml

Lines changed: 99 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,15 @@ global:
77
allowPrivilegeEscalation: false
88
runAsUser: 1000
99
runAsNonRoot: true
10+
containerRegistry: "quay.io/devtron"
1011

1112
installer:
12-
release: "v0.6.28"
13-
image: "quay.io/devtron/inception"
13+
release: "v0.6.29"
14+
registry: ""
15+
image: "inception"
1416
tag: "473deaa4-185-21582"
15-
1617
components:
1718
dashboard:
18-
image: "quay.io/devtron/dashboard:9429b066-325-21529"
1919
config:
2020
extraConfigs:
2121
USE_V2: "true"
@@ -27,17 +27,35 @@ components:
2727
GLOBAL_API_TIMEOUT: "60000"
2828
TRIGGER_API_TIMEOUT: "60000"
2929
ENABLE_EXTERNAL_ARGO_CD: "false"
30+
SERVICE_WORKER_TIMEOUT: "1"
31+
API_BATCH_SIZE: "30"
32+
registry: ""
33+
image: "dashboard:1c86e84e-325-22108"
34+
imagePullPolicy: IfNotPresent
35+
3036
devtron:
31-
image: "quay.io/devtron/hyperion:ca439071-280-21596"
32-
cicdImage: "quay.io/devtron/devtron:ca439071-434-21597"
33-
customOverrides:
34-
DEFAULT_CI_IMAGE: "quay.io/devtron/ci-runner:d5f875c7-138-21576"
37+
registry: ""
38+
image: "hyperion:e7f34f5a-280-22107"
39+
cicdImage: "devtron:e7f34f5a-434-22106"
40+
imagePullPolicy: IfNotPresent
41+
customOverrides: {}
42+
43+
ciRunner:
44+
registry: ""
45+
image: "ci-runner:f5614d79-541-22176"
46+
47+
3548
argocdDexServer:
36-
image: "ghcr.io/dexidp/dex:v2.30.2"
49+
registry: ""
50+
image: "dex:v2.30.2"
51+
imagePullPolicy: IfNotPresent
3752
initContainer:
38-
authenticator: "quay.io/devtron/authenticator:e414faff-393-13273"
53+
authenticator: "authenticator:e414faff-393-13273"
54+
3955
kubelink:
40-
image: "quay.io/devtron/kubelink:7c66e0fc-564-21516"
56+
registry: ""
57+
image: "kubelink:2610ac5a-564-22109"
58+
imagePullPolicy: IfNotPresent
4159
configs:
4260
ENABLE_HELM_RELEASE_CACHE: "true"
4361
MANIFEST_FETCH_BATCH_SIZE: "2"
@@ -51,21 +69,31 @@ components:
5169
dbconfig:
5270
secretName: postgresql-postgresql
5371
keyName: postgresql-password
72+
5473
kubewatch:
55-
image: "quay.io/devtron/kubewatch:91c2cece-419-21178"
74+
registry: ""
75+
image: "kubewatch:50d4d32d-419-22116"
5676
imagePullPolicy: IfNotPresent
5777
configs:
5878
devtroncd_NAMESPACE: "devtron-ci"
5979
CI_INFORMER: "true"
6080
ACD_NAMESPACE: "devtroncd"
6181
ACD_INFORMER: "true"
6282
NATS_STREAM_MAX_AGE: "10800"
83+
6384
postgres:
64-
image: "quay.io/devtron/postgres:11.9.0-debian-10-r26"
65-
armImage: "quay.io/devtron/postgres:11.9"
66-
gitsensor:
67-
image: "quay.io/devtron/git-sensor:4bacf5f7-200-21575"
85+
registry: ""
86+
image: "postgres:11.9.0-debian-10-r26"
87+
armImage: "postgres:11.9"
88+
initImage: "minideb:latest"
6889
imagePullPolicy: "IfNotPresent"
90+
metrics:
91+
image: postgres_exporter:v0.4.7
92+
armImage: postgres_exporter:v0.10.1
93+
gitsensor:
94+
registry: ""
95+
image: "git-sensor:8545feb5-200-22005"
96+
imagePullPolicy: IfNotPresent
6997
serviceMonitor:
7098
enabled: false
7199
persistence:
@@ -79,8 +107,10 @@ components:
79107
dbconfig:
80108
secretName: postgresql-postgresql
81109
keyName: postgresql-password
82-
lens:
83-
image: "quay.io/devtron/lens:70577aaa-333-21179"
110+
# Values for lens
111+
lens:
112+
registry: ""
113+
image: "lens:70577aaa-333-21179"
84114
imagePullPolicy: IfNotPresent
85115
configs:
86116
GIT_SENSOR_PROTOCOL: GRPC
@@ -93,21 +123,27 @@ components:
93123
dbconfig:
94124
secretName: postgresql-postgresql
95125
keyName: postgresql-password
126+
# Change below values for nats
96127
nats:
128+
registry: ""
97129
image: nats:2.9.3-alpine
98-
imagePullPolicy: IfNotPresent
99130
reloader:
100-
image: quay.io/devtron/nats-server-config-reloader:0.6.2
131+
image: nats-server-config-reloader:0.6.2
101132
imagePullPolicy: IfNotPresent
102133
metrics:
103-
image: quay.io/devtron/prometheus-nats-exporter:0.9.0
134+
image: prometheus-nats-exporter:0.9.0
104135
imagePullPolicy: IfNotPresent
136+
natsBox:
137+
image: nats-box
105138
serviceMonitor:
106139
enabled: false
107140
persistence:
108141
storage: 5Gi
109142
migrator:
110-
image: "quay.io/devtron/migrator:v4.16.2"
143+
registry: ""
144+
image: "migrator:v4.16.2"
145+
kubectlImage: "kubectl:latest"
146+
duplicateChartImage: devtron-utils:dup-chart-repo-v1.1.0
111147
envVars:
112148
devtron:
113149
DB_NAME: "orchestrator"
@@ -117,21 +153,54 @@ components:
117153
DB_NAME: "git_sensor"
118154
lens:
119155
DB_NAME: "lens"
120-
156+
157+
chartSync:
158+
registry: ""
159+
image: chart-sync:d0dcc590-373-21074
160+
161+
# values for argocd integration
121162
argo-cd:
122163
global:
123164
image:
165+
# -- If defined, a repository applied to all Argo CD deployments
124166
repository: quay.io/argoproj/argocd
167+
# -- Overrides the global Argo CD image tag whose default is the chart appVersion
125168
tag: "v2.5.2"
169+
# -- If defined, a imagePullPolicy applied to all Argo CD deployments
126170
imagePullPolicy: IfNotPresent
127-
171+
# Change below values for workflow controller
128172
workflowController:
129-
image: "quay.io/argoproj/workflow-controller:v3.4.3"
130-
executorImage: "quay.io/argoproj/argoexec:v3.4.3"
131-
173+
registry: "quay.io/argoproj"
174+
image: "workflow-controller:v3.4.3"
175+
executorImage: "argoexec:v3.4.3"
176+
IMDSv1Image: "workflow-controller:v3.0.7"
177+
IMDSv1ExecutorImage: "argoexec:v3.0.7"
132178
security:
133179
imageScanner:
134-
image: "quay.io/devtron/image-scanner:bdbcef05-334-21577"
135-
180+
image: "image-scanner:c0416bc2-334-22111"
181+
clair:
182+
image:
183+
repository: clair
184+
tag: 4.3.6
185+
# Values for notifier integration
136186
notifier:
137-
image: "quay.io/devtron/notifier:e4ffc71a-372-20776"
187+
image: "notifier:924a17f6-372-22110"
188+
minio:
189+
image: "minio:RELEASE.2021-02-14T04-01-33Z"
190+
mbImage: "minio-mc:RELEASE.2021-02-14T04-28-06Z"
191+
gatewayImage: "minio:RELEASE.2020-12-03T05-49-24Z"
192+
193+
# Values for grafana integration
194+
monitoring:
195+
grafana:
196+
registry: ""
197+
image: "grafana:7.3.1"
198+
busyboxImage: "busybox:1.31.1"
199+
batsImage: "bats:v1.4.1"
200+
imagePullPolicy: IfNotPresent
201+
grafanaOrgJob:
202+
curlImage: k8s-utils:tutum-curl
203+
grafanaDashboards:
204+
image: "k8s-sidecar:1.1.0"
205+
curlImage: "curl:7.73.0"
206+
imagePullPolicy: IfNotPresent

charts/devtron/templates/_helpers.tpl

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,36 @@ it randomly.
1818
{{- randAlphaNum $len -}}
1919
{{- end -}}
2020
{{- end }}
21+
22+
23+
{{/*
24+
Return full image
25+
{{ include "common.image" ( dict "component" .Values.path.to.the.component "global" .Values.global .extraImage .extraImageTag .extraImageDigest ) }}
26+
*/}}
27+
{{- define "common.image" -}}
28+
{{- $registryName := .component.registry | default .global.containerRegistry -}}
29+
{{- $imageName := .extraImage | default .component.image -}}
30+
{{- $imageTag := .extraImageTag | default .component.tag -}}
31+
{{- $imageDigest := .extraImageDigest | default .component.digest -}}
32+
{{- if $registryName }}
33+
{{- if and $imageTag $imageDigest }}
34+
{{- printf "%s/%s@%s" $registryName $imageName $imageDigest -}}
35+
{{- else if $imageTag }}
36+
{{- printf "%s/%s:%s" $registryName $imageName $imageTag -}}
37+
{{- else if $imageDigest }}
38+
{{- printf "%s/%s@%s" $registryName $imageName $imageDigest -}}
39+
{{- else }}
40+
{{- printf "%s/%s" $registryName $imageName -}}
41+
{{- end }}
42+
{{- else -}}
43+
{{- if and $imageTag $imageDigest }}
44+
{{- printf "%s@%s" $imageName $imageDigest -}}
45+
{{- else if $imageTag }}
46+
{{- printf "%s:%s" $imageName $imageTag -}}
47+
{{- else if $imageDigest }}
48+
{{- printf "%s@%s" $imageName $imageDigest -}}
49+
{{- else }}
50+
{{- printf "%s" $imageName -}}
51+
{{- end }}
52+
{{- end -}}
53+
{{- end -}}

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ spec:
1313
serviceAccountName: devtron
1414
initContainers:
1515
- name: migration-wait
16-
image: "quay.io/devtron/kubectl:latest"
16+
image: {{ include "common.image" (dict "component" $.Values.components.migrator "global" $.Values.global "extraImage" $.Values.components.migrator.kubectlImage ) }}
1717
command: ['sh', '-c', 'while [ ! $(kubectl -n devtroncd get $(kubectl -n devtroncd get job -l job=postgresql-migrate-devtron -o name) -o jsonpath="{.status.succeeded}") ]; do sleep 10; done']
1818
{{- if .Values.components.migrator }}
1919
{{- if .Values.components.migrator.appSync }}
@@ -31,7 +31,7 @@ spec:
3131
{{- end }}
3232
containers:
3333
- name: chart-sync
34-
image: quay.io/devtron/chart-sync:d0dcc590-373-21074
34+
image: {{ include "common.image" (dict "component" $.Values.components.chartSync "global" $.Values.global ) }}
3535
{{- if and $.Values.global $.Values.global.containerSecurityContext }}
3636
securityContext:
3737
{{- toYaml $.Values.global.containerSecurityContext | nindent 10 }}
@@ -80,7 +80,7 @@ spec:
8080
{{- end }}
8181
containers:
8282
- name: chart-sync
83-
image: quay.io/devtron/chart-sync:d0dcc590-373-21074
83+
image: {{ include "common.image" (dict "component" $.Values.components.chartSync "global" $.Values.global ) }}
8484
{{- if and $.Values.global $.Values.global.containerSecurityContext }}
8585
securityContext:
8686
{{- toYaml $.Values.global.containerSecurityContext | nindent 14 }}

charts/devtron/templates/dashboard.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ spec:
7979
{{- end }}
8080
containers:
8181
- name: dashboard
82-
image: {{ .image }}
82+
image: {{ include "common.image" (dict "component" $.Values.components.dashboard "global" $.Values.global) }}
8383
imagePullPolicy: {{ .imagePullPolicy }}
8484
{{- if and $.Values.global $.Values.global.containerSecurityContext }}
8585
securityContext:

0 commit comments

Comments
 (0)