Skip to content

Commit e9938cb

Browse files
fix: e2e tests
1 parent 17fdfed commit e9938cb

File tree

1 file changed

+4
-0
lines changed
  • cmd/config/internal/commands/e2e/e2econtainerconfig

1 file changed

+4
-0
lines changed

cmd/config/internal/commands/e2e/e2econtainerconfig/main.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import (
88
"os"
99
"strconv"
1010

11+
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
1112
"sigs.k8s.io/kustomize/kyaml/fn/framework"
1213
"sigs.k8s.io/kustomize/kyaml/fn/framework/command"
1314
"sigs.k8s.io/kustomize/kyaml/kio"
@@ -16,6 +17,9 @@ import (
1617

1718
// Config defines the ResourceList.functionConfig schema.
1819
type Config struct {
20+
metav1.TypeMeta `json:",inline"`
21+
metav1.ObjectMeta `json:"metadata,omitempty"`
22+
1923
// Data contains configuration data for the Example
2024
// Nest values under Data so that the function can accept a ConfigMap as its
2125
// functionConfig (`run` generates a ConfigMap for the functionConfig when run with --)

0 commit comments

Comments
 (0)