Skip to content

Commit 6521cb0

Browse files
committed
Reformat to make prettier happy
1 parent b591809 commit 6521cb0

File tree

3 files changed

+11
-16
lines changed

3 files changed

+11
-16
lines changed

images/taint-manager/README.md

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,18 @@
1-
In Cluster Taint Manager
2-
==========================
1+
# In Cluster Taint Manager
32

43
To add or remove taint of a node from a in-cluster pod.
54

6-
Compile
7-
---------
5+
## Compile
86

97
```
108
GOOS=linux GOARCH=amd64 go build -o taintmanager taintmanager.go
119
```
1210

13-
Development and Debug
14-
-----------------------
11+
## Development and Debug
1512

1613
The dev/debug environment is setup by `tilt`. To start, run `tilt up`.
1714

18-
19-
Test
20-
-------
15+
## Test
2116

2217
The `test` directory contains YAML files for deploy a pod with required permissions to run taintmanager.
2318
Please change `namespace` field in `clusterrolebinding.yaml` before deploying to a cluster.

images/taint-manager/test/clusterrole.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@ kind: ClusterRole
33
metadata:
44
name: taintmanager
55
rules:
6-
- apiGroups: [""] # "" indicates the core API group
7-
resources: ["nodes"]
8-
verbs: ["get", "update"]
6+
- apiGroups: [""] # "" indicates the core API group
7+
resources: ["nodes"]
8+
verbs: ["get", "update"]

images/taint-manager/test/clusterrolebinding.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ kind: ClusterRoleBinding
55
metadata:
66
name: taintmanager
77
subjects:
8-
# You can specify more than one "subject"
9-
- kind: ServiceAccount
10-
name: taintmanager
11-
namespace: default
8+
# You can specify more than one "subject"
9+
- kind: ServiceAccount
10+
name: taintmanager
11+
namespace: default
1212
roleRef:
1313
# "roleRef" specifies the binding to a Role / ClusterRole
1414
kind: ClusterRole #this must be Role or ClusterRole

0 commit comments

Comments
 (0)