mirror of
https://github.com/2martens/cloud-configuration.git
synced 2026-10-17 16:46:51 +02:00
Update template possibilities
This commit is contained in:
@@ -2,7 +2,7 @@ apiVersion: v2
|
||||
name: template
|
||||
description: A Helm library chart containing common templates, keeping application templates short
|
||||
type: library
|
||||
version: 0.1.15
|
||||
version: 0.1.16
|
||||
maintainers:
|
||||
- name: Jim Martens
|
||||
url: https://2martens.de
|
||||
@@ -10,8 +10,8 @@ sources:
|
||||
- https://git.2martens.de/2martens/cloud-configuration
|
||||
annotations:
|
||||
artifacthub.io/changes: |
|
||||
- kind: removed
|
||||
description: Removed pointless argo config
|
||||
- kind: added
|
||||
description: Added revisionHistoryLimit config
|
||||
artifacthub.io/signKey: |
|
||||
fingerprint: F0F153B65BAD467201D7544E47393ABD1F96B7C8
|
||||
url: https://mafiasi.de/pks/key/47393ABD1F96B7C8.asc
|
||||
|
||||
@@ -2,6 +2,8 @@
|
||||
# the default for your application differs. The image.repository is a prime candidate for that.
|
||||
|
||||
replicaCount: 1
|
||||
# revisionHistoryLimit: can be configured to reduce/increase amount of stored replica sets for rollback
|
||||
revisionHistoryLimit: 10
|
||||
|
||||
image:
|
||||
repository: 2martens/template
|
||||
|
||||
@@ -6,6 +6,7 @@ metadata:
|
||||
labels:
|
||||
{{- include "template.labels" . | nindent 4 }}
|
||||
spec:
|
||||
revisionHistoryLimit: {{ .Values.revisionHistoryLimit }}
|
||||
{{- if not .Values.autoscaling.enabled }}
|
||||
replicas: {{ .Values.replicaCount }}
|
||||
{{- end }}
|
||||
|
||||
Reference in New Issue
Block a user