Skip to content

Commit ec47047

Browse files
pawan-mehta-dtPawan Kumar
andauthored
fix: Lifecycle hook failing due to default values (#2671)
* Updated version in README.md * Updated chart version * Updated default values * Added chart 4.16 for lifecycle fix * Added migrations for chart 4.16 * Updated down sql for 4.16 Co-authored-by: Pawan Kumar <[email protected]>
1 parent f1afe0d commit ec47047

35 files changed

+4500
-12
lines changed
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
apiVersion: v1
22
appVersion: "1.0"
33
description: A Helm chart for Kubernetes
4-
name: reference-chart_4-14-0
5-
version: 4.14.0
4+
name: reference-chart_4-15-0
5+
version: 4.15.0

scripts/devtron-reference-helm-charts/reference-chart_4-15-0/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
# Rollout Deployment Chart - v4.11
2+
# Rollout Deployment Chart - v4.15
33

44
## 1. Yaml File -
55

@@ -624,4 +624,4 @@ resources.limits.cpu >= resources.requests.cpu
624624
resources.limits.memory >= resources.requests.memory
625625
envoyproxy.resources.limits.cpu >= envoyproxy.resources.requests.cpu
626626
envoyproxy.resources.limits.memory >= envoyproxy.resources.requests.memory
627-
```
627+
```

scripts/devtron-reference-helm-charts/reference-chart_4-15-0/values.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -415,14 +415,14 @@ envoyproxy:
415415
containerSpec:
416416
lifecycle:
417417
enabled: false
418-
preStop:
419-
exec:
420-
command: ["sleep","10"]
421-
postStart:
422-
httpGet:
423-
host: example.com
424-
path: /example
425-
port: 90
418+
preStop: {}
419+
# exec:
420+
# command: ["sleep","10"]
421+
postStart: {}
422+
# httpGet:
423+
# host: example.com
424+
# path: /example
425+
# port: 90
426426

427427
podDisruptionBudget: {}
428428
# minAvailable: 1
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-16-0
5+
version: 4.16.0

0 commit comments

Comments
 (0)