Skip to content

Commit fbd3741

Browse files
committed
Updated readme
1 parent aac3690 commit fbd3741

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

README.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,14 @@ PHP K8s
33

44
![CI](https://github.com/renoki-co/php-k8s/workflows/CI/badge.svg?branch=master)
55
[![codecov](https://codecov.io/gh/renoki-co/php-k8s/branch/master/graph/badge.svg)](https://codecov.io/gh/renoki-co/php-k8s/branch/master)
6-
[![StyleCI](https://github.styleci.io/repos/259992525/shield?branch=master)](https://github.styleci.io/repos/:styleci_code)
6+
[![StyleCI](https://github.styleci.io/repos/259992525/shield?branch=master)](https://github.styleci.io/repos/259992525)
77
[![Latest Stable Version](https://poser.pugx.org/renoki-co/php-k8s/v/stable)](https://packagist.org/packages/renoki-co/php-k8s)
88
[![Total Downloads](https://poser.pugx.org/renoki-co/php-k8s/downloads)](https://packagist.org/packages/renoki-co/php-k8s)
99
[![Monthly Downloads](https://poser.pugx.org/renoki-co/php-k8s/d/monthly)](https://packagist.org/packages/renoki-co/php-k8s)
1010
[![License](https://poser.pugx.org/renoki-co/php-k8s/license)](https://packagist.org/packages/renoki-co/php-k8s)
1111

12+
![K8s Version](https://img.shields.io/badge/K8s%20Version-v1.17%2B-%23326ce5)
13+
1214
PHP K8s is a PHP handler for the Kubernetes Cluster API, helping you handling the individual Kubernetes resources directly from PHP, like viewing, creating, updating or deleting resources.
1315

1416
## 🤝 Supporting

docs/RESOURCES.md

+8
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,14 @@ Each resource inherits a default "base" class that is making the Resource build-
4242
- [Role Bindings](kinds/RoleBinding.md)
4343
- [Cluster Role Bindings](kinds/ClusterRoleBinding.md)
4444

45+
## Default Versions for Reosurces
46+
47+
Since we support multiple K8s Cluster versions, some versions do promote certain resources to GA. Since each resource needs a default version, the package will set **the default versions for the oldest Kubernetes version supported**.
48+
49+
For example, if the package supports `v1.17+`, then the package will make sure the versions are defaults for `v1.17`. In some cases, like Ingress in `v1.19` that switched from Beta to GA, that the `v1beta1` is no longer a default and instead, the `v1` is now a default. If `v1.17` is the oldest supported version, then it will stay to `v1beta`.
50+
51+
The minimum Kubernetes version that is supported by a given package version can be found at the top of [README.md](../README.md).
52+
4553
## Work In Progress
4654

4755
The following list of resources are work in progress and they will be available soon:

0 commit comments

Comments
 (0)