Skip to content

Commit 60cd8b9

Browse files
committed
Fix pretty
1 parent 77e94ff commit 60cd8b9

4 files changed

Lines changed: 171 additions & 47 deletions

File tree

.github/arm-leases/postgresql/Microsoft.DBforPostgreSQL/PostgreSql/lease.yaml

Lines changed: 0 additions & 5 deletions
This file was deleted.

specification/kubernetesconfiguration/resource-manager/Microsoft.KubernetesConfiguration/KubernetesResources/preview/2026-06-15-preview/examples/GetKubernetesResources-DaemonSet.json

Lines changed: 78 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -35,43 +35,99 @@
3535
"generation": 1,
3636
"creationTimestamp": "2026-01-01T00:00:00Z",
3737
"labels": [
38-
{ "name": "k8s-app", "value": "kube-proxy" },
39-
{ "name": "component", "value": "kube-proxy" }
38+
{
39+
"name": "k8s-app",
40+
"value": "kube-proxy"
41+
},
42+
{
43+
"name": "component",
44+
"value": "kube-proxy"
45+
}
4046
]
4147
},
4248
"spec": {
4349
"selector": [
44-
{ "name": "k8s-app", "value": "kube-proxy" }
50+
{
51+
"name": "k8s-app",
52+
"value": "kube-proxy"
53+
}
4554
],
4655
"strategyType": "RollingUpdate",
4756
"maxUnavailable": "1",
4857
"serviceAccountName": "kube-proxy",
4958
"tolerations": [
50-
{ "key": "node.kubernetes.io/not-ready", "operator": "Exists", "effect": "NoSchedule" },
51-
{ "key": "node.kubernetes.io/unreachable", "operator": "Exists", "effect": "NoSchedule" },
52-
{ "key": "node.kubernetes.io/disk-pressure", "operator": "Exists", "effect": "NoSchedule" },
53-
{ "key": "node.kubernetes.io/memory-pressure", "operator": "Exists", "effect": "NoSchedule" },
54-
{ "key": "node.kubernetes.io/unschedulable", "operator": "Exists", "effect": "NoSchedule" }
59+
{
60+
"key": "node.kubernetes.io/not-ready",
61+
"operator": "Exists",
62+
"effect": "NoSchedule"
63+
},
64+
{
65+
"key": "node.kubernetes.io/unreachable",
66+
"operator": "Exists",
67+
"effect": "NoSchedule"
68+
},
69+
{
70+
"key": "node.kubernetes.io/disk-pressure",
71+
"operator": "Exists",
72+
"effect": "NoSchedule"
73+
},
74+
{
75+
"key": "node.kubernetes.io/memory-pressure",
76+
"operator": "Exists",
77+
"effect": "NoSchedule"
78+
},
79+
{
80+
"key": "node.kubernetes.io/unschedulable",
81+
"operator": "Exists",
82+
"effect": "NoSchedule"
83+
}
5584
],
5685
"volumes": [
57-
{ "name": "kube-proxy", "sourceType": "configMap", "source": "kube-proxy" },
58-
{ "name": "xtables-lock", "sourceType": "hostPath", "source": "/run/xtables.lock" },
59-
{ "name": "lib-modules", "sourceType": "hostPath", "source": "/lib/modules" }
86+
{
87+
"name": "kube-proxy",
88+
"sourceType": "configMap",
89+
"source": "kube-proxy"
90+
},
91+
{
92+
"name": "xtables-lock",
93+
"sourceType": "hostPath",
94+
"source": "/run/xtables.lock"
95+
},
96+
{
97+
"name": "lib-modules",
98+
"sourceType": "hostPath",
99+
"source": "/lib/modules"
100+
}
60101
],
61102
"containers": [
62103
{
63104
"name": "kube-proxy",
64105
"image": "registry.k8s.io/kube-proxy:v1.29.0",
65106
"imagePullPolicy": "IfNotPresent",
66107
"resources": {
67-
"requests": { "cpu": "100m", "memory": "128Mi" }
108+
"requests": {
109+
"cpu": "100m",
110+
"memory": "128Mi"
111+
}
68112
},
69113
"volumeMounts": [
70-
{ "name": "kube-proxy", "mountPath": "/var/lib/kube-proxy" },
71-
{ "name": "xtables-lock", "mountPath": "/run/xtables.lock" },
72-
{ "name": "lib-modules", "mountPath": "/lib/modules", "readOnly": true }
114+
{
115+
"name": "kube-proxy",
116+
"mountPath": "/var/lib/kube-proxy"
117+
},
118+
{
119+
"name": "xtables-lock",
120+
"mountPath": "/run/xtables.lock"
121+
},
122+
{
123+
"name": "lib-modules",
124+
"mountPath": "/lib/modules",
125+
"readOnly": true
126+
}
73127
],
74-
"securityContext": { "privileged": true }
128+
"securityContext": {
129+
"privileged": true
130+
}
75131
}
76132
]
77133
},
@@ -85,7 +141,11 @@
85141
"updatedReplicas": 3,
86142
"observedGeneration": 1,
87143
"conditions": [
88-
{ "type": "Available", "status": "True", "lastTransitionTime": "2026-01-01T00:02:00Z" }
144+
{
145+
"type": "Available",
146+
"status": "True",
147+
"lastTransitionTime": "2026-01-01T00:02:00Z"
148+
}
89149
]
90150
},
91151
"events": [],
@@ -94,4 +154,4 @@
94154
}
95155
}
96156
}
97-
}
157+
}

specification/kubernetesconfiguration/resource-manager/Microsoft.KubernetesConfiguration/KubernetesResources/preview/2026-06-15-preview/examples/GetKubernetesResources-Pod.json

Lines changed: 84 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,14 @@
3535
"generation": 1,
3636
"creationTimestamp": "2026-04-01T08:05:00Z",
3737
"labels": [
38-
{ "name": "k8s-app", "value": "kube-dns" },
39-
{ "name": "pod-template-hash", "value": "5d78c9869d" }
38+
{
39+
"name": "k8s-app",
40+
"value": "kube-dns"
41+
},
42+
{
43+
"name": "pod-template-hash",
44+
"value": "5d78c9869d"
45+
}
4046
],
4147
"ownerReferences": [
4248
{
@@ -60,33 +66,64 @@
6066
"runAsNonRoot": true
6167
},
6268
"tolerations": [
63-
{ "key": "CriticalAddonsOnly", "operator": "Exists" },
69+
{
70+
"key": "CriticalAddonsOnly",
71+
"operator": "Exists"
72+
},
6473
{
6574
"key": "node-role.kubernetes.io/control-plane",
6675
"operator": "Exists",
6776
"effect": "NoSchedule"
6877
}
6978
],
7079
"volumes": [
71-
{ "name": "config-volume", "sourceType": "configMap", "source": "coredns" },
72-
{ "name": "kube-api-access", "sourceType": "projected" }
80+
{
81+
"name": "config-volume",
82+
"sourceType": "configMap",
83+
"source": "coredns"
84+
},
85+
{
86+
"name": "kube-api-access",
87+
"sourceType": "projected"
88+
}
7389
],
7490
"containers": [
7591
{
7692
"name": "coredns",
7793
"image": "registry.k8s.io/coredns/coredns:v1.11.1",
7894
"imagePullPolicy": "IfNotPresent",
7995
"ports": [
80-
{ "name": "dns", "containerPort": 53, "protocol": "UDP" },
81-
{ "name": "dns-tcp", "containerPort": 53, "protocol": "TCP" },
82-
{ "name": "metrics", "containerPort": 9153, "protocol": "TCP" }
96+
{
97+
"name": "dns",
98+
"containerPort": 53,
99+
"protocol": "UDP"
100+
},
101+
{
102+
"name": "dns-tcp",
103+
"containerPort": 53,
104+
"protocol": "TCP"
105+
},
106+
{
107+
"name": "metrics",
108+
"containerPort": 9153,
109+
"protocol": "TCP"
110+
}
83111
],
84112
"resources": {
85-
"requests": { "cpu": "100m", "memory": "70Mi" },
86-
"limits": { "memory": "170Mi" }
113+
"requests": {
114+
"cpu": "100m",
115+
"memory": "70Mi"
116+
},
117+
"limits": {
118+
"memory": "170Mi"
119+
}
87120
},
88121
"volumeMounts": [
89-
{ "name": "config-volume", "mountPath": "/etc/coredns", "readOnly": true },
122+
{
123+
"name": "config-volume",
124+
"mountPath": "/etc/coredns",
125+
"readOnly": true
126+
},
90127
{
91128
"name": "kube-api-access",
92129
"mountPath": "/var/run/secrets/kubernetes.io/serviceaccount",
@@ -97,8 +134,12 @@
97134
"allowPrivilegeEscalation": false,
98135
"readOnlyRootFilesystem": true,
99136
"capabilities": {
100-
"add": ["NET_BIND_SERVICE"],
101-
"drop": ["ALL"]
137+
"add": [
138+
"NET_BIND_SERVICE"
139+
],
140+
"drop": [
141+
"ALL"
142+
]
102143
}
103144
},
104145
"livenessProbe": {
@@ -117,18 +158,38 @@
117158
"status": {
118159
"phase": "Running",
119160
"podIp": "10.244.0.3",
120-
"podIps": ["10.244.0.3"],
161+
"podIps": [
162+
"10.244.0.3"
163+
],
121164
"hostIp": "10.240.0.5",
122-
"hostIps": ["10.240.0.5"],
165+
"hostIps": [
166+
"10.240.0.5"
167+
],
123168
"startTime": "2026-04-01T08:05:02Z",
124169
"qosClass": "Burstable",
125170
"reason": "",
126171
"initContainerStatuses": [],
127172
"conditions": [
128-
{ "type": "Initialized", "status": "True", "lastTransitionTime": "2026-04-01T08:05:02Z" },
129-
{ "type": "Ready", "status": "True", "lastTransitionTime": "2026-04-01T08:05:14Z" },
130-
{ "type": "ContainersReady", "status": "True", "lastTransitionTime": "2026-04-01T08:05:14Z" },
131-
{ "type": "PodScheduled", "status": "True", "lastTransitionTime": "2026-04-01T08:05:00Z" }
173+
{
174+
"type": "Initialized",
175+
"status": "True",
176+
"lastTransitionTime": "2026-04-01T08:05:02Z"
177+
},
178+
{
179+
"type": "Ready",
180+
"status": "True",
181+
"lastTransitionTime": "2026-04-01T08:05:14Z"
182+
},
183+
{
184+
"type": "ContainersReady",
185+
"status": "True",
186+
"lastTransitionTime": "2026-04-01T08:05:14Z"
187+
},
188+
{
189+
"type": "PodScheduled",
190+
"status": "True",
191+
"lastTransitionTime": "2026-04-01T08:05:00Z"
192+
}
132193
],
133194
"containerStatuses": [
134195
{
@@ -139,7 +200,9 @@
139200
"image": "registry.k8s.io/coredns/coredns:v1.11.1",
140201
"containerId": "containerd://b2c3d4e5f6a7b2c3d4e5f6a7b2c3d4e5f6a7b2c3d4e5f6a7b2c3d4e5f6a7b2c3",
141202
"state": {
142-
"running": { "startedAt": "2026-04-01T08:05:13Z" }
203+
"running": {
204+
"startedAt": "2026-04-01T08:05:13Z"
205+
}
143206
}
144207
}
145208
]
@@ -172,4 +235,4 @@
172235
}
173236
}
174237
}
175-
}
238+
}

specification/kubernetesconfiguration/resource-manager/Microsoft.KubernetesConfiguration/KubernetesResources/preview/2026-06-15-preview/examples/GetKubernetesResources-ServiceAccount.json

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,14 @@
3434
"resourceVersion": "890123",
3535
"creationTimestamp": "2026-01-01T00:00:00Z",
3636
"labels": [
37-
{ "name": "k8s-app", "value": "kube-dns" },
38-
{ "name": "kubernetes.io/cluster-service", "value": "true" }
37+
{
38+
"name": "k8s-app",
39+
"value": "kube-dns"
40+
},
41+
{
42+
"name": "kubernetes.io/cluster-service",
43+
"value": "true"
44+
}
3945
],
4046
"annotations": [
4147
{
@@ -56,4 +62,4 @@
5662
}
5763
}
5864
}
59-
}
65+
}

0 commit comments

Comments
 (0)