Skip to content

Commit ef4732c

Browse files
committed
New pre-commit hook and newlines in charts
The newlines come from a new helmify version.
1 parent d43a4e9 commit ef4732c

12 files changed

Lines changed: 13 additions & 12 deletions

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ repos:
1010
exclude: ^charts/.*
1111
- id: check-added-large-files
1212
- repo: https://github.com/golangci/golangci-lint
13-
rev: v1.64.5
13+
rev: v2.1.6
1414
hooks:
1515
- id: golangci-lint
1616
- repo: https://github.com/dnephin/pre-commit-golang
@@ -25,7 +25,7 @@ repos:
2525
hooks:
2626
- id: reuse
2727
- repo: https://github.com/gruntwork-io/pre-commit
28-
rev: v0.1.25
28+
rev: v0.1.29
2929
hooks:
3030
- id: helmlint
3131
- repo: local

charts/openstack-hypervisor-operator/crds/eviction-crd.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,3 +154,4 @@ spec:
154154
storage: true
155155
subresources:
156156
status: {}
157+

charts/openstack-hypervisor-operator/templates/deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,4 +65,4 @@ spec:
6565
securityContext: {{- toYaml .Values.controllerManager.podSecurityContext | nindent
6666
8 }}
6767
serviceAccountName: {{ include "openstack-hypervisor-operator.fullname" . }}-controller-manager
68-
terminationGracePeriodSeconds: 10
68+
terminationGracePeriodSeconds: 10

charts/openstack-hypervisor-operator/templates/eviction-editor-rbac.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@ rules:
2222
resources:
2323
- evictions/status
2424
verbs:
25-
- get
25+
- get

charts/openstack-hypervisor-operator/templates/eviction-viewer-rbac.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@ rules:
1818
resources:
1919
- evictions/status
2020
verbs:
21-
- get
21+
- get

charts/openstack-hypervisor-operator/templates/leader-election-rbac.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,4 +50,4 @@ roleRef:
5050
subjects:
5151
- kind: ServiceAccount
5252
name: '{{ include "openstack-hypervisor-operator.fullname" . }}-controller-manager'
53-
namespace: '{{ .Release.Namespace }}'
53+
namespace: '{{ .Release.Namespace }}'

charts/openstack-hypervisor-operator/templates/manager-rbac.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,4 +54,4 @@ roleRef:
5454
subjects:
5555
- kind: ServiceAccount
5656
name: '{{ include "openstack-hypervisor-operator.fullname" . }}-controller-manager'
57-
namespace: '{{ .Release.Namespace }}'
57+
namespace: '{{ .Release.Namespace }}'

charts/openstack-hypervisor-operator/templates/metrics-auth-rbac.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,4 @@ roleRef:
3131
subjects:
3232
- kind: ServiceAccount
3333
name: '{{ include "openstack-hypervisor-operator.fullname" . }}-controller-manager'
34-
namespace: '{{ .Release.Namespace }}'
34+
namespace: '{{ .Release.Namespace }}'

charts/openstack-hypervisor-operator/templates/metrics-reader-rbac.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ rules:
88
- nonResourceURLs:
99
- /metrics
1010
verbs:
11-
- get
11+
- get

charts/openstack-hypervisor-operator/templates/metrics-service.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ spec:
1111
control-plane: controller-manager
1212
{{- include "openstack-hypervisor-operator.selectorLabels" . | nindent 4 }}
1313
ports:
14-
{{- .Values.metricsService.ports | toYaml | nindent 2 }}
14+
{{- .Values.metricsService.ports | toYaml | nindent 2 }}

0 commit comments

Comments
 (0)