Skip to content
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

misc: Main sync rc22 nov6 #6054

Merged
merged 2 commits into from
Nov 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
41 changes: 41 additions & 0 deletions CHANGELOG/release-notes-v0.7.4.md
Original file line number Diff line number Diff line change
@@ -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)


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.3
appVersion: 0.7.4
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.75
version: 0.22.76
sources:
- https://github.com/devtron-labs/charts
dependencies:
Expand Down
24 changes: 13 additions & 11 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: "v0.7.3"
release: "v0.7.4"
registry: ""
image: "inception"
tag: "473deaa4-185-21582"
Expand All @@ -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:
Expand All @@ -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"
Expand All @@ -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"
Expand All @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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:
Expand All @@ -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"
Expand Down
18 changes: 17 additions & 1 deletion charts/devtron/templates/app-sync-job.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand All @@ -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 }}
Expand All @@ -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 }}
---
1 change: 1 addition & 0 deletions charts/devtron/templates/devtron.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion charts/devtron/templates/grafana.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
6 changes: 5 additions & 1 deletion charts/devtron/templates/migrator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -373,15 +373,19 @@ 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.
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 }}
Expand Down
2 changes: 1 addition & 1 deletion charts/devtron/templates/minio.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ metadata:
release: {{ $.Release.Name }}
heritage: Helm
spec:
ttlSecondsAfterFinished: 100
ttlSecondsAfterFinished: 1000
template:
metadata:
labels:
Expand Down
28 changes: 13 additions & 15 deletions charts/devtron/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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"
Expand All @@ -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"
Expand All @@ -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
Expand All @@ -175,7 +175,7 @@ components:
# Values for lens
lens:
registry: ""
image: "lens:9db8a2fb-333-25482"
image: "lens:b4888f54-333-26837"
imagePullPolicy: IfNotPresent
secrets: {}
resources: {}
Expand Down Expand Up @@ -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
Expand All @@ -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`
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion manifests/install/devtron-installer.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion manifests/installation-script
Original file line number Diff line number Diff line change
@@ -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");
2 changes: 1 addition & 1 deletion manifests/release.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
stable -1 v0.7.3
stable -1 v0.7.4
2 changes: 1 addition & 1 deletion manifests/version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v0.7.3
v0.7.4
2 changes: 1 addition & 1 deletion manifests/yamls/dashboard.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions manifests/yamls/devtron.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions manifests/yamls/gitsensor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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: {}
Expand All @@ -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
Expand Down
Loading
Loading