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