generated from renoki-co/laravel-package-skeleton
-
-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #132 from renoki-co/fix/macro-call-for-crds
[fix] Macro calls are not pulling CRDs from YAML
- Loading branch information
Showing
9 changed files
with
217 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
<?php | ||
|
||
namespace RenokiCo\PhpK8s\Test\Kinds; | ||
|
||
use RenokiCo\PhpK8s\Contracts\InteractsWithK8sCluster; | ||
use RenokiCo\PhpK8s\Kinds\K8sResource; | ||
|
||
class IstioGateway extends K8sResource implements InteractsWithK8sCluster | ||
{ | ||
/** | ||
* The resource Kind parameter. | ||
* | ||
* @var null|string | ||
*/ | ||
protected static $kind = 'Gateway'; | ||
|
||
/** | ||
* The default version for the resource. | ||
* | ||
* @var string | ||
*/ | ||
protected static $defaultVersion = 'networking.istio.io/v1beta1'; | ||
|
||
/** | ||
* Wether the resource has a namespace. | ||
* | ||
* @var bool | ||
*/ | ||
protected static $namespaceable = true; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
<?php | ||
|
||
namespace RenokiCo\PhpK8s\Test\Kinds; | ||
|
||
use RenokiCo\PhpK8s\Contracts\InteractsWithK8sCluster; | ||
use RenokiCo\PhpK8s\Kinds\K8sResource; | ||
|
||
class IstioGatewayNoNamespacedVersion extends K8sResource implements InteractsWithK8sCluster | ||
{ | ||
/** | ||
* The resource Kind parameter. | ||
* | ||
* @var null|string | ||
*/ | ||
protected static $kind = 'Gateway'; | ||
|
||
/** | ||
* The default version for the resource. | ||
* | ||
* @var string | ||
*/ | ||
protected static $defaultVersion = 'v100'; | ||
|
||
/** | ||
* Wether the resource has a namespace. | ||
* | ||
* @var bool | ||
*/ | ||
protected static $namespaceable = true; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters