Skip to content

Commit 541808c

Browse files
committed
[azure-resourcemanager-exporter] bump 23.6.0
Signed-off-by: Markus Blaschke <mblaschke82@gmail.com>
1 parent 1620a40 commit 541808c

File tree

4 files changed

+35
-4
lines changed

4 files changed

+35
-4
lines changed

charts/azure-resourcemanager-exporter/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ name: azure-resourcemanager-exporter
33
type: application
44
description: A Helm chart for azure-resourcemanager-exporter
55
home: https://github.com/webdevops/azure-resourcemanager-exporter
6-
version: 1.1.1
6+
version: 1.2.0
77
# renovate: image=webdevops/azure-resourcemanager-exporter
8-
appVersion: 22.11.0
8+
appVersion: 23.6.0
99
keywords:
1010
- azure-resourcemanager-exporter
1111
maintainers:
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{{- if not .Values.config.existingConfigMap }}
2+
apiVersion: v1
3+
kind: ConfigMap
4+
metadata:
5+
name: {{ include "azure-resourcemanager-exporter.fullname" . }}
6+
labels:
7+
{{- include "azure-resourcemanager-exporter.labels" . | nindent 4 }}
8+
data:
9+
config.yaml: |- {{ toYaml .Values.config | required "Config must be specified" | nindent 4 }}
10+
11+
{{- end }}

charts/azure-resourcemanager-exporter/templates/deployment.yaml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,20 @@ spec:
6262
{{- with .Values.extraEnv }}
6363
{{- tpl (toYaml .) $ | nindent 12 }}
6464
{{- end }}
65+
{{- if not .Values.config.existingConfigMap }}
66+
- name: CONFIG
67+
value: "/config/config.yaml"
68+
{{- end }}
6569
ports:
6670
- containerPort: 8080
6771
name: http-metrics
6872
protocol: TCP
73+
volumeMounts:
74+
- mountPath: /config/
75+
name: config
76+
{{- with .Values.extraVolumeMounts }}
77+
{{- toYaml . | nindent 12 }}
78+
{{- end }}
6979

7080
{{- with .Values.resources }}
7181
resources: {{ toYaml . | nindent 12 }}
@@ -89,3 +99,10 @@ spec:
8999
{{- with .Values.tolerations }}
90100
tolerations: {{ toYaml . | nindent 8 }}
91101
{{- end }}
102+
volumes:
103+
- name: config
104+
configMap:
105+
name: {{ .Values.config.existingConfigMap | default (include "azure-resourcemanager-exporter.fullname" .) }}
106+
{{- with .Values.extraVolumes }}
107+
{{- toYaml . | nindent 8 }}
108+
{{- end }}

charts/azure-resourcemanager-exporter/values.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,11 @@ secretsEnableTemplateFunctions: false
3131
secrets: {}
3232
# secretName: secretValue
3333

34+
existingConfigMap: ""
35+
config: {}
36+
37+
extraVolumes: []
38+
extraVolumeMounts: []
3439

3540
resources:
3641
limits:
@@ -49,8 +54,6 @@ tolerations: []
4954
restartPolicy: Always
5055
priorityClassName: ""
5156

52-
config: ""
53-
5457
startupProbe:
5558
tcpSocket:
5659
port: http-metrics

0 commit comments

Comments
 (0)