File tree Expand file tree Collapse file tree 3 files changed +15
-2
lines changed
helm/azure-resourcemanager-exporter Expand file tree Collapse file tree 3 files changed +15
-2
lines changed Original file line number Diff line number Diff line change @@ -50,4 +50,4 @@ Return the appropriate apiVersion for ingress.
50
50
{ {- else -} }
51
51
{ {- print " extensions/v1beta1" -} }
52
52
{ {- end -} }
53
- { {- end -} }
53
+ { {- end -} }
Original file line number Diff line number Diff line change @@ -2,11 +2,18 @@ apiVersion: apps/v1
2
2
kind : Deployment
3
3
metadata :
4
4
name : {{ template "azure-resourcemanager-exporter.fullname" . }}
5
+ {{- with .Values.annotations }}
6
+ annotations :
7
+ {{- toYaml . | nindent 4 }}
8
+ {{- end }}
5
9
labels :
6
10
app.kubernetes.io/name : {{ include "azure-resourcemanager-exporter.name" . }}
7
11
app.kubernetes.io/instance : {{ .Release.Name }}
8
12
app.kubernetes.io/managed-by : {{ .Release.Service }}
9
13
helm.sh/chart : {{ include "azure-resourcemanager-exporter.chart" . }}
14
+ {{- with .Values.labels }}
15
+ {{- toYaml . | nindent 4 }}
16
+ {{- end }}
10
17
spec :
11
18
replicas : {{ .Values.replicas }}
12
19
selector :
Original file line number Diff line number Diff line change 1
1
restartPolicy : Always
2
2
3
3
extraEnv : {}
4
- # AZURE_LOCATION: ""
4
+ # # You can add environments vars to configure the exporter, like the AZURE_LOCATION or the SCRAPE_TIME
5
+ # # A list of all the environment vars is available in this doc: https://github.com/webdevops/azure-resourcemanager-exporter#configuration
6
+ # #
7
+ # AZURE_LOCATION: ""
5
8
6
9
strategy :
7
10
rollingUpdate :
20
23
# pullSecrets:
21
24
# - myRegistrKeySecretName
22
25
26
+ # # Annotations and labels to add to the deployment
27
+ annotations : {}
28
+ labels : {}
23
29
24
30
# # User to run container as
25
31
runAsUser : 1000
You can’t perform that action at this time.
0 commit comments