Skip to content

Commit e3fbe3f

Browse files
committed
Fix YAML formatting and indentation in manifest files
- Add document start markers (---) to all YAML files - Fix indentation errors throughout manifests - Resolve line length violations - Correct YAML list formatting - Update image name to remove -amd64 suffix
1 parent 50220e8 commit e3fbe3f

14 files changed

+361
-347
lines changed

examples/autosharding/cluster-role-binding.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
---
12
apiVersion: rbac.authorization.k8s.io/v1
23
kind: ClusterRoleBinding
34
metadata:
@@ -11,6 +12,6 @@ roleRef:
1112
kind: ClusterRole
1213
name: kube-state-metrics
1314
subjects:
14-
- kind: ServiceAccount
15-
name: kube-state-metrics
16-
namespace: kube-system
15+
- kind: ServiceAccount
16+
name: kube-state-metrics
17+
namespace: kube-system
Lines changed: 120 additions & 119 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
---
12
apiVersion: rbac.authorization.k8s.io/v1
23
kind: ClusterRole
34
metadata:
@@ -7,122 +8,122 @@ metadata:
78
app.kubernetes.io/version: 2.16.0
89
name: kube-state-metrics
910
rules:
10-
- apiGroups:
11-
- ""
12-
resources:
13-
- configmaps
14-
- secrets
15-
- nodes
16-
- pods
17-
- services
18-
- serviceaccounts
19-
- resourcequotas
20-
- replicationcontrollers
21-
- limitranges
22-
- persistentvolumeclaims
23-
- persistentvolumes
24-
- namespaces
25-
- endpoints
26-
verbs:
27-
- list
28-
- watch
29-
- apiGroups:
30-
- apps
31-
resources:
32-
- statefulsets
33-
- daemonsets
34-
- deployments
35-
- replicasets
36-
verbs:
37-
- list
38-
- watch
39-
- apiGroups:
40-
- batch
41-
resources:
42-
- cronjobs
43-
- jobs
44-
verbs:
45-
- list
46-
- watch
47-
- apiGroups:
48-
- autoscaling
49-
resources:
50-
- horizontalpodautoscalers
51-
verbs:
52-
- list
53-
- watch
54-
- apiGroups:
55-
- authentication.k8s.io
56-
resources:
57-
- tokenreviews
58-
verbs:
59-
- create
60-
- apiGroups:
61-
- authorization.k8s.io
62-
resources:
63-
- subjectaccessreviews
64-
verbs:
65-
- create
66-
- apiGroups:
67-
- policy
68-
resources:
69-
- poddisruptionbudgets
70-
verbs:
71-
- list
72-
- watch
73-
- apiGroups:
74-
- certificates.k8s.io
75-
resources:
76-
- certificatesigningrequests
77-
verbs:
78-
- list
79-
- watch
80-
- apiGroups:
81-
- discovery.k8s.io
82-
resources:
83-
- endpointslices
84-
verbs:
85-
- list
86-
- watch
87-
- apiGroups:
88-
- storage.k8s.io
89-
resources:
90-
- storageclasses
91-
- volumeattachments
92-
verbs:
93-
- list
94-
- watch
95-
- apiGroups:
96-
- admissionregistration.k8s.io
97-
resources:
98-
- mutatingwebhookconfigurations
99-
- validatingwebhookconfigurations
100-
verbs:
101-
- list
102-
- watch
103-
- apiGroups:
104-
- networking.k8s.io
105-
resources:
106-
- networkpolicies
107-
- ingressclasses
108-
- ingresses
109-
verbs:
110-
- list
111-
- watch
112-
- apiGroups:
113-
- coordination.k8s.io
114-
resources:
115-
- leases
116-
verbs:
117-
- list
118-
- watch
119-
- apiGroups:
120-
- rbac.authorization.k8s.io
121-
resources:
122-
- clusterrolebindings
123-
- clusterroles
124-
- rolebindings
125-
- roles
126-
verbs:
127-
- list
128-
- watch
11+
- apiGroups:
12+
- ""
13+
resources:
14+
- configmaps
15+
- secrets
16+
- nodes
17+
- pods
18+
- services
19+
- serviceaccounts
20+
- resourcequotas
21+
- replicationcontrollers
22+
- limitranges
23+
- persistentvolumeclaims
24+
- persistentvolumes
25+
- namespaces
26+
- endpoints
27+
verbs:
28+
- list
29+
- watch
30+
- apiGroups:
31+
- apps
32+
resources:
33+
- statefulsets
34+
- daemonsets
35+
- deployments
36+
- replicasets
37+
verbs:
38+
- list
39+
- watch
40+
- apiGroups:
41+
- batch
42+
resources:
43+
- cronjobs
44+
- jobs
45+
verbs:
46+
- list
47+
- watch
48+
- apiGroups:
49+
- autoscaling
50+
resources:
51+
- horizontalpodautoscalers
52+
verbs:
53+
- list
54+
- watch
55+
- apiGroups:
56+
- authentication.k8s.io
57+
resources:
58+
- tokenreviews
59+
verbs:
60+
- create
61+
- apiGroups:
62+
- authorization.k8s.io
63+
resources:
64+
- subjectaccessreviews
65+
verbs:
66+
- create
67+
- apiGroups:
68+
- policy
69+
resources:
70+
- poddisruptionbudgets
71+
verbs:
72+
- list
73+
- watch
74+
- apiGroups:
75+
- certificates.k8s.io
76+
resources:
77+
- certificatesigningrequests
78+
verbs:
79+
- list
80+
- watch
81+
- apiGroups:
82+
- discovery.k8s.io
83+
resources:
84+
- endpointslices
85+
verbs:
86+
- list
87+
- watch
88+
- apiGroups:
89+
- storage.k8s.io
90+
resources:
91+
- storageclasses
92+
- volumeattachments
93+
verbs:
94+
- list
95+
- watch
96+
- apiGroups:
97+
- admissionregistration.k8s.io
98+
resources:
99+
- mutatingwebhookconfigurations
100+
- validatingwebhookconfigurations
101+
verbs:
102+
- list
103+
- watch
104+
- apiGroups:
105+
- networking.k8s.io
106+
resources:
107+
- networkpolicies
108+
- ingressclasses
109+
- ingresses
110+
verbs:
111+
- list
112+
- watch
113+
- apiGroups:
114+
- coordination.k8s.io
115+
resources:
116+
- leases
117+
verbs:
118+
- list
119+
- watch
120+
- apiGroups:
121+
- rbac.authorization.k8s.io
122+
resources:
123+
- clusterrolebindings
124+
- clusterroles
125+
- rolebindings
126+
- roles
127+
verbs:
128+
- list
129+
- watch

examples/autosharding/kustomization.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
---
12
apiVersion: kustomize.config.k8s.io/v1beta1
23
kind: Kustomization
34

examples/autosharding/role-binding.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
---
12
apiVersion: rbac.authorization.k8s.io/v1
23
kind: RoleBinding
34
metadata:
@@ -12,5 +13,5 @@ roleRef:
1213
kind: Role
1314
name: kube-state-metrics
1415
subjects:
15-
- kind: ServiceAccount
16-
name: kube-state-metrics
16+
- kind: ServiceAccount
17+
name: kube-state-metrics

examples/autosharding/role.yaml

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
---
12
apiVersion: rbac.authorization.k8s.io/v1
23
kind: Role
34
metadata:
@@ -8,17 +9,17 @@ metadata:
89
name: kube-state-metrics
910
namespace: kube-system
1011
rules:
11-
- apiGroups:
12-
- ""
13-
resources:
14-
- pods
15-
verbs:
16-
- get
17-
- apiGroups:
18-
- apps
19-
resourceNames:
20-
- kube-state-metrics
21-
resources:
22-
- statefulsets
23-
verbs:
24-
- get
12+
- apiGroups:
13+
- ""
14+
resources:
15+
- pods
16+
verbs:
17+
- get
18+
- apiGroups:
19+
- apps
20+
resourceNames:
21+
- kube-state-metrics
22+
resources:
23+
- statefulsets
24+
verbs:
25+
- get

examples/autosharding/service-account.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
---
12
apiVersion: v1
23
automountServiceAccountToken: false
34
kind: ServiceAccount

examples/autosharding/service.yaml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
---
12
apiVersion: v1
23
kind: Service
34
metadata:
@@ -10,11 +11,11 @@ metadata:
1011
spec:
1112
clusterIP: None
1213
ports:
13-
- name: http-metrics
14-
port: 8080
15-
targetPort: http-metrics
16-
- name: telemetry
17-
port: 8081
18-
targetPort: telemetry
14+
- name: http-metrics
15+
port: 8080
16+
targetPort: http-metrics
17+
- name: telemetry
18+
port: 8081
19+
targetPort: telemetry
1920
selector:
2021
app.kubernetes.io/name: kube-state-metrics

0 commit comments

Comments
 (0)