diff --git a/CHANGELOG/release-notes-v0.7.4.md b/CHANGELOG/release-notes-v0.7.4.md new file mode 100644 index 00000000000..fe47d49af2e --- /dev/null +++ b/CHANGELOG/release-notes-v0.7.4.md @@ -0,0 +1,41 @@ +## v0.7.4 + +## Bugs +- fix: Helm rollback in case of no gitops (#6005) +- fix: App detail deployed by (#6032) +- fix: Removed not null constraint for releaseOverride (#6044) +- fix: Showing inaccurate data in template/list api while fetching previous deployments list in template/list api, output shown was cartesian product of deployment_template_history and wfr (#6034) +- fix: Plugin getByName method error handling (#6016) +- fix: Config deployment history fix (#6003) +- fix: Force abort fix (#5990) +- fix: Custom tag (#5999) +- fix: Helm deployment status (#5996) +- fix: Deployment window FIXED type (#5986) +- fix: Migration seq fix (#5962) +- fix: Modified the query for User listing with filters (#5957) +- fix: Bulk deploy panic and docker tag handling (#5949) +- fix: stage artifact logic (#5913) +## Enhancements +- feat: Config diff enhancement (#5837) +- feat: Terminal role casbin policy (#5991) +- feat: Refactoring argo application service and common-lib constants (#5944) +- feat: Feature release v9 sql scripts (#5950) +## Others +- misc: Main sync develop (#6047) +- misc: Permission access getting clubbed (#6045) +- fix : Multiple param of filter in helm app list (#6013) +- chore: Adding refchart migration (#6007) +- chore: Cluster terminal images migration (#6006) +- chore: Trigger clean (#6004) +- misc: Removed deployment group validation when deleting CD pipelines (#5989) +- misc: Replaced != with <> for PostgreSQL compatibility (#5987) +- misc: Main sync 14 oct 2024 (#5985) +- misc: isLatest field in plugin_metadata tag changed to not_null (#5984) +- chore: Main sync develop (#5983) +- misc: error handling while creating github repo in case of concurrent reqs (#5978) +- misc: Release candidate v0.20.0 (#5980) +- misc: Release candidate v0.19.0 (#5930) +- misc: updated migration number (#5948) +- misc: err handling for configmap access (#5938) + + diff --git a/charts/devtron/Chart.yaml b/charts/devtron/Chart.yaml index 4f7ef5793b6..3c4151ddeca 100644 --- a/charts/devtron/Chart.yaml +++ b/charts/devtron/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: devtron-operator -appVersion: 0.7.3 +appVersion: 0.7.4 description: Chart to configure and install Devtron. Devtron is a Kubernetes Orchestration system. keywords: - Devtron @@ -11,7 +11,7 @@ keywords: - argocd - Hyperion engine: gotpl -version: 0.22.75 +version: 0.22.76 sources: - https://github.com/devtron-labs/charts dependencies: diff --git a/charts/devtron/devtron-bom.yaml b/charts/devtron/devtron-bom.yaml index ce11517a90d..f7ed0a24256 100644 --- a/charts/devtron/devtron-bom.yaml +++ b/charts/devtron/devtron-bom.yaml @@ -10,7 +10,7 @@ global: containerRegistry: "quay.io/devtron" extraManifests: [] installer: - release: "v0.7.3" + release: "v0.7.4" registry: "" image: "inception" tag: "473deaa4-185-21582" @@ -34,12 +34,12 @@ components: FEATURE_USER_DEFINED_GITOPS_REPO_ENABLE: "true" ENABLE_RESOURCE_SCAN: "true" registry: "" - image: "dashboard:215319c7-690-25536" + image: "dashboard:5be7fbeb-690-26830" imagePullPolicy: IfNotPresent devtron: registry: "" - image: "hyperion:e17c52eb-280-25812" - cicdImage: "devtron:e17c52eb-434-25813" + image: "hyperion:4288e910-280-26829" + cicdImage: "devtron:4288e910-434-26828" imagePullPolicy: IfNotPresent customOverrides: {} ciRunner: @@ -53,7 +53,7 @@ components: authenticator: "authenticator:e414faff-393-13273" kubelink: registry: "" - image: "kubelink:6ef0fbbe-564-25533" + image: "kubelink:73ce53e5-564-26855" imagePullPolicy: IfNotPresent configs: ENABLE_HELM_RELEASE_CACHE: "true" @@ -71,7 +71,7 @@ components: keyName: postgresql-password kubewatch: registry: "" - image: "kubewatch:7c8611f4-419-25531" + image: "kubewatch:b4888f54-419-26859" imagePullPolicy: IfNotPresent configs: devtroncd_NAMESPACE: "devtron-ci" @@ -91,7 +91,7 @@ components: armImage: postgres_exporter:v0.10.1 gitsensor: registry: "" - image: "git-sensor:5b9cf0ec-200-25481" + image: "git-sensor:73ce53e5-200-26860" imagePullPolicy: IfNotPresent serviceMonitor: enabled: false @@ -109,7 +109,7 @@ components: # Values for lens lens: registry: "" - image: "lens:9db8a2fb-333-25482" + image: "lens:b4888f54-333-26837" imagePullPolicy: IfNotPresent configs: GIT_SENSOR_PROTOCOL: GRPC @@ -154,7 +154,9 @@ components: DB_NAME: "lens" chartSync: registry: "" - image: chart-sync:13ffae06-150-25515 + image: chart-sync:73ce53e5-836-26871 + schedule: "0 19 * * *" + extraConfigs: {} # values for argocd integration argo-cd: global: @@ -174,14 +176,14 @@ workflowController: IMDSv1ExecutorImage: "argoexec:v3.0.7" security: imageScanner: - image: "image-scanner:348201f8-141-25486" + image: "image-scanner:d5458e1a-141-26846" clair: image: repository: clair tag: 4.3.6 # Values for notifier integration notifier: - image: "notifier:06392394-372-25535" + image: "notifier:133c887d-372-26845" minio: image: "minio:RELEASE.2021-02-14T04-01-33Z" mbImage: "minio-mc:RELEASE.2021-02-14T04-28-06Z" diff --git a/charts/devtron/templates/app-sync-job.yaml b/charts/devtron/templates/app-sync-job.yaml index 92da12d5a25..67b55e84cd4 100644 --- a/charts/devtron/templates/app-sync-job.yaml +++ b/charts/devtron/templates/app-sync-job.yaml @@ -70,11 +70,12 @@ metadata: annotations: "helm.sh/resource-policy": keep spec: - schedule: "0 19 * * *" + schedule: {{ $.Values.components.chartSync.schedule | quote }} jobTemplate: spec: template: spec: + activeDeadlineSeconds: 15000 serviceAccountName: chart-sync {{- include "common.schedulerConfig" (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 }} @@ -98,6 +99,8 @@ spec: envFrom: - secretRef: name: devtron-secret + - configMapRef: + name: app-sync-cm {{- if .Values.components.migrator }} {{- if .Values.components.migrator.appSync }} {{- if .Values.components.migrator.appSync.resources }} @@ -108,3 +111,16 @@ spec: {{- end }} restartPolicy: Never backoffLimit: 4 +--- +apiVersion: v1 +kind: ConfigMap +metadata: + name: app-sync-cm + labels: + app: app-sync-cronjob + release: devtron +data: +{{- if $.Values.components.chartSync.extraConfigs }} +{{ toYaml $.Values.components.chartSync.extraConfigs | indent 2 }} +{{- end }} +--- \ No newline at end of file diff --git a/charts/devtron/templates/devtron.yaml b/charts/devtron/templates/devtron.yaml index 23c39c90b7a..bf7a44d304a 100644 --- a/charts/devtron/templates/devtron.yaml +++ b/charts/devtron/templates/devtron.yaml @@ -122,6 +122,7 @@ data: FEATURE_RESTART_WORKLOAD_WORKER_POOL_SIZE: "5" USE_GIT_CLI: "false" PROPAGATE_EXTRA_LABELS: "false" + USE_DEPLOYMENT_CONFIG_DATA: "false" {{- if $.Values.configs }} {{- if or ($.Values.minio.enabled) ($.Values.configs.BLOB_STORAGE_PROVIDER) }} BLOB_STORAGE_ENABLED: "true" diff --git a/charts/devtron/templates/grafana.yaml b/charts/devtron/templates/grafana.yaml index 3fb4b8a6212..b07062fc2ff 100644 --- a/charts/devtron/templates/grafana.yaml +++ b/charts/devtron/templates/grafana.yaml @@ -12,7 +12,7 @@ kind: Job metadata: name: grafana-org-job spec: - ttlSecondsAfterFinished: 100 + ttlSecondsAfterFinished: 1000 template: spec: {{- include "common.schedulerConfig" (dict "nodeSelector" $.Values.monitoring.grafana.nodeSelector "tolerations" $.Values.monitoring.grafana.tolerations "imagePullSecrets" $.Values.monitoring.grafana.imagePullSecrets "global" $.Values.global) | indent 6 }} diff --git a/charts/devtron/templates/migrator.yaml b/charts/devtron/templates/migrator.yaml index 31247c32776..5e350121d8b 100644 --- a/charts/devtron/templates/migrator.yaml +++ b/charts/devtron/templates/migrator.yaml @@ -373,7 +373,11 @@ spec: {{- end }} --- +{{- if $.Capabilities.APIVersions.Has "batch/v1/Job" }} apiVersion: batch/v1 +{{- else }} +apiVersion: batch/v1beta1 +{{- end }} #this job is added for creating new database(clairv4). #This database is needed for clair upgrade (v2 to v4), since old database does not support migration for new clair. #Without this job, database can be created for new users, but not for existing users. @@ -381,7 +385,7 @@ kind: Job metadata: name: postgresql-miscellaneous spec: - ttlSecondsAfterFinished: 100 + ttlSecondsAfterFinished: 1000 template: spec: {{- include "common.schedulerConfig" (dict "nodeSelector" $.Values.components.migrator.nodeSelector "tolerations" $.Values.components.migrator.tolerations "imagePullSecrets" $.Values.components.migrator.imagePullSecrets "global" $.Values.global) | indent 6 }} diff --git a/charts/devtron/templates/minio.yaml b/charts/devtron/templates/minio.yaml index 1f788bfe82c..4d6dc0e6407 100644 --- a/charts/devtron/templates/minio.yaml +++ b/charts/devtron/templates/minio.yaml @@ -322,7 +322,7 @@ metadata: release: {{ $.Release.Name }} heritage: Helm spec: - ttlSecondsAfterFinished: 100 + ttlSecondsAfterFinished: 1000 template: metadata: labels: diff --git a/charts/devtron/values.yaml b/charts/devtron/values.yaml index bd94f6c9686..372c22f4e64 100644 --- a/charts/devtron/values.yaml +++ b/charts/devtron/values.yaml @@ -24,7 +24,7 @@ global: extraManifests: [] installer: repo: "devtron-labs/devtron" - release: "v0.7.3" + release: "v0.7.4" registry: "" image: inception tag: 473deaa4-185-21582 @@ -77,12 +77,12 @@ components: FEATURE_USER_DEFINED_GITOPS_REPO_ENABLE: "true" ENABLE_RESOURCE_SCAN: "true" registry: "" - image: "dashboard:215319c7-690-25536" + image: "dashboard:5be7fbeb-690-26830" imagePullPolicy: IfNotPresent devtron: registry: "" - image: "hyperion:e17c52eb-280-25812" - cicdImage: "devtron:e17c52eb-434-25813" + image: "hyperion:4288e910-280-26829" + cicdImage: "devtron:4288e910-434-26828" imagePullPolicy: IfNotPresent customOverrides: {} serviceMonitor: @@ -117,7 +117,7 @@ components: authenticator: "authenticator:e414faff-393-13273" kubelink: registry: "" - image: "kubelink:6ef0fbbe-564-25533" + image: "kubelink:73ce53e5-564-26855" imagePullPolicy: IfNotPresent configs: ENABLE_HELM_RELEASE_CACHE: "true" @@ -135,7 +135,7 @@ components: keyName: postgresql-password kubewatch: registry: "" - image: "kubewatch:7c8611f4-419-25531" + image: "kubewatch:b4888f54-419-26859" imagePullPolicy: IfNotPresent configs: devtroncd_NAMESPACE: "devtron-ci" @@ -157,7 +157,7 @@ components: volumeSize: "20Gi" gitsensor: registry: "" - image: "git-sensor:5b9cf0ec-200-25481" + image: "git-sensor:73ce53e5-200-26860" imagePullPolicy: IfNotPresent serviceMonitor: enabled: false @@ -175,7 +175,7 @@ components: # Values for lens lens: registry: "" - image: "lens:9db8a2fb-333-25482" + image: "lens:b4888f54-333-26837" imagePullPolicy: IfNotPresent secrets: {} resources: {} @@ -222,7 +222,9 @@ components: DB_NAME: "lens" chartSync: registry: "" - image: chart-sync:13ffae06-150-25515 + image: chart-sync:73ce53e5-836-26871 + schedule: "0 19 * * *" + extraConfigs: {} # values for argocd integration argo-cd: enabled: false @@ -245,10 +247,6 @@ argo-cd: statusProcessors: "50" # -- define the application controller `--operation-processors` operationProcessors: "25" - # -- define the application controller `--app-hard-resync` - appHardResyncPeriod: "0" - # -- define the application controller `--app-resync` - appResyncPeriod: "180" # -- define the application controller `--self-heal-timeout-seconds` selfHealTimeout: "5" # -- define the application controller `--repo-server-timeout-seconds` @@ -370,7 +368,7 @@ argo-cd: security: enabled: false imageScanner: - image: "image-scanner:348201f8-141-25486" + image: "image-scanner:d5458e1a-141-26846" # Values for trivy trivy: enabled: false @@ -385,7 +383,7 @@ security: notifier: enabled: false imagePullPolicy: IfNotPresent - image: "notifier:06392394-372-25535" + image: "notifier:133c887d-372-26845" configs: CD_ENVIRONMENT: PROD DB: orchestrator diff --git a/manifests/install/devtron-installer.yaml b/manifests/install/devtron-installer.yaml index a054680144d..8d75f6caade 100644 --- a/manifests/install/devtron-installer.yaml +++ b/manifests/install/devtron-installer.yaml @@ -4,4 +4,4 @@ metadata: name: installer-devtron namespace: devtroncd spec: - url: https://raw.githubusercontent.com/devtron-labs/devtron/v0.7.3/manifests/installation-script + url: https://raw.githubusercontent.com/devtron-labs/devtron/v0.7.4/manifests/installation-script diff --git a/manifests/installation-script b/manifests/installation-script index 83db37a5918..6e583d64f2c 100644 --- a/manifests/installation-script +++ b/manifests/installation-script @@ -1,4 +1,4 @@ -LTAG="v0.7.3"; +LTAG="v0.7.4"; REPO_RAW_URL="https://raw.githubusercontent.com/devtron-labs/devtron/"; log("executed devtron setup installation"); diff --git a/manifests/release.txt b/manifests/release.txt index 7236d16f99e..d939acb359a 100644 --- a/manifests/release.txt +++ b/manifests/release.txt @@ -1 +1 @@ -stable -1 v0.7.3 +stable -1 v0.7.4 diff --git a/manifests/version.txt b/manifests/version.txt index 3d105a6fd8c..520c9c28b7f 100644 --- a/manifests/version.txt +++ b/manifests/version.txt @@ -1 +1 @@ -v0.7.3 +v0.7.4 diff --git a/manifests/yamls/dashboard.yaml b/manifests/yamls/dashboard.yaml index 6f05ac96502..475479cb8f2 100644 --- a/manifests/yamls/dashboard.yaml +++ b/manifests/yamls/dashboard.yaml @@ -235,7 +235,7 @@ spec: - name: envoy-config-volume mountPath: /etc/envoy-config/ - name: dashboard - image: "quay.io/devtron/dashboard:215319c7-690-25536" + image: "quay.io/devtron/dashboard:5be7fbeb-690-26830" imagePullPolicy: IfNotPresent securityContext: allowPrivilegeEscalation: false diff --git a/manifests/yamls/devtron.yaml b/manifests/yamls/devtron.yaml index 83b8f3b5387..2c5efac0e86 100644 --- a/manifests/yamls/devtron.yaml +++ b/manifests/yamls/devtron.yaml @@ -89,7 +89,7 @@ data: ENFORCER_CACHE: "true" ENFORCER_CACHE_EXPIRATION_IN_SEC: "345600" ENFORCER_MAX_BATCH_SIZE: "1" - APP_SYNC_IMAGE: "quay.io/devtron/chart-sync:13ffae06-150-25515" + APP_SYNC_IMAGE: "quay.io/devtron/chart-sync:73ce53e5-836-26871" DEVTRON_SECRET_NAME: "devtron-secret" GIT_SENSOR_PROTOCOL: GRPC GIT_SENSOR_URL: git-sensor-service.devtroncd:90 @@ -169,7 +169,7 @@ spec: runAsUser: 1000 containers: - name: devtron - image: "quay.io/devtron/devtron:0b51ad37-434-25810" + image: "quay.io/devtron/devtron:4288e910-434-26828" securityContext: allowPrivilegeEscalation: false runAsUser: 1000 diff --git a/manifests/yamls/gitsensor.yaml b/manifests/yamls/gitsensor.yaml index 9c19b458858..94baa04383d 100644 --- a/manifests/yamls/gitsensor.yaml +++ b/manifests/yamls/gitsensor.yaml @@ -67,7 +67,7 @@ spec: - /bin/sh - -c - mkdir -p /git-base/ssh-keys && chown -R devtron:devtron /git-base && chmod 777 /git-base/ssh-keys - image: "quay.io/devtron/git-sensor:5b9cf0ec-200-25481" + image: "quay.io/devtron/git-sensor:73ce53e5-200-26860" imagePullPolicy: IfNotPresent name: chown-git-base resources: {} @@ -80,7 +80,7 @@ spec: name: git-volume containers: - name: git-sensor - image: "quay.io/devtron/git-sensor:5b9cf0ec-200-25481" + image: "quay.io/devtron/git-sensor:73ce53e5-200-26860" securityContext: allowPrivilegeEscalation: false runAsUser: 1000 diff --git a/manifests/yamls/image-scanner.yaml b/manifests/yamls/image-scanner.yaml index 61344fddbe1..0e5b1f59105 100644 --- a/manifests/yamls/image-scanner.yaml +++ b/manifests/yamls/image-scanner.yaml @@ -73,7 +73,7 @@ spec: runAsUser: 1000 containers: - name: image-scanner - image: "quay.io/devtron/image-scanner:348201f8-141-25486" + image: "quay.io/devtron/image-scanner:d5458e1a-141-26846" imagePullPolicy: IfNotPresent securityContext: allowPrivilegeEscalation: false diff --git a/manifests/yamls/kubelink.yaml b/manifests/yamls/kubelink.yaml index 6502a2ff93c..00995e8495f 100644 --- a/manifests/yamls/kubelink.yaml +++ b/manifests/yamls/kubelink.yaml @@ -25,7 +25,7 @@ spec: runAsUser: 1000 containers: - name: kubelink - image: "quay.io/devtron/kubelink:6ef0fbbe-564-25533" + image: "quay.io/devtron/kubelink:73ce53e5-564-26855" securityContext: allowPrivilegeEscalation: false runAsUser: 1000 diff --git a/manifests/yamls/kubewatch.yaml b/manifests/yamls/kubewatch.yaml index 2fabe230ef4..874235c0848 100644 --- a/manifests/yamls/kubewatch.yaml +++ b/manifests/yamls/kubewatch.yaml @@ -164,7 +164,7 @@ spec: runAsUser: 1000 containers: - name: kubewatch - image: "quay.io/devtron/kubewatch:7c8611f4-419-25531" + image: "quay.io/devtron/kubewatch:b4888f54-419-26859" securityContext: allowPrivilegeEscalation: false runAsUser: 1000 diff --git a/manifests/yamls/lens.yaml b/manifests/yamls/lens.yaml index fd2b4c4e393..a331bfbd11b 100644 --- a/manifests/yamls/lens.yaml +++ b/manifests/yamls/lens.yaml @@ -71,7 +71,7 @@ spec: runAsUser: 1000 containers: - name: lens - image: "quay.io/devtron/lens:9db8a2fb-333-25482" + image: "quay.io/devtron/lens:b4888f54-333-26837" imagePullPolicy: IfNotPresent securityContext: allowPrivilegeEscalation: false diff --git a/manifests/yamls/notifier.yaml b/manifests/yamls/notifier.yaml index 437b2938538..85754a12bbf 100644 --- a/manifests/yamls/notifier.yaml +++ b/manifests/yamls/notifier.yaml @@ -66,7 +66,7 @@ spec: restartPolicy: Always containers: - name: notifier - image: quay.io/devtron/notifier:06392394-372-25535" + image: quay.io/devtron/notifier:133c887d-372-26845" imagePullPolicy: IfNotPresent ports: - name: app diff --git a/releasenotes.md b/releasenotes.md index 63d93bc345b..fe47d49af2e 100644 --- a/releasenotes.md +++ b/releasenotes.md @@ -1,7 +1,41 @@ -## v0.7.3 +## v0.7.4 +## Bugs +- fix: Helm rollback in case of no gitops (#6005) +- fix: App detail deployed by (#6032) +- fix: Removed not null constraint for releaseOverride (#6044) +- fix: Showing inaccurate data in template/list api while fetching previous deployments list in template/list api, output shown was cartesian product of deployment_template_history and wfr (#6034) +- fix: Plugin getByName method error handling (#6016) +- fix: Config deployment history fix (#6003) +- fix: Force abort fix (#5990) +- fix: Custom tag (#5999) +- fix: Helm deployment status (#5996) +- fix: Deployment window FIXED type (#5986) +- fix: Migration seq fix (#5962) +- fix: Modified the query for User listing with filters (#5957) +- fix: Bulk deploy panic and docker tag handling (#5949) +- fix: stage artifact logic (#5913) +## Enhancements +- feat: Config diff enhancement (#5837) +- feat: Terminal role casbin policy (#5991) +- feat: Refactoring argo application service and common-lib constants (#5944) +- feat: Feature release v9 sql scripts (#5950) +## Others +- misc: Main sync develop (#6047) +- misc: Permission access getting clubbed (#6045) +- fix : Multiple param of filter in helm app list (#6013) +- chore: Adding refchart migration (#6007) +- chore: Cluster terminal images migration (#6006) +- chore: Trigger clean (#6004) +- misc: Removed deployment group validation when deleting CD pipelines (#5989) +- misc: Replaced != with <> for PostgreSQL compatibility (#5987) +- misc: Main sync 14 oct 2024 (#5985) +- misc: isLatest field in plugin_metadata tag changed to not_null (#5984) +- chore: Main sync develop (#5983) +- misc: error handling while creating github repo in case of concurrent reqs (#5978) +- misc: Release candidate v0.20.0 (#5980) +- misc: Release candidate v0.19.0 (#5930) +- misc: updated migration number (#5948) +- misc: err handling for configmap access (#5938) -## Bugs -- fix: Builds set to auto not getting triggered (#5925) -- fix: User Rbac Fixes (#5940)