Skip to content

Commit

Permalink
release: PR for v0.7.1 (#5322)
Browse files Browse the repository at this point in the history
* Updated release-notes files

* Updated release-notes files

* Updated release-notes files

* Updated release-notes files

* Updated release-notes files

* Update releasenotes.md

* Create beta-releasenotes.md

* Update beta-releasenotes.md

* 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 image-scanner in installer

* 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

* Updated release notes

* Updated release notes

* Updated release notes

* Updated latest image of image-scanner in installer

* Updated latest image of ci-runner in installer

* Updated release notes

* Updated release notes

* Updated release notes

* Updated release notes

* Updated release notes

* Updated latest image of ci-runner in installer

* Updated latest image of ci-runner in installer

* Updated release notes

* Updated release notes

* Updated release notes

* Updated release notes

* Updated release notes

* Updated release notes

* Updated release notes

* Updated release notes

* oss-chart-changes (#5453)

Co-authored-by: Akshat Sinha <[email protected]>

* Updated latest image of lens in installer

* Updated latest image of kubewatch in installer

* Updated latest image of dashboard in installer

* Updated latest image of kubelink in installer

* Updated latest image of ci-runner in installer

* Updated latest image of chart-sync in installer

* Updated latest image of git-sensor in installer

* Updated latest image of git-sensor in installer

* Updated latest image of image-scanner in installer

* Updated latest image of notifier in installer

* Update devtron-bom.yaml for notifier

* Modified bom-yaml

* Update values.yaml

* Update devtron-bom.yaml

* Updated latest image of devtron in installer

* Update release.txt

* Updated latest image of hyperion in installer

* Update values.yaml

* Add files via upload

* Update devtron-bom.yaml

* Updated release notes

* Updated serviceAccounts of cd-runner & ci-runner workflow.yaml

* Update devtron.yaml

* Update values.yaml

* Update devtron-bom.yaml

* Update devtron-bom.yaml

* Update values.yaml

* Updated release notes

* Updated release-notes files

* Update CODEOWNERS

* Update CODEOWNERS

---------

Co-authored-by: ReleaseBot <[email protected]>
Co-authored-by: Pawan Mehta <[email protected]>
Co-authored-by: akshatsinha007 <[email protected]>
Co-authored-by: Akshat Sinha <[email protected]>
Co-authored-by: Kiran Devtron <[email protected]>
  • Loading branch information
6 people authored Jul 10, 2024
1 parent 1d92b1b commit da83b85
Show file tree
Hide file tree
Showing 37 changed files with 251 additions and 169 deletions.
3 changes: 2 additions & 1 deletion .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ALL
* @vikramdevtron @kripanshdevtron @nishant-d
* @vikramdevtron @kripanshdevtron @nishant-d @prakarsh-dt

#DOCS
docs/ @ashokdevtron @uxarya-d @prakarsh-dt
Expand All @@ -8,6 +8,7 @@ docs/ @ashokdevtron @uxarya-d @prakarsh-dt
#Helm Charts
charts/devtron/ @prakarsh-dt @pawan-mehta-dt @nishant-d
scripts/devtron-reference-helm-charts @prakarsh-dt @pawan-mehta-dt @nishant-d
CHANGELOG/ @prakarsh-dt @pawan-mehta-dt @nishant-d

#Migration scripts
scripts/sql @prakarsh-dt @vikramdevtron @kripanshdevtron @nishant-d
Expand Down
59 changes: 59 additions & 0 deletions CHANGELOG/release-notes-v0.7.1.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
## v0.7.1

## Bugs
- fix: EA mode wire fix (#5462)
- fix: compare manifest fixes (#5430)
- fix: override clusterRbac with direct allow behaviour for super admin (#5449)
- fix: external helm app when linked to devtron and page breaks while adding project to it, without switching back to applist (#5443)
- fix: empty the code and image scan script (#5434)
- fix: K8s Resource list RBAC ignore for Superadmin (#5415)
- fix: repo url and name handling with argocd (#5445)
- fix: fix for terminal disconnect issue when custom transport is being used (#5436)
- fix: gitops async failed for git cli mode in concurrent cases (#5412)
- fix: Updating pr-issue-validator-script (#5384)
- fix: optimised FetchLatestDeploymentWithChartRefs query (#5393)
- fix: nats consumer deleted on shutdown (#5377)
- fix: panic issue in get/ download pod logs api (#5342)
- fix: encountering panic in application groups in build and deploy page (#5330)
- fix: chart group rbac issue (#5183)
- fix: Multiple choice option for namespace in Kubernetes resource permission (#5293)
- fix: restart workloads fix in app group (#5313)
- fix: deployment chart fix (#5215)
- fix: docker file version fix (#5299)
- fix: hibernating status is not being updated in app listing page (#5294)
## Enhancements
- feat: Checking multiarchitecture of images (#5232)
- feat: updated kubelink grpc client cfg (#5426)
- feat: Integration of Cranecopy plugin (#5131)
- feat: casbin upgraded to v2 (#5329)
- feat: new scripts added for rescan sbom support , helm manifest scan flag and git container links (#5406)
- feat: Reload materials api added (#5182)
- feat: mirgator plugin (#5347)
- feat: insecure support for chart-sync (#5328)
- feat: GitOps async install for devtron applications (#5169)
- feat: chart ref schema db migration (#5319)
- feat: Up and Down Script for BitBucket Plugin v1.0.0 (#4949)
- feat: Added statefulset chart 5.1.0 (#5199)
- feat: air gap registry v2 (#5220)
- feat: tenants and installations migration (#5187)
## Documentation
- doc: Blob Storage Redirection + Other Fixes (#5432)
- doc: Added migration steps for 0.6 to 0.7 upgrade (#5411)
- doc: Created Deployment Window Draft (#4800)
- doc: Redirection Fix for User Permissions Doc + Other Fixes (#5382)
- doc: Redirection Fixes for 0.7 (#5381)
- doc: Redirection Issue Trial Fix (#5378)
- doc: Plugin Creation Doc (#5372)
- docs: Added specs for the global plugin Apis (#5362)
- docs: Fixes + Corrections in Docs (#5335)
- docs: fixed broken link in readme (#5337)
- docs: removed users (#5324)
- docs: Created a file for listing Devtron Users (#5310)
## Others
- chore: common-lib upgrade for nats replicas (#5446)
- chore: migration for gitops config (#5383)
- chore: update common-lib tag version (#5333)
- chore: updated go version in EA dockerfile (#5327)



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: 0.7.0
appVersion: 0.7.1
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.72
version: 0.22.73
sources:
- https://github.com/devtron-labs/charts
dependencies:
Expand Down
43 changes: 19 additions & 24 deletions charts/devtron/devtron-bom.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,16 @@ global:
runAsUser: 1000
runAsNonRoot: true
containerRegistry: "quay.io/devtron"

# The below values can be specified both at global as well as component level
nodeSelector: {}
tolerations: []
imagePullSecrets: []
extraManifests: []
installer:
release: "v0.7.0"
release: "v0.7.1"
registry: ""
image: "inception"
tag: "473deaa4-185-21582"

components:
dashboard:
config:
Expand All @@ -31,33 +34,30 @@ components:
SERVICE_WORKER_TIMEOUT: "1"
API_BATCH_SIZE: "30"
registry: ""
image: "dashboard:87aaf7ac-690-23135"
image: "dashboard:5f95d187-690-23841"
imagePullPolicy: IfNotPresent

devtron:
registry: ""
image: "hyperion:3aa7e420-280-23147"
cicdImage: "devtron:3aa7e420-434-23146"
image: "hyperion:291c4c75-280-23860"
cicdImage: "devtron:291c4c75-434-23853"
imagePullPolicy: IfNotPresent
customOverrides: {}

ciRunner:
registry: ""
image: "ci-runner:6e721248-138-23081"

image: "ci-runner:48aca9f4-138-23844"
argocdDexServer:
registry: ""
image: "dex:v2.30.2"
imagePullPolicy: IfNotPresent
initContainer:
authenticator: "authenticator:e414faff-393-13273"

kubelink:
registry: ""
image: "kubelink:a810dbae-564-23055"
image: "kubelink:0dee6306-564-23843"
imagePullPolicy: IfNotPresent
configs:
ENABLE_HELM_RELEASE_CACHE: "true"
USE_CUSTOM_HTTP_TRANSPORT: "true"
MANIFEST_FETCH_BATCH_SIZE: "2"
NATS_MSG_PROCESSING_BATCH_SIZE: "1"
NATS_SERVER_HOST: nats://devtron-nats.devtroncd:4222
Expand All @@ -69,18 +69,17 @@ components:
dbconfig:
secretName: postgresql-postgresql
keyName: postgresql-password

kubewatch:
registry: ""
image: "kubewatch:f8ac0fe6-419-23054"
image: "kubewatch:850b40d5-419-23840"
imagePullPolicy: IfNotPresent
configs:
devtroncd_NAMESPACE: "devtron-ci"
USE_CUSTOM_HTTP_TRANSPORT: "true"
CI_INFORMER: "true"
ACD_NAMESPACE: "devtroncd"
ACD_INFORMER: "true"
NATS_STREAM_MAX_AGE: "10800"

postgres:
registry: ""
image: "postgres:11.9.0-debian-10-r26"
Expand All @@ -90,10 +89,9 @@ components:
metrics:
image: postgres_exporter:v0.4.7
armImage: postgres_exporter:v0.10.1

gitsensor:
registry: ""
image: "git-sensor:8545feb5-200-22005"
image: "git-sensor:86e13283-200-23847"
imagePullPolicy: IfNotPresent
serviceMonitor:
enabled: false
Expand All @@ -111,7 +109,7 @@ components:
# Values for lens
lens:
registry: ""
image: "lens:3d3e8f08-333-23057"
image: "lens:56211042-333-23839"
imagePullPolicy: IfNotPresent
configs:
GIT_SENSOR_PROTOCOL: GRPC
Expand Down Expand Up @@ -140,7 +138,6 @@ components:
enabled: false
persistence:
storage: 5Gi

migrator:
registry: ""
image: "migrator:v4.16.2"
Expand All @@ -157,7 +154,7 @@ components:
DB_NAME: "lens"
chartSync:
registry: ""
image: chart-sync:b67ab589-150-23082
image: chart-sync:5a1d0301-150-23845
# values for argocd integration
argo-cd:
global:
Expand All @@ -175,18 +172,16 @@ workflowController:
executorImage: "argoexec:v3.4.3"
IMDSv1Image: "workflow-controller:v3.0.7"
IMDSv1ExecutorImage: "argoexec:v3.0.7"

security:
imageScanner:
image: "image-scanner:3ab2ba46-141-23064"
image: "image-scanner:137872c2-141-23848"
clair:
image:
repository: clair
tag: 4.3.6
# Values for notifier integration
notifier:
image: "notifier:924a17f6-372-22110"

image: "notifier:9639b1ab-372-23850"
minio:
image: "minio:RELEASE.2021-02-14T04-01-33Z"
mbImage: "minio-mc:RELEASE.2021-02-14T04-28-06Z"
Expand Down
32 changes: 31 additions & 1 deletion charts/devtron/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,36 @@ it randomly.
{{- end -}}
{{- end }}

{{/*
Expand the node selectors, tolerations, and image pull secrets for a Kubernetes resource.
Usage:
{{ include "common.nodeSelector" (dict "nodeSelector" .Values.path.to.nodeSelector "tolerations" .Values.path.to.tolerations "imagePullSecrets" .Values.path.to.imagePullSecrets "global" .Values.global ) }}
*/}}

{{- define "common.nodeSelector" -}}
{{- if .nodeSelector }}
nodeSelector:
{{ toYaml .nodeSelector | indent 2 }}
{{- else if .global.nodeSelector }}
nodeSelector:
{{ toYaml .global.nodeSelector | indent 2 }}
{{- end }}
{{- if .tolerations }}
tolerations:
{{ toYaml .tolerations | indent 2 }}
{{- else if .global.tolerations }}
tolerations:
{{ toYaml .global.tolerations | indent 2 }}
{{- end }}
{{- if .imagePullSecrets }}
imagePullSecrets:
{{ toYaml .imagePullSecrets | indent 2 }}
{{- else if .global.imagePullSecrets }}
imagePullSecrets:
{{ toYaml .global.imagePullSecrets | indent 2 }}
{{- end }}
{{- end }}

{{/*
Return full image
{{ include "common.image" ( dict "component" .Values.path.to.the.component "global" .Values.global .extraImage .extraImageTag .extraImageDigest ) }}
Expand Down Expand Up @@ -49,4 +79,4 @@ Return full image
{{- printf "%s" $imageName -}}
{{- end }}
{{- end -}}
{{- end -}}
{{- end -}}
2 changes: 2 additions & 0 deletions charts/devtron/templates/app-sync-job.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ spec:
template:
spec:
serviceAccountName: devtron
{{ include "common.nodeSelector" (dict "nodeSelector" $.Values.components.chartSync.nodeSelector "tolerations" $.Values.components.chartSync.tolerations "imagePullSecrets" $.Values.components.chartSync.imagePullSecrets "global" $.Values.global) | indent 6 }}
initContainers:
- name: migration-wait
image: {{ include "common.image" (dict "component" $.Values.components.migrator "global" $.Values.global "extraImage" $.Values.components.migrator.kubectlImage ) }}
Expand Down Expand Up @@ -74,6 +75,7 @@ spec:
spec:
template:
spec:
{{ include "common.nodeSelector" (dict "nodeSelector" $.Values.components.chartSync.nodeSelector "tolerations" $.Values.components.chartSync.tolerations "imagePullSecrets" $.Values.components.chartSync.imagePullSecrets "global" $.Values.global) | indent 10 }}
{{- if and $.Values.global $.Values.global.podSecurityContext }}
securityContext:
{{- toYaml $.Values.global.podSecurityContext | nindent 12 }}
Expand Down
1 change: 1 addition & 0 deletions charts/devtron/templates/dashboard.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ spec:
securityContext:
{{- toYaml $.Values.global.podSecurityContext | nindent 8 }}
{{- end }}
{{ include "common.nodeSelector" (dict "nodeSelector" $.Values.components.dashboard.nodeSelector "tolerations" $.Values.components.dashboard.tolerations "imagePullSecrets" $.Values.components.dashboard.imagePullSecrets "global" $.Values.global) | indent 6 }}
containers:
- name: dashboard
image: {{ include "common.image" (dict "component" $.Values.components.dashboard "global" $.Values.global) }}
Expand Down
2 changes: 2 additions & 0 deletions charts/devtron/templates/devtron.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ data:
ENFORCER_CACHE_EXPIRATION_IN_SEC: "345600"
ENFORCER_MAX_BATCH_SIZE: "1"
DEVTRON_SECRET_NAME: "devtron-secret"
ENABLE_ASYNC_ARGO_CD_INSTALL_DEVTRON_CHART: "false"
USE_ARTIFACT_LISTING_API_V2: "true"
RUN_HELM_INSTALL_IN_ASYNC_MODE_HELM_APPS: "true"
ENABLE_ASYNC_INSTALL_DEVTRON_CHART: "true"
Expand Down Expand Up @@ -200,6 +201,7 @@ spec:
app: devtron
release: devtron
spec:
{{ include "common.nodeSelector" (dict "nodeSelector" $.Values.components.devtron.nodeSelector "tolerations" $.Values.components.devtron.tolerations "imagePullSecrets" $.Values.components.devtron.imagePullSecrets "global" $.Values.global) | indent 6 }}
terminationGracePeriodSeconds: 30
restartPolicy: Always
serviceAccountName: devtron
Expand Down
1 change: 1 addition & 0 deletions charts/devtron/templates/dex.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ spec:
labels:
app.kubernetes.io/name: argocd-dex-server
spec:
{{ include "common.nodeSelector" (dict "nodeSelector" $.Values.components.argocdDexServer.nodeSelector "tolerations" $.Values.components.argocdDexServer.tolerations "imagePullSecrets" $.Values.components.argocdDexServer.imagePullSecrets "global" $.Values.global) | indent 6 }}
affinity:
podAntiAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
Expand Down
4 changes: 4 additions & 0 deletions charts/devtron/templates/generic.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{{- range .Values.extraManifests }}
---
{{ toYaml . }}
{{- end -}}
1 change: 1 addition & 0 deletions charts/devtron/templates/gitsensor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ spec:
securityContext:
runAsGroup: 1000
runAsUser: 1000
{{ include "common.nodeSelector" (dict "nodeSelector" $.Values.components.gitsensor.nodeSelector "tolerations" $.Values.components.gitsensor.tolerations "imagePullSecrets" $.Values.components.gitsensor.imagePullSecrets "global" $.Values.global) | indent 6 }}
initContainers:
- command:
- /bin/sh
Expand Down
5 changes: 4 additions & 1 deletion charts/devtron/templates/grafana.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ metadata:
spec:
template:
spec:
{{ include "common.nodeSelector" (dict "nodeSelector" $.Values.monitoring.grafana.nodeSelector "tolerations" $.Values.monitoring.grafana.tolerations "imagePullSecrets" $.Values.monitoring.grafana.imagePullSecrets "global" $.Values.global) | indent 6 }}
serviceAccountName: devtron
containers:
- name: grafana-restart
Expand Down Expand Up @@ -510,6 +511,7 @@ spec:
fsGroup: 472
runAsGroup: 472
runAsUser: 472
{{ include "common.nodeSelector" (dict "nodeSelector" $.Values.monitoring.grafana.nodeSelector "tolerations" $.Values.monitoring.grafana.tolerations "imagePullSecrets" $.Values.monitoring.grafana.imagePullSecrets "global" $.Values.global) | indent 6 }}
initContainers:
- name: init-chown-data
image: {{ include "common.image" (dict "component" $.Values.monitoring.grafana "global" $.Values.global "extraImage" $.Values.monitoring.grafana.busyboxImage ) }}
Expand Down Expand Up @@ -658,6 +660,7 @@ metadata:
namespace: devtroncd
spec:
serviceAccountName: devtron-grafana-test
{{ include "common.nodeSelector" (dict "nodeSelector" $.Values.monitoring.grafana.nodeSelector "tolerations" $.Values.monitoring.grafana.tolerations "imagePullSecrets" $.Values.monitoring.grafana.imagePullSecrets "global" $.Values.global) | indent 2 }}
containers:
- name: devtron-test
image: {{ include "common.image" (dict "component" $.Values.monitoring.grafana "global" $.Values.global "extraImage" $.Values.monitoring.grafana.batsImage ) }}
Expand All @@ -676,4 +679,4 @@ spec:
{{- end }}
{{- end }}
{{- end }}
{{- end }}
{{- end }}
2 changes: 1 addition & 1 deletion charts/devtron/templates/install.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -115,4 +115,4 @@ spec:
{{- end }}
{{- end }}
{{- end }}
{{- end }}
{{- end }}
3 changes: 2 additions & 1 deletion charts/devtron/templates/kubelink.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ spec:
labels:
app: kubelink
spec:
{{ include "common.nodeSelector" (dict "nodeSelector" $.Values.components.kubelink.nodeSelector "tolerations" $.Values.components.kubelink.tolerations "imagePullSecrets" $.Values.components.kubelink.imagePullSecrets "global" $.Values.global) | indent 6 }}
terminationGracePeriodSeconds: 30
restartPolicy: Always
serviceAccount: devtron
Expand Down Expand Up @@ -120,4 +121,4 @@ spec:
app: kubelink
sessionAffinity: None
type: ClusterIP
{{- end }}
{{- end }}
Loading

0 comments on commit da83b85

Please sign in to comment.