Skip to content

Commit 0ab9ad9

Browse files
authored
[java-spring-boot] Support deployment strategy recreate. (#220)
1 parent 69e2338 commit 0ab9ad9

File tree

3 files changed

+19
-2
lines changed

3 files changed

+19
-2
lines changed

charts/java-spring-boot/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: v2
22
name: java-spring-boot
33
description: Generic Helm chart to deploy a Spring Boot application on Kubernetes
44
type: application
5-
version: 1.0.4
5+
version: 1.0.5
66
maintainers:
77
- name: eidottermihi
88
email: eidottermihi@gmail.com
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# use appswitcher-server for testing
2+
image:
3+
repository: "ghcr.io/it-at-m/appswitcher-server"
4+
tag: "1.2.1"
5+
6+
deploymentStrategy:
7+
type: Recreate
8+
9+
applicationYml: |-
10+
applications:
11+
google:
12+
display-name: Google
13+
url: https://google.com
14+
image-url: https://www.google.com/favicon.ico
15+
tags:
16+
- global
17+
sort-order: 20

charts/java-spring-boot/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ revisionHistoryLimit: 10
1212
# see https://kubernetes.io/docs/concepts/workloads/controllers/deployment/#strategy
1313
deploymentStrategy:
1414
type: RollingUpdate
15-
rollingUpdate: {}
15+
# rollingUpdate: {}
1616

1717
# This sets the container image more information can be found here: https://kubernetes.io/docs/concepts/containers/images/
1818
image:

0 commit comments

Comments
 (0)