diff --git a/config/crd/bases/mpas.ocm.software_productdeployments.yaml b/config/crd/bases/mpas.ocm.software_productdeployments.yaml index 80ce6e5..45bb9fc 100644 --- a/config/crd/bases/mpas.ocm.software_productdeployments.yaml +++ b/config/crd/bases/mpas.ocm.software_productdeployments.yaml @@ -36,14 +36,13 @@ spec: description: ProductDeploymentSpec defines the desired state of ProductDeployment. properties: component: - description: Component gathers together reconciled information about - a component. + description: Component holds information about a reconciled component. properties: name: + description: Name specifies the component name. type: string registry: - description: Registry defines information about the location of - a component. + description: Version specifies the component registry. properties: url: type: string @@ -51,6 +50,7 @@ spec: - url type: object version: + description: Version specifies the component version. type: string required: - name diff --git a/go.mod b/go.mod index 6c31c2a..5b7b4d8 100644 --- a/go.mod +++ b/go.mod @@ -23,11 +23,11 @@ require ( github.com/fluxcd/source-controller/api v1.0.0-rc.3 github.com/goccy/go-yaml v1.9.5 github.com/google/go-github/v52 v52.0.0 - github.com/open-component-model/git-controller v0.4.1-0.20230601123445-f828dd84348a + github.com/open-component-model/git-controller v0.5.0 github.com/open-component-model/mpas-project-controller v0.1.1 github.com/open-component-model/ocm v0.3.0-rc.3 - github.com/open-component-model/ocm-controller v0.9.0 - github.com/open-component-model/replication-controller v0.3.1 + github.com/open-component-model/ocm-controller v0.10.0 + github.com/open-component-model/replication-controller v0.4.0 github.com/open-policy-agent/opa v0.53.0 github.com/phayes/freeport v0.0.0-20220201140144-74d24b5ae9f5 github.com/stretchr/testify v1.8.3 @@ -189,7 +189,7 @@ require ( github.com/gregjones/httpcache v0.0.0-20190611155906-901d90724c79 // indirect github.com/hashicorp/go-cleanhttp v0.5.2 // indirect github.com/hashicorp/go-retryablehttp v0.7.2 // indirect - github.com/hashicorp/go-version v1.2.1 // indirect + github.com/hashicorp/go-version v1.6.0 // indirect github.com/hashicorp/golang-lru v0.5.4 // indirect github.com/hashicorp/hcl v1.0.0 // indirect github.com/imdario/mergo v0.3.13 // indirect diff --git a/go.sum b/go.sum index 67ba29a..d55bc77 100644 --- a/go.sum +++ b/go.sum @@ -1294,8 +1294,9 @@ github.com/hashicorp/go-sockaddr v1.0.2 h1:ztczhD1jLxIRjVejw8gFomI1BQZOe2WoVOu0S github.com/hashicorp/go-syslog v1.0.0/go.mod h1:qPfqrKkXGihmCqbJM2mZgkZGvKG1dFdvsLplgctolz4= github.com/hashicorp/go-uuid v1.0.0/go.mod h1:6SBZvOh/SIDV7/2o3Jml5SYk/TvGqwFJ/bN7x4byOro= github.com/hashicorp/go-uuid v1.0.1/go.mod h1:6SBZvOh/SIDV7/2o3Jml5SYk/TvGqwFJ/bN7x4byOro= -github.com/hashicorp/go-version v1.2.1 h1:zEfKbn2+PDgroKdiOzqiE8rsmLqU2uwi5PB5pBJ3TkI= github.com/hashicorp/go-version v1.2.1/go.mod h1:fltr4n8CU8Ke44wwGCBoEymUuxUHl09ZGVZPK5anwXA= +github.com/hashicorp/go-version v1.6.0 h1:feTTfFNnjP967rlCxM/I9g701jU+RN74YKx2mOkIeek= +github.com/hashicorp/go-version v1.6.0/go.mod h1:fltr4n8CU8Ke44wwGCBoEymUuxUHl09ZGVZPK5anwXA= github.com/hashicorp/go.net v0.0.1/go.mod h1:hjKkEWcCURg++eb33jQU7oqQcI9XDCnUzHA0oac0k90= github.com/hashicorp/golang-lru v0.5.0/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= github.com/hashicorp/golang-lru v0.5.1/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= @@ -1540,18 +1541,18 @@ github.com/onsi/gomega v1.17.0/go.mod h1:HnhC7FXeEQY45zxNK3PPoIUhzk/80Xly9PcubAl github.com/onsi/gomega v1.19.0/go.mod h1:LY+I3pBVzYsTBU1AnDwOSxaYi9WoWiqgwooUqq9yPro= github.com/onsi/gomega v1.27.6 h1:ENqfyGeS5AX/rlXDd/ETokDz93u0YufY1Pgxuy/PvWE= github.com/onsi/gomega v1.27.6/go.mod h1:PIQNjfQwkP3aQAH7lf7j87O/5FiNr+ZR8+ipb+qQlhg= -github.com/open-component-model/git-controller v0.4.1-0.20230601123445-f828dd84348a h1:+WjlPWxWzzo1lm2MPqmOyijF2uesNj2N2MG4Wx5Eulc= -github.com/open-component-model/git-controller v0.4.1-0.20230601123445-f828dd84348a/go.mod h1:7NYA7WDqdYRdkrmMdui81RIjkCGcfq1wkyu1vJ/3TuQ= +github.com/open-component-model/git-controller v0.5.0 h1:fyI7vxaMr5XxPiM6fOB/Rx/pyHtscIad92EsP3l6WlI= +github.com/open-component-model/git-controller v0.5.0/go.mod h1:VoJuYPuec7jnP5BLk5C7kbKqDu/kKoKnzpEXVpccv3k= github.com/open-component-model/mpas-project-controller v0.1.1 h1:IxibR03HzsNt/T4aFK13nr2NJNWmxlzw0XjyHPww0uY= github.com/open-component-model/mpas-project-controller v0.1.1/go.mod h1:zBwWb2/5+BRseF8AL7rjCZajXF69ExqflNcqwEXSSAM= github.com/open-component-model/ocm v0.3.0-rc.3 h1:DhRhSYWerkZiADN8bo+9Uu9aTljyp8RoitrgQusBNm4= github.com/open-component-model/ocm v0.3.0-rc.3/go.mod h1:LmsnU1AH/+2O4X6F6Ohoxq08GYo34v2Fv2JACDPixrA= -github.com/open-component-model/ocm-controller v0.9.0 h1:Ul2p03M2ESONIFpX0A1LlaOowkjnkv63izn09xmeLYQ= -github.com/open-component-model/ocm-controller v0.9.0/go.mod h1:+1Xf2iammfTe/Fqd+R75BDvNojMj/32tJ03rfPESUgY= +github.com/open-component-model/ocm-controller v0.10.0 h1:n/sW/M4UYjfeCDuvtzngmi+Raadrc2zC5bgPdywxvRo= +github.com/open-component-model/ocm-controller v0.10.0/go.mod h1:ElBIkMib0VnETUsI88b13HavIlO1qn7qrBmtOGm6Vpw= github.com/open-component-model/ocm-controllers-sdk v0.1.0 h1:OA7lgwN2+MHOMFR7ov3PvqFiJO6qZNpFbmVWyNuERow= github.com/open-component-model/ocm-controllers-sdk v0.1.0/go.mod h1:zdEsen2qJ4HizPcMqmxYsgcGxQgspiL1Xw7fcKfjpAc= -github.com/open-component-model/replication-controller v0.3.1 h1:Df8f83oL4XUxCo2NC0mYJpSqq2Bj6JY0j0EHzqeXrps= -github.com/open-component-model/replication-controller v0.3.1/go.mod h1:Kk4Kj7WYoHuSpNeDaVpy5Sv4JTU0V6LCw3tQ0Zqm3s8= +github.com/open-component-model/replication-controller v0.4.0 h1:MsBvrUSrjoc6BJdgVU+Fsq6BLoP+MJ+Mnzara29FC28= +github.com/open-component-model/replication-controller v0.4.0/go.mod h1:FiQgLd+y8UuZUu4D6pewbJJLrjBVzfcqkrZUuunHq5E= github.com/open-policy-agent/opa v0.53.0 h1:zC/0sI+Gof5/oiFNS3DmoJa11D0m0InZeDhZyzi+l6E= github.com/open-policy-agent/opa v0.53.0/go.mod h1:j3wl8FqSz/+u33Scl72Ms2wxkZx4yZPdqSCrOqBqdsA= github.com/opencontainers/go-digest v1.0.1-0.20220411205349-bde1400a84be h1:f2PlhC9pm5sqpBZFvnAoKj+KzXRzbjFMA+TqXfJdgho=