diff --git a/go.mod b/go.mod index 0497ce5d..cdd7955c 100644 --- a/go.mod +++ b/go.mod @@ -6,7 +6,7 @@ require ( github.com/containerd/containerd v1.6.6 github.com/docker/cli v20.10.0-rc1+incompatible github.com/drone/envsubst v1.0.2 - github.com/gardener/component-spec/bindings-go v0.0.72 + github.com/gardener/component-spec/bindings-go v0.0.81 github.com/gardener/image-vector v0.10.0 github.com/ghodss/yaml v1.0.0 github.com/go-logr/logr v1.2.3 diff --git a/go.sum b/go.sum index 0939763e..5219cea0 100644 --- a/go.sum +++ b/go.sum @@ -141,8 +141,8 @@ github.com/fsnotify/fsnotify v1.4.7/go.mod h1:jwhsz4b93w/PPRr/qN1Yymfu8t87LnFCMo github.com/fsnotify/fsnotify v1.4.9 h1:hsms1Qyu0jgnwNXIxa+/V/PDsU6CfLf6CNO8H7IWoS4= github.com/fsnotify/fsnotify v1.4.9/go.mod h1:znqG4EE+3YCdAaPaxE2ZRY/06pZUdp0tY4IgpuI1SZQ= github.com/gardener/component-spec/bindings-go v0.0.52/go.mod h1:kQFMTWowNAp9tOp6aImQa/NoLzfvX29jN5Qgud9rpQU= -github.com/gardener/component-spec/bindings-go v0.0.72 h1:RQ6TZhKTfYuQ9ztPHDROj74csJHBLqcE9kQtpnKq808= -github.com/gardener/component-spec/bindings-go v0.0.72/go.mod h1:qr7kADDXbXB0huul+ih/B43YkwyiMFYQepp/tqJ331c= +github.com/gardener/component-spec/bindings-go v0.0.81 h1:Rawv7qM/bmqzRDmhNjO2X04aQg/rP3D3MxUHM2ib6Ls= +github.com/gardener/component-spec/bindings-go v0.0.81/go.mod h1:1/72D7DCsWc/JH5006EYBJPG42Na5DfDkzIyGd9mEf8= github.com/gardener/image-vector v0.10.0 h1:Ysg3hxfiGUG/doajiZ0nQuUaJYwfO5BZCOcijL3tRuo= github.com/gardener/image-vector v0.10.0/go.mod h1:32SHGcbmmueeK9VkawsFcEbsoENXQPIuuYiFBUP+vMQ= github.com/ghodss/yaml v0.0.0-20150909031657-73d445a93680/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04= diff --git a/vendor/github.com/gardener/component-spec/bindings-go/apis/v2/componentdescriptor.go b/vendor/github.com/gardener/component-spec/bindings-go/apis/v2/componentdescriptor.go index 1620955e..79ec4697 100644 --- a/vendor/github.com/gardener/component-spec/bindings-go/apis/v2/componentdescriptor.go +++ b/vendor/github.com/gardener/component-spec/bindings-go/apis/v2/componentdescriptor.go @@ -17,6 +17,8 @@ package v2 import ( "encoding/json" "errors" + + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" ) const SchemaVersion = "v2" @@ -93,6 +95,8 @@ type ComponentSpec struct { ComponentReferences []ComponentReference `json:"componentReferences"` // Resources defines all resources that are created by the component and by a third party. Resources []Resource `json:"resources"` + //CreationTime defines the datetime the component was created + CreationTime metav1.Time `json:"creationTime,omitempty"` } // ObjectMeta defines a object that is uniquely identified by its name and version. diff --git a/vendor/modules.txt b/vendor/modules.txt index 804bc58b..224dd30b 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -52,7 +52,7 @@ github.com/drone/envsubst/path # github.com/fsnotify/fsnotify v1.4.9 ## explicit; go 1.13 github.com/fsnotify/fsnotify -# github.com/gardener/component-spec/bindings-go v0.0.72 +# github.com/gardener/component-spec/bindings-go v0.0.81 ## explicit; go 1.18 github.com/gardener/component-spec/bindings-go/apis github.com/gardener/component-spec/bindings-go/apis/v2