guix_mirror_bot pushed a commit to branch master
in repository guix.
commit 565f4e8743f5453414df8742ff9250a93f6b4630
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Mon May 25 22:15:54 2026 +0100
gnu: Add kubernetes-controller-tools.
* gnu/packages/kubernetes.scm (kubernetes-controller-tools): New variable.
Change-Id: I91a40a9d0cfed25ecfb262a96739e6b18a5bc77b
---
gnu/packages/kubernetes.scm | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/gnu/packages/kubernetes.scm b/gnu/packages/kubernetes.scm
index 3f86ffce59..4226510567 100644
--- a/gnu/packages/kubernetes.scm
+++ b/gnu/packages/kubernetes.scm
@@ -820,6 +820,32 @@ api-status.csv files
functions
@end itemize")))
+(define-public kubernetes-controller-tools
+ (package/inherit go-sigs-k8s-io-controller-tools
+ (name "kubernetes-controller-tools")
+ (arguments
+ (substitute-keyword-arguments arguments
+ ((#:import-path _) "sigs.k8s.io/controller-tools/cmd/...")
+ ((#:install-source? #t #t) #f)
+ ((#:skip-build? #t #t) #f)
+ ((#:tests? #t #t) #f)
+ ((#:unpack-path _ "") "sigs.k8s.io/controller-tools")))
+ (native-inputs
+ (package-propagated-inputs go-sigs-k8s-io-controller-tools))
+ (propagated-inputs '())
+ (inputs '())
+ (description
+ "This package provides helper commands to work with Kubernetes (k8s):
+@itemize:
+@item @command{controller-gen} - generates Kubernetes API extension resources
+and code
+@item @command{helpgen} - generates marker help using @command{godoc}, based
+on the presence of a particular marker
+@item @command{type-scaffold} - scaffolds out basic bits of a Kubernetes type
+@end itemize
+
+For the Go library, refer to go-sigs-k8s-io-controller-tools package.")))
+
;;;
;;; Avoid adding new packages to the end of this file. To reduce the chances
;;; of a merge conflict, place them above in alphabetic order: