Skip to content

Commit 8ade8c0

Browse files
committed
update formatting
1 parent 84fe725 commit 8ade8c0

File tree

2 files changed

+20
-22
lines changed

2 files changed

+20
-22
lines changed

FETCH_MIGRATION.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Fetch migration
22

3-
Request is fully deprecated requiring us to switch libraries (see [#414](https://github.com/kubernetes-client/javascript/issues/414) for more information). There were a few [different options](https://github.com/kubernetes-client/javascript/issues/414#issuecomment-978031677) for how this swap should be implemented but moving to a new open-api-generator option was chosen since this project will acquire the advantages of an up-to-date open-api-generator version.
3+
Request is fully deprecated requiring us to switch libraries (see [#414](https://github.com/kubernetes-client/javascript/issues/414) for more information). There were a few [different options](https://github.com/kubernetes-client/javascript/issues/414#issuecomment-978031677) for how this swap should be implemented but moving to a new open-api generator option was chosen since this project will acquire the advantages of an up-to-date open-api generator version.
44

55
Fetch was selected as the new HTTP request library for this project due to its widespread adoption across the JavaScript ecosystem. Additonally, potential future updates to this project could allow this client to be available with browser JavaScript since fetch is native to the browser ([#165](https://github.com/kubernetes-client/javascript/issues/165)).
66

README.md

Lines changed: 19 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,6 @@ k8sApi.createNamespace(namespace).then(
6666
```
6767

6868
## Create a cluster configuration programatically
69-
7069
```javascript
7170
const k8s = require('@kubernetes/client-node');
7271

@@ -115,31 +114,30 @@ release, we will increment the minor version whenever we update the minor Kubern
115114
Generally speaking newer clients will work with older Kubernetes, but compatability isn't 100% guaranteed.
116115

117116
| client version | older versions | 1.18 | 1.19 | 1.20 | 1.21 | 1.22 |
118-
| -------------- | -------------- | ---- | ---- | ---- | ---- | ---- |
119-
| 0.12.x | - | | x | x | x | x |
120-
| 0.13.x | - | + | | x | x | x |
121-
| 0.14.x | - | + | + | | x | x |
122-
| 0.15.x | - | + | + | + | | x |
123-
| 0.16.x | - | + | + | + | + | |
117+
|----------------|----------------|------|------|------|------|------|
118+
| 0.12.x | - | | x | x | x | x |
119+
| 0.13.x | - | + | | x | x | x |
120+
| 0.14.x | - | + | + | | x | x |
121+
| 0.15.x | - | + | + | + | | x |
122+
| 0.16.x | - | + | + | + | + | |
124123

125124
Key:
126125

127-
- `` Exactly the same features / API objects in both javascript-client and the Kubernetes
128-
version.
129-
- `+` javascript-client has features or api objects that may not be present in the
130-
Kubernetes cluster, but everything they have in common will work.
131-
- `-` The Kubernetes cluster has features the javascript-client library can't use
132-
(additional API objects, etc).
133-
- `x` The Kubernetes cluster has no guarantees to support the API client of
134-
this version, as it only promises _n_-2 version support. It is not tested,
135-
and operations using API versions that have been deprecated and removed in
136-
later server versions won't function correctly.
126+
* `` Exactly the same features / API objects in both javascript-client and the Kubernetes
127+
version.
128+
* `+` javascript-client has features or api objects that may not be present in the
129+
Kubernetes cluster, but everything they have in common will work.
130+
* `-` The Kubernetes cluster has features the javascript-client library can't use
131+
(additional API objects, etc).
132+
* `x` The Kubernetes cluster has no guarantees to support the API client of
133+
this version, as it only promises _n_-2 version support. It is not tested,
134+
and operations using API versions that have been deprecated and removed in
135+
later server versions won't function correctly.
137136

138137
# Known Issues
139-
140-
- Multiple kubeconfigs are not completely supported.
141-
Credentials are cached based on the kubeconfig username and these can collide across configs.
142-
Here is the related [issue](https://github.com/kubernetes-client/javascript/issues/592).
138+
* Multiple kubeconfigs are not completely supported.
139+
Credentials are cached based on the kubeconfig username and these can collide across configs.
140+
Here is the related [issue](https://github.com/kubernetes-client/javascript/issues/592).
143141

144142
# Development
145143

0 commit comments

Comments
 (0)