Skip to content

Commit b3656b4

Browse files
authored
Remove last GoogleContainerTools dependencies (#1180)
Signed-off-by: Fiachra Corcoran <[email protected]>
1 parent a62e30e commit b3656b4

File tree

4 files changed

+6
-504
lines changed

4 files changed

+6
-504
lines changed

functions/go/fix/fixpkg/fix.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ func (s *Fix) Filter(nodes []*yaml.RNode) ([]*yaml.RNode, error) {
101101
if meta.Labels["cli-utils.sigs.k8s.io/inventory-id"] != "" {
102102
s.Results = append(s.Results, &Result{
103103
FilePath: meta.Annotations[kioutil.PathAnnotation],
104-
Message: `Please refer to https://googlecontainertools.github.io/kpt/reference/live/alpha/, this package is using "inventory-object"`,
104+
Message: `Please refer to https://kpt.dev/reference/cli/live/migrate/, this package is using "inventory-object"`,
105105
})
106106
continue
107107
}
@@ -395,6 +395,7 @@ func (s *Fix) FixKptfile(node *yaml.RNode, functions []v1.Function) (*yaml.RNode
395395

396396
if len(setters) > 0 {
397397
fn := v1.Function{
398+
// (TODO) If the fix fn is to remain, it should use a later version of apply-setters
398399
Image: "ghcr.io/kptdev/krm-functions-catalog/apply-setters:v0.2",
399400
ConfigPath: SettersConfigFileName,
400401
}

functions/go/generate-kpt-pkg-docs/go.mod

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,13 @@ go 1.24.3
44

55
require (
66
github.com/kptdev/kpt v1.0.0-beta.58.0.20251002154110-c319abece00e
7-
github.com/kptdev/krm-functions-catalog/functions/go/list-setters v0.0.0-20251001141417-5403afe020f4
7+
github.com/kptdev/krm-functions-catalog/functions/go/list-setters v0.0.0-20251006065330-cad54762e815
88
github.com/olekukonko/tablewriter v0.0.5
99
github.com/stretchr/testify v1.10.0
1010
sigs.k8s.io/kustomize/kyaml v0.20.1
1111
)
1212

1313
require (
14-
github.com/GoogleContainerTools/kpt-functions-sdk/go v0.0.0-20210810181223-632b30549de6 // indirect
1514
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
1615
github.com/go-errors/errors v1.5.1 // indirect
1716
github.com/go-openapi/jsonpointer v0.21.1 // indirect

0 commit comments

Comments
 (0)