Skip to content

Commit f5e758e

Browse files
committed
tidy
1 parent bd8de2d commit f5e758e

File tree

5 files changed

+7
-4
lines changed

5 files changed

+7
-4
lines changed

Deployment/webserver.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ spec:
2121
- -m
2222
- http.server
2323
ports:
24-
- containerPort: 8000
24+
- containerPort: 8000
2525
---
2626
# https://kubernetes.io/docs/concepts/services-networking/service/
2727
apiVersion: v1

PodDisruptionBudget/pod-disruption-budget-max-unavailable.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
---
12
apiVersion: policy/v1beta1
23
kind: PodDisruptionBudget
34
metadata:

PodDisruptionBudget/pod-disruption-budget-min-available.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
---
12
apiVersion: policy/v1beta1
23
kind: PodDisruptionBudget
34
metadata:

PodPreset/pod-preset.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
---
12
apiVersion: settings.k8s.io/v1alpha1
23
kind: PodPreset
34
metadata:

ServiceAccount/service-account-pod.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ metadata:
1515
name: service-account-rolebinding
1616
namespace: default
1717
subjects:
18-
- kind: ServiceAccount
19-
name: service-account-pod-read
18+
- kind: ServiceAccount
19+
name: service-account-pod-read
2020
roleRef:
2121
kind: Role
2222
name: role-pod-read
@@ -35,7 +35,7 @@ metadata:
3535
namespace: default
3636
spec:
3737
containers:
38-
- command: ["/bin/bash","-c","apt update -y -qq && apt install -qq -y curl && curl -s https://kubernetes:443/api/v1/namespaces/default/pods --header \"Authorization: Bearer $(cat /var/run/secrets/kubernetes.io/serviceaccount/token)\" --insecure && sleep 3600"]
38+
- command: ["/bin/bash", "-c", "apt update -y -qq && apt install -qq -y curl && curl -s https://kubernetes:443/api/v1/namespaces/default/pods --header \"Authorization: Bearer $(cat /var/run/secrets/kubernetes.io/serviceaccount/token)\" --insecure && sleep 3600"]
3939
image: ubuntu
4040
name: pods-simple-container
4141
serviceAccount: service-account-pod-read

0 commit comments

Comments
 (0)