Skip to content

Commit ca49e1f

Browse files
authored
Merge pull request #8943 from theadzik/master
fix: vertical-pod-autoscaler helm chart updater extraArgs indentation
2 parents 91bae6b + faeb48b commit ca49e1f

File tree

8 files changed

+260
-260
lines changed

8 files changed

+260
-260
lines changed

vertical-pod-autoscaler/charts/vertical-pod-autoscaler/templates/admission-controller-clusterrole.yaml

Lines changed: 36 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -6,40 +6,40 @@ metadata:
66
labels:
77
{{- include "vertical-pod-autoscaler.admissionController.labels" . | nindent 4 }}
88
rules:
9-
- apiGroups:
10-
- ""
11-
resources:
12-
- pods
13-
- configmaps
14-
- nodes
15-
- limitranges
16-
verbs:
17-
- get
18-
- list
19-
- watch
20-
- apiGroups:
21-
- admissionregistration.k8s.io
22-
resources:
23-
- mutatingwebhookconfigurations
24-
verbs:
25-
- list
26-
- get
27-
- apiGroups:
28-
- autoscaling.k8s.io
29-
resources:
30-
- verticalpodautoscalers
31-
verbs:
32-
- get
33-
- list
34-
- watch
35-
- apiGroups:
36-
- coordination.k8s.io
37-
resources:
38-
- leases
39-
verbs:
40-
- create
41-
- update
42-
- get
43-
- list
44-
- watch
9+
- apiGroups:
10+
- ""
11+
resources:
12+
- pods
13+
- configmaps
14+
- nodes
15+
- limitranges
16+
verbs:
17+
- get
18+
- list
19+
- watch
20+
- apiGroups:
21+
- admissionregistration.k8s.io
22+
resources:
23+
- mutatingwebhookconfigurations
24+
verbs:
25+
- list
26+
- get
27+
- apiGroups:
28+
- autoscaling.k8s.io
29+
resources:
30+
- verticalpodautoscalers
31+
verbs:
32+
- get
33+
- list
34+
- watch
35+
- apiGroups:
36+
- coordination.k8s.io
37+
resources:
38+
- leases
39+
verbs:
40+
- create
41+
- update
42+
- get
43+
- list
44+
- watch
4545
{{- end -}}

vertical-pod-autoscaler/charts/vertical-pod-autoscaler/templates/admission-controller-clusterrolebinding.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ roleRef:
1010
kind: ClusterRole
1111
name: {{ include "vertical-pod-autoscaler.admissionController.fullname" . }}
1212
subjects:
13-
- kind: ServiceAccount
14-
name: {{ include "vertical-pod-autoscaler.admissionController.fullname" . }}
15-
namespace: {{ .Release.Namespace }}
13+
- kind: ServiceAccount
14+
name: {{ include "vertical-pod-autoscaler.admissionController.fullname" . }}
15+
namespace: {{ .Release.Namespace }}
1616
{{- end -}}

vertical-pod-autoscaler/charts/vertical-pod-autoscaler/templates/admission-controller-deployment.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,10 +61,10 @@ spec:
6161
{{- toYaml . | nindent 12 }}
6262
{{- end }}
6363
args:
64-
- --v=4
65-
- --stderrthreshold=info
64+
- --v=4
65+
- --stderrthreshold=info
6666
{{- with .Values.admissionController.extraArgs }}
67-
{{- toYaml . | nindent 10 }}
67+
{{- toYaml . | nindent 12 }}
6868
{{- end }}
6969
ports:
7070
- containerPort: 8000
@@ -98,5 +98,5 @@ spec:
9898
{{ toYaml . | nindent 12 | trim }}
9999
{{- end }}
100100
volumes:
101-
{{- toYaml .Values.admissionController.volumes | nindent 12 }}
101+
{{- toYaml .Values.admissionController.volumes | nindent 8 }}
102102
{{- end -}}

vertical-pod-autoscaler/charts/vertical-pod-autoscaler/templates/recommender-clusterrolebindings.yaml

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ roleRef:
1111
kind: ClusterRole
1212
name: {{ include "vertical-pod-autoscaler.recommender.fullname" . }}-metrics-reader
1313
subjects:
14-
- kind: ServiceAccount
15-
name: {{ include "vertical-pod-autoscaler.recommender.fullname" . }}
16-
namespace: {{ .Release.Namespace }}
14+
- kind: ServiceAccount
15+
name: {{ include "vertical-pod-autoscaler.recommender.fullname" . }}
16+
namespace: {{ .Release.Namespace }}
1717
---
1818
apiVersion: rbac.authorization.k8s.io/v1
1919
kind: ClusterRoleBinding
@@ -26,9 +26,9 @@ roleRef:
2626
kind: ClusterRole
2727
name: {{ include "vertical-pod-autoscaler.recommender.fullname" . }}-actor
2828
subjects:
29-
- kind: ServiceAccount
30-
name: {{ include "vertical-pod-autoscaler.recommender.fullname" . }}
31-
namespace: {{ .Release.Namespace }}
29+
- kind: ServiceAccount
30+
name: {{ include "vertical-pod-autoscaler.recommender.fullname" . }}
31+
namespace: {{ .Release.Namespace }}
3232
---
3333
apiVersion: rbac.authorization.k8s.io/v1
3434
kind: ClusterRoleBinding
@@ -41,9 +41,9 @@ roleRef:
4141
kind: ClusterRole
4242
name: {{ include "vertical-pod-autoscaler.recommender.fullname" . }}-status-actor
4343
subjects:
44-
- kind: ServiceAccount
45-
name: {{ include "vertical-pod-autoscaler.recommender.fullname" . }}
46-
namespace: {{ .Release.Namespace }}
44+
- kind: ServiceAccount
45+
name: {{ include "vertical-pod-autoscaler.recommender.fullname" . }}
46+
namespace: {{ .Release.Namespace }}
4747
---
4848
apiVersion: rbac.authorization.k8s.io/v1
4949
kind: ClusterRoleBinding
@@ -56,9 +56,9 @@ roleRef:
5656
kind: ClusterRole
5757
name: {{ include "vertical-pod-autoscaler.recommender.fullname" . }}-checkpoint-actor
5858
subjects:
59-
- kind: ServiceAccount
60-
name: {{ include "vertical-pod-autoscaler.recommender.fullname" . }}
61-
namespace: {{ .Release.Namespace }}
59+
- kind: ServiceAccount
60+
name: {{ include "vertical-pod-autoscaler.recommender.fullname" . }}
61+
namespace: {{ .Release.Namespace }}
6262
---
6363
apiVersion: rbac.authorization.k8s.io/v1
6464
kind: ClusterRoleBinding
@@ -71,8 +71,8 @@ roleRef:
7171
kind: ClusterRole
7272
name: {{ include "vertical-pod-autoscaler.recommender.fullname" . }}-target-reader
7373
subjects:
74-
- kind: ServiceAccount
75-
name: {{ include "vertical-pod-autoscaler.recommender.fullname" . }}
76-
namespace: {{ .Release.Namespace }}
74+
- kind: ServiceAccount
75+
name: {{ include "vertical-pod-autoscaler.recommender.fullname" . }}
76+
namespace: {{ .Release.Namespace }}
7777
{{- end -}}
7878

0 commit comments

Comments
 (0)