Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commite0c34fe

Browse files
committed
Helm values file support
1 parentff068c2 commite0c34fe

File tree

5 files changed

+168
-86
lines changed

5 files changed

+168
-86
lines changed

‎bin/mammatus-helm-json‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ use Mammatus\Container\Factory;
1111
require_once$_composer_autoload_path;
1212
})($_composer_autoload_path);
1313

14-
(staticfunction() {
14+
(staticfunction(string ...$valuesFiles) {
1515
/**
1616
* Create and run that one cron job
1717
*/
18-
exit((staticfn ():int => Factory::create()->get(Helm::class)->json())());
19-
})();
18+
exit((staticfn ():int => Factory::create()->get(Helm::class)->json(...$valuesFiles)->value)());
19+
})(...array_slice($argv,1));

‎composer.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"php":"^8.4",
77
"ext-json":"^8.4",
88
"mammatus/app":"dev-master",
9-
"mammatus/kubernetes-events":"^1",
9+
"mammatus/kubernetes-events":"^2.0.0",
1010
"psr/event-dispatcher":"^1"
1111
},
1212
"require-dev": {

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp