Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
iabudiab committed Jun 4, 2023
1 parent 43f528b commit 73bec95
Showing 1 changed file with 13 additions and 11 deletions.
24 changes: 13 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
<a href="https://swiftpackageindex.com/swiftkube/client">
<img src="https://img.shields.io/endpoint?url=https%3A%2F%2Fswiftpackageindex.com%2Fapi%2Fpackages%2Fswiftkube%2Fclient%2Fbadge%3Ftype%3Dplatforms"/>
</a>
<a href="https://v1-24.docs.kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/">
<img src="https://img.shields.io/badge/Kubernetes-1.24.10-blue.svg" alt="Kubernetes 1.24.10"/>
<a href="https://v1-26.docs.kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/">
<img src="https://img.shields.io/badge/Kubernetes-1.26.4-blue.svg" alt="Kubernetes 1.26.4"/>
</a>
<a href="https://swift.org/package-manager">
<img src="https://img.shields.io/badge/SwiftPM-compatible-brightgreen.svg?style=flat" alt="Swift Package Manager" />
Expand Down Expand Up @@ -68,13 +68,15 @@ on [SwiftNIO](https://github.com/apple/swift-nio) and the [AysncHTTPClient](http

## Compatibility Matrix

| | 1.18.9 | 1.19.8 | 1.20.9 | 1.22.7 | 1.24.8 |
|-------------------|--------|--------|--------|--------|--------|
| `0.6.x` || - | - | - | - |
| `0.7.x...0.9.x` | - || - | - | - |
| `0.10.x` | - | - || - | - |
| `0.11.x` | - | - | - || - |
| `0.12.x...0.13.x` | - | - | - | - ||
| | 1.18.9 | 1.19.8 | 1.20.9 | 1.22.7 | 1.24.8 | 1.24.10 | 1.26.4 |
|-------------------|--------|--------|--------|--------|--------|---------|--------|
| `0.6.x` || - | - | - | - | - | - |
| `0.7.x...0.9.x` | - || - | - | - | - | - |
| `0.10.x` | - | - || - | - | - | - |
| `0.11.x` | - | - | - || - | - | - |
| `0.12.x...0.13.x` | - | - | - | - || - | - |
| `0.14.x` | - | - | - | - | - || - |
| `0.15.x` | - | - | - | - | - | - ||

- `` Exact match of API objects in both client and the Kubernetes version.
- `-` API objects mismatches either due to the removal of old API or the addition of new API. However, everything the
Expand Down Expand Up @@ -543,7 +545,7 @@ app.get("metrics") { request -> EventLoopFuture<String> in
To use the `SwiftkubeClient` in a SwiftPM project, add the following line to the dependencies in your `Package.swift` file:

```swift
.package(name: "SwiftkubeClient", url: "https://github.com/swiftkube/client.git", from: "0.12.0")
.package(name: "SwiftkubeClient", url: "https://github.com/swiftkube/client.git", from: "0.15.0")
```

then include it as a dependency in your target:
Expand All @@ -554,7 +556,7 @@ import PackageDescription
let package = Package(
// ...
dependencies: [
.package(name: "SwiftkubeClient", url: "https://github.com/swiftkube/client.git", from: "0.12.0")
.package(name: "SwiftkubeClient", url: "https://github.com/swiftkube/client.git", from: "0.15.0")
],
targets: [
.target(name: "<your-target>", dependencies: [
Expand Down

0 comments on commit 73bec95

Please sign in to comment.