Releases: renoki-co/laravel-php-k8s
Releases · renoki-co/laravel-php-k8s
3.4.0
3.3.0
3.2.1
3.2.0
3.1.1
3.1.0
3.0.0
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'),
        ],
];