Add namespace package

This commit is contained in:
Volodymyr Zotov
2025-08-28 13:17:27 -05:00
parent 6492b3cf34
commit e61ba49018
3 changed files with 50 additions and 1 deletions

View File

@@ -127,6 +127,14 @@ func (k *Kube) Pod(selector map[string]string) *Pod {
}
}
func (k *Kube) Namespace(name string) *Namespace {
return &Namespace{
client: k.Client,
config: k.Config,
name: name,
}
}
// ApplyOnePasswordItem applies a OnePasswordItem manifest.
func (k *Kube) ApplyOnePasswordItem(ctx context.Context, fileName string) {
By("Applying " + fileName)