We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 373320b + b1d5c31 commit 963510eCopy full SHA for 963510e
composer.json
@@ -12,7 +12,7 @@
12
}
13
],
14
"require": {
15
- "renoki-co/php-k8s": "^3.1"
+ "renoki-co/php-k8s": "^3.1.8"
16
},
17
"autoload": {
18
"psr-4": {
src/KubernetesCluster.php
@@ -142,7 +142,9 @@ protected function configureWithToken(array $config)
142
*/
143
protected function configureInCluster(array $config)
144
{
145
- $this->cluster = PhpK8sCluster::inClusterConfiguration();
+ $this->cluster = PhpK8sCluster::inClusterConfiguration(
146
+ $config['host'] ?? 'https://kubernetes.default.svc'
147
+ );
148
149
150
/**
0 commit comments