mirror of
https://github.com/bjw-s-labs/helm-charts.git
synced 2025-07-04 08:57:04 +02:00
feat(common)!: Release v3.0.0-beta1 (#278)
This commit is contained in:
parent
deafcf75a1
commit
b78483b0b8
88 changed files with 3697 additions and 1209 deletions
|
@ -27,9 +27,13 @@ metadata:
|
|||
annotations: {{- toYaml . | nindent 4 -}}
|
||||
{{- end }}
|
||||
spec:
|
||||
revisionHistoryLimit: {{ $deploymentObject.revisionHistoryLimit }}
|
||||
{{- if not (eq $deploymentObject.replicas nil) }}
|
||||
revisionHistoryLimit: {{ default 3 $deploymentObject.revisionHistoryLimit }}
|
||||
{{- if hasKey $deploymentObject "replicas" }}
|
||||
{{- if not (eq $deploymentObject.replicas nil) }}
|
||||
replicas: {{ $deploymentObject.replicas }}
|
||||
{{- end }}
|
||||
{{- else }}
|
||||
replicas: 1
|
||||
{{- end }}
|
||||
strategy:
|
||||
type: {{ $deploymentObject.strategy }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue