Skip to content

Commit 9f0a859

Browse files
prakarsh-dtdheeth
andauthored
V0.4.23 hotfix (#2055)
* Updated latest image of devtron in installer * Updated latest image of hyperion in installer * Updated latest image of dashboard in installer * [Fix] Chart 4.13 rawYaml and K8s 1.18 and lower fixes (#2048) * Added Chart 4.13 for rawYaml fix * Fixed compatibility for K8s version 1.18 and lower * Fixed apiVersion nil pointer issue * Fixed apiVersion nil pointer issue * Added migrations for chart 4.13 * Renamed migration 57.5 to 59 * Removed resources from default values of chart-4-13 Co-authored-by: Pawan Kumar <39653409+dheeth@users.noreply.github.com>
1 parent 9ea66f3 commit 9f0a859

34 files changed

+4100
-3
lines changed

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

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
1+
{{- if $.Capabilities.APIVersions.Has "batch/v1" -}}
12
apiVersion: batch/v1
3+
{{- else -}}
4+
apiVersion: batch/v1beta1
5+
{{- end }}
26
kind: Job
37
metadata:
48
name: app-sync-job-{{ randAlphaNum 5 | lower }}
@@ -25,9 +29,12 @@ spec:
2529
name: devtron-secret
2630
restartPolicy: OnFailure
2731
backoffLimit: 4
28-
activeDeadlineSeconds: 120
2932
---
33+
{{- if $.Capabilities.APIVersions.Has "batch/v1" -}}
3034
apiVersion: batch/v1
35+
{{- else -}}
36+
apiVersion: batch/v1beta1
37+
{{- end }}
3138
kind: CronJob
3239
metadata:
3340
name: app-sync-cronjob
@@ -53,4 +60,4 @@ spec:
5360
- secretRef:
5461
name: devtron-secret
5562
restartPolicy: Never
56-
backoffLimit: 4
63+
backoffLimit: 4

charts/devtron/templates/migrator.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
{{- with .Values.components.migrator }}
22
---
3+
{{- if $.Capabilities.APIVersions.Has "batch/v1" -}}
34
apiVersion: batch/v1
5+
{{- else -}}
6+
apiVersion: batch/v1beta1
7+
{{- end }}
48
kind: Job
59
metadata:
610
name: postgresql-migrate-devtron-{{ randAlphaNum 5 | lower }}
@@ -42,7 +46,11 @@ spec:
4246
backoffLimit: 20
4347
activeDeadlineSeconds: 1500
4448
---
49+
{{- if $.Capabilities.APIVersions.Has "batch/v1" -}}
4550
apiVersion: batch/v1
51+
{{- else -}}
52+
apiVersion: batch/v1beta1
53+
{{- end }}
4654
kind: Job
4755
metadata:
4856
name: postgresql-migrate-casbin-{{ randAlphaNum 5 | lower }}

manifests/version.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v0.4.24
1+
v0.4.24
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# Patterns to ignore when building packages.
2+
# This supports shell glob matching, relative path matching, and
3+
# negation (prefixed with !). Only one pattern per line.
4+
.DS_Store
5+
# Common VCS dirs
6+
.git/
7+
.gitignore
8+
.bzr/
9+
.bzrignore
10+
.hg/
11+
.hgignore
12+
.svn/
13+
# Common backup files
14+
*.swp
15+
*.bak
16+
*.tmp
17+
*~
18+
# Various IDEs
19+
.project
20+
.idea/
21+
*.tmproj
22+
.vscode/
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"server":{"deployment":{"image_tag":"{{.Tag}}","image":"{{.Name}}"}},"pipelineName": "{{.PipelineName}}","releaseVersion":"{{.ReleaseVersion}}","deploymentType": "{{.DeploymentType}}", "app": "{{.App}}", "env": "{{.Env}}", "appMetrics": {{.AppMetrics}}}
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
apiVersion: v1
2+
appVersion: "1.0"
3+
description: A Helm chart for Kubernetes
4+
name: reference-chart_4-13-0
5+
version: 4.13.0

0 commit comments

Comments
 (0)