Skip to content

3.0.0

Compare
Choose a tag to compare
@rennokki rennokki released this 05 Sep 18:57
· 61 commits to master since this release
8255d39

Upgraded PHP K8s to ^3.0 (#10)

PHP K8s 3.x adds support for better authentication (code-speaking), templated YAMLs and IDE improvements.

Please read the renoki-co/php-k8s 3.x release notes before upgrading to this version.

Added variable driver for the KUBECONFIG driver

You can add the environment driver in your config/k8s.php file:

return [

        // ...

        /*
        |--------------------------------------------------------------------------
        | Environment Variable Driver
        |--------------------------------------------------------------------------
        |
        | The environment variable driver leverages your current (possibly set)
        | KUBECONFIG environment variable. The variable contains a list of paths
        | towards multiple kubeconfig files that will be read, merged and based
        | on the selected context from the configuration, it will connect
        | to the cluster, just like the "kubeconfig" driver.
        |
        | Read more: https://kubernetes.io/docs/tasks/access-application-cluster/configure-access-multiple-clusters/
        |
        */

        'environment' => [
            'driver' => 'environment',
            'context' => env('KUBECONFIG_CONTEXT', 'minikube'),
        ],
];