From 0ee360ff4713908bff6e1cfab6464e5ba32df22e Mon Sep 17 00:00:00 2001 From: Enrico Kaack Date: Tue, 14 Mar 2023 13:51:10 +0100 Subject: [PATCH] update component-spec to include creationTime type string (#110) --- go.mod | 2 +- go.sum | 4 ++-- .../component-spec/bindings-go/apis/v2/componentdescriptor.go | 4 +--- vendor/modules.txt | 2 +- 4 files changed, 5 insertions(+), 7 deletions(-) diff --git a/go.mod b/go.mod index cdd7955c..e458c2b2 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.81 + github.com/gardener/component-spec/bindings-go v0.0.83 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 5219cea0..41798da5 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.81 h1:Rawv7qM/bmqzRDmhNjO2X04aQg/rP3D3MxUHM2ib6Ls= -github.com/gardener/component-spec/bindings-go v0.0.81/go.mod h1:1/72D7DCsWc/JH5006EYBJPG42Na5DfDkzIyGd9mEf8= +github.com/gardener/component-spec/bindings-go v0.0.83 h1:fTDC658gbjhMrL4SNtMAECxqFzk6TE4kuQTRZ317Fn0= +github.com/gardener/component-spec/bindings-go v0.0.83/go.mod h1:qr7kADDXbXB0huul+ih/B43YkwyiMFYQepp/tqJ331c= 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 79ec4697..8becf087 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,8 +17,6 @@ package v2 import ( "encoding/json" "errors" - - metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" ) const SchemaVersion = "v2" @@ -96,7 +94,7 @@ type ComponentSpec struct { // 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"` + CreationTime string `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 224dd30b..ffc8f5a8 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.81 +# github.com/gardener/component-spec/bindings-go v0.0.83 ## explicit; go 1.18 github.com/gardener/component-spec/bindings-go/apis github.com/gardener/component-spec/bindings-go/apis/v2