Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
k8s-ingress
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
3
Merge Requests
3
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
uplex-varnish
k8s-ingress
Commits
5e926688
Commit
5e926688
authored
Jun 03, 2020
by
Lars Fenneberg
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Helm charts: Fix name of update strategy field for StatefulSet
parent
21270059
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
4 deletions
+8
-4
deployment.yaml
charts/viking-service/templates/deployment.yaml
+6
-2
values.yaml
charts/viking-service/values.yaml
+2
-2
No files found.
charts/viking-service/templates/deployment.yaml
View file @
5e926688
...
...
@@ -35,10 +35,14 @@ spec:
matchLabels
:
app.kubernetes.io/name
:
{{
template "viking-service.name" .
}}
app.kubernetes.io/instance
:
{{
.Release.Name
}}
{{
- if .Values.vikingService.updateStrategy
}}
{{
- if .Values.vikingService.updateStrategy
}}
{{
- if eq .Values.vikingService.kind "Deployment"
}}
strategy
:
{{
- toYaml .Values.vikingService.updateStrategy | nindent 4
}}
{{
- else
}}
updateStrategy
:
{{
- end
}}
{{
- toYaml .Values.vikingService.updateStrategy | nindent 4
}}
{{
- end
}}
replicas
:
{{
.Values.vikingService.replicaCount
}}
revisionHistoryLimit
:
{{
.Values.revisionHistoryLimit
}}
template
:
...
...
charts/viking-service/values.yaml
View file @
5e926688
...
...
@@ -68,8 +68,8 @@ vikingService:
##
annotations
:
{}
# The update strategy to apply
to the Deployment or DaemonSet
#
#
# The update strategy to apply
#
NB: Update strategy configuration differs between a Deployment and a StatefulSet
updateStrategy
:
{}
# rollingUpdate:
# maxUnavailable: 1
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment