Commit graph

239 commits

Author SHA1 Message Date
GokceGK
94c718b1c2
Update GitHub actions (#332) 2024-04-17 08:11:26 +02:00
stackit-pipeline
0412440c83
fix(deps): update module github.com/stackitcloud/stackit-sdk-go/services/loadbalancer to v0.12.0 (#329)
Co-authored-by: Renovate Bot <renovate@whitesourcesoftware.com>
2024-04-16 16:54:32 +02:00
Diogo Ferrão
7c1560d513
update docs (#330) 2024-04-16 13:41:42 +01:00
Diogo Ferrão
9bd1da7cee
Bugfix inconsistent applies of ListAttributes (#328)
* sort the list of ACLs for MongoDBFlex

* Fix and test other cases of ListAttribute ordering

* fix linting

* revert sorting changes, introduce new reconcilestrlist function

* merge main

* Fix rabbitmq

* fix segmentation fault

* Improve testing

* pass context to mapfields, minor name fixes
2024-04-16 11:20:19 +01:00
stackit-pipeline
18d3f4d1fb
fix(deps): update stackit sdk modules (#327)
* fix(deps): update stackit sdk modules

* remove deprecated fields from credentials resources

* remove deprecated fields from credentials resources

* add newly added fields to credentials resources

* remove deprecated fields from credentials datasource

* add newly added credential fields to datasources

* update acceptance tests

---------

Co-authored-by: Renovate Bot <renovate@whitesourcesoftware.com>
Co-authored-by: Gökçe Gök Klingel <goekce.goek_klingel@mail.schwarz>
2024-04-15 09:52:35 +02:00
Vicente Pinto
4917eda1ad
DNS Record Set type requires replace (#325) 2024-04-09 16:12:00 +01:00
João Palet
e783c112d5
Extend contribution guidelines (new resource, datasource, service) (#322)
* Extend contribution guidelines (new resource, datasource, service)

* Improvements after review

* Fix formatting of table of contents

* Add required field to example

* Assorted fixes
2024-04-09 15:52:34 +01:00
stackit-pipeline
a19ac5a851
fix(deps): update module github.com/stackitcloud/stackit-sdk-go/services/loadbalancer to v0.10.0 (#323)
Co-authored-by: Renovate Bot <renovate@whitesourcesoftware.com>
2024-04-09 11:28:05 +01:00
stackit-pipeline
7db4af199f
fix(deps): update module github.com/stackitcloud/stackit-sdk-go/services/postgresflex to v0.12.0 (#319)
Co-authored-by: Renovate Bot <renovate@whitesourcesoftware.com>
2024-04-05 10:22:56 +01:00
stackit-pipeline
bb6a0d407a
fix(deps): update module golang.org/x/mod to v0.17.0 (#320)
Co-authored-by: Renovate Bot <renovate@whitesourcesoftware.com>
2024-04-05 10:22:33 +01:00
stackit-pipeline
a764bad617
fix(deps): update module github.com/stackitcloud/stackit-sdk-go/services/postgresflex to v0.11.0 (#317)
Co-authored-by: Renovate Bot <renovate@whitesourcesoftware.com>
2024-04-03 09:45:27 +01:00
stackit-pipeline
f7e9ef0963
fix(deps): update module github.com/stackitcloud/stackit-sdk-go/services/ske to v0.11.0 (#316)
Co-authored-by: Renovate Bot <renovate@whitesourcesoftware.com>
2024-04-01 08:56:48 +01:00
Diogo Ferrão
6e61caee19
Bugfix SKE downgrade replace in place (#315)
* add requireif to schema, extend acc testing

* fix acceptance test

* improve testing
2024-03-27 15:45:16 +00:00
Diogo Ferrão
394d5bf8d6
Onboard Argus (ACL): fix edge cases (#314)
* fix empty acl update/create, update CIDR validator

* fix sigsegv in test, acl description

* Split field mapping, better handle edge cases

* Update stackit/internal/services/argus/instance/resource.go

Co-authored-by: Vicente Pinto <vicente.pinto@freiheit.com>

---------

Co-authored-by: Vicente Pinto <vicente.pinto@freiheit.com>
2024-03-26 13:54:09 +00:00
GokceGK
056c000acc
Update SKE project resource deprecation message (#313)
* remove redundant log message

* update description and deprecation message for project resource

* add missing space

* update docs
2024-03-26 11:11:21 +01:00
Diogo Ferrão
d0b0ba4cbb
Create guide to document Vault usage with Secrets Manager (#310)
* create guide

* Address comments

* remove frontmatter description and subsection

* Move guide to template file for generation

* update description and note
2024-03-26 08:39:47 +00:00
Diogo Ferrão
9528ca2307
Update Argus ACL documentation (#312)
* update argus ACL docs

* update datasource docs
2024-03-25 14:03:58 +00:00
GokceGK
0fc2a28469
Deprecate ske project resource (#309)
* add deprecation message

* edit acceptance test

* Enable project before creating first cluster // fix typo in function name

* add cluster existence check before deleting ske project // add deprecation message to project resource

* add region to acceptance test

* Update resource error message

Co-authored-by: Vicente Pinto <vicente.pinto@freiheit.com>

* Update resource error message

Co-authored-by: Vicente Pinto <vicente.pinto@freiheit.com>

* Update deprecation message

Co-authored-by: Vicente Pinto <vicente.pinto@freiheit.com>

* Update error message

Co-authored-by: Vicente Pinto <vicente.pinto@freiheit.com>

* remove model id assignment

* update error handling for cluster existence check while deleting project

* add nil check for clusters during project deletion

* add deprecation notice to documentation

* Update datasource deprecation message

Co-authored-by: Vicente Pinto <vicente.pinto@freiheit.com>

* improve condition handling

---------

Co-authored-by: Vicente Pinto <vicente.pinto@freiheit.com>
2024-03-25 13:23:06 +01:00
Diogo Ferrão
d6c677552f
Fix bug dns record name inconsistent (#307)
* add fqdn to model, map fqdn in mapFields

* add testing

* update examples, generate docs, fix linting

* addressed comments in PR

* add comment to acc tests, explaining ignore

* update docs
2024-03-25 11:45:29 +00:00
Diogo Ferrão
7223a5244c
update go version (#308) 2024-03-25 10:30:16 +00:00
Diogo Ferrão
c2389be47b
Onboard Argus ACL (#304)
* resource create and schema/model

* consider empty value in resource creation

* Address issue in mapfields that came up in testing

* Unit testing the mapFields func

* extend update

* extend read

* extend datasource.go

* update example

* extended acceptance tests and generated docs

* update description and comments

* improve messages and var names, fix update acceptance test

* extend acceptance tests, improve error messages
2024-03-22 17:35:10 +00:00
stackit-pipeline
8eb14a1136
fix(deps): update module github.com/hashicorp/terraform-plugin-framework to v1.7.0 (#306)
Co-authored-by: Renovate Bot <renovate@whitesourcesoftware.com>
2024-03-22 08:34:41 +00:00
stackit-pipeline
1e4d679436
fix(deps): update stackit sdk modules (#305)
Co-authored-by: Renovate Bot <renovate@whitesourcesoftware.com>
2024-03-20 18:02:18 +00:00
stackit-pipeline
1a3813af04
fix(deps): update module github.com/stackitcloud/stackit-sdk-go/services/secretsmanager to v0.6.0 (#303)
Co-authored-by: Renovate Bot <renovate@whitesourcesoftware.com>
2024-03-20 15:32:36 +00:00
Vicente Pinto
f17bc307f1
Add badges (#302) 2024-03-15 16:58:46 +00:00
Vicente Pinto
9f73a568c4
Increase timeouts (#301)
* Increase timeouts

* Remove timeout from loadbalancer delete

* Incresae timeout for loadbalancer create
2024-03-13 13:37:25 +00:00
stackit-pipeline
7019300109
fix(deps): update module github.com/hashicorp/terraform-plugin-go to v0.22.1 (#299)
Co-authored-by: Renovate Bot <renovate@whitesourcesoftware.com>
2024-03-12 09:29:43 +00:00
Vicente Pinto
b79c88e858
Update documentation (#298)
* Update documentation

* Update stackit/internal/services/redis/credential/resource.go

Co-authored-by: João Palet <joao.palet@outlook.com>

* Add more info

* Update datasource

---------

Co-authored-by: João Palet <joao.palet@outlook.com>
2024-03-11 15:55:05 +00:00
Peter Stolz
3ea0f81900
fix: set min ttl to 60 (#293) 2024-03-11 15:13:35 +00:00
stackit-pipeline
f862fcecac
fix(deps): update module github.com/stackitcloud/stackit-sdk-go/services/postgresflex to v0.10.0 (#296)
Co-authored-by: Renovate Bot <renovate@whitesourcesoftware.com>
2024-03-11 10:12:19 +00:00
Vicente Pinto
862dffca6e
Update docs (#289) 2024-03-07 14:20:27 +00:00
stackit-pipeline
959bb83931
fix(deps): update module github.com/hashicorp/terraform-plugin-framework to v1.6.1 + examples fix (#284)
* Update module github.com/hashicorp/terraform-plugin-framework to v1.4.0

* Go get tf plugin sdk v2

* fix(deps): update module github.com/hashicorp/terraform-plugin-framework to v1.6.1

* Update examples

* Update docs

---------

Co-authored-by: Renovate Bot <renovate@whitesourcesoftware.com>
Co-authored-by: vicentepinto98 <vicente.pinto@freiheit.com>
2024-03-07 14:19:45 +00:00
Vicente Pinto
514e72bd54
Fix example (#288) 2024-03-07 09:22:28 +00:00
stackit-pipeline
233a26fea0
fix(deps): update module github.com/hashicorp/terraform-plugin-testing to v1.7.0 (#285)
Co-authored-by: Renovate Bot <renovate@whitesourcesoftware.com>
2024-03-06 12:17:58 +00:00
stackit-pipeline
85a44d7a6c
fix(deps): update module golang.org/x/mod to v0.16.0 (#283)
Co-authored-by: Renovate Bot <renovate@whitesourcesoftware.com>
2024-03-05 10:34:27 +00:00
João Palet
f0890f9ddf
Add description for MongoDB Flex instance backup_schedule field (#282) 2024-03-04 15:55:07 +00:00
stackit-pipeline
646ce62447
fix(deps): update stackit sdk modules (#281)
Co-authored-by: Renovate Bot <renovate@whitesourcesoftware.com>
2024-02-29 09:42:37 +00:00
stackit-pipeline
71177d8348
fix(deps): update module github.com/stackitcloud/stackit-sdk-go/core to v0.10.0 (#280)
* fix(deps): update module github.com/stackitcloud/stackit-sdk-go/core to v0.10.0

* Remove usages of RetryTimeout in tests

---------

Co-authored-by: Renovate Bot <renovate@whitesourcesoftware.com>
Co-authored-by: João Palet <joao.palet@freiheit.com>
2024-02-28 14:47:24 +00:00
stackit-pipeline
8a31298c9b
fix(deps): update module github.com/hashicorp/terraform-plugin-go to v0.22.0 (#277)
* fix(deps): update module github.com/hashicorp/terraform-plugin-go to v0.22.0

* Update terraform-plugin-framework

---------

Co-authored-by: Renovate Bot <renovate@whitesourcesoftware.com>
Co-authored-by: João Palet <joao.palet@freiheit.com>
2024-02-28 14:47:11 +00:00
Vicente Pinto
9d3d888178
Small acc test fixes (#279) 2024-02-26 16:01:12 +00:00
Vicente Pinto
d1ceb77081
Return available ske versions in the error message (#278) 2024-02-26 09:55:04 +00:00
Jorge Turrado Ferrero
32d176ee86
fix: validates the record conent based on record type (#267)
* fix:  validates the record conent based on record type

Signed-off-by: Jorge Turrado <jorge.turrado@scrm.lidl>

* fix typo

Signed-off-by: Jorge Turrado <jorge.turrado@scrm.lidl>

* apply feedback

Signed-off-by: Jorge Turrado <jorge.turrado@scrm.lidl>

* apply feedback

Signed-off-by: Jorge Turrado <jorge.turrado@scrm.lidl>

---------

Signed-off-by: Jorge Turrado <jorge.turrado@scrm.lidl>
2024-02-20 15:17:27 +00:00
Henrique Santos
a88688ce93
Deprecate setting for JWKS custom endpoint (#272)
* Update core

* Deprecate JWKS custom endpoint

---------

Co-authored-by: Henrique Santos <henrique.santos@freiheit.com>
2024-02-19 15:22:21 +00:00
João Palet
52b8ea153a
Update GitHub actions (#268) 2024-02-15 13:22:24 +00:00
Henrique Santos
3700ad3018
Fix loadbalancer internal models to use TF types (#264)
* Unexport types

* Modify structs to use TF types, uniformize comments

* Adapt to new models

* Adapt to new models

* Adapt tests

* Bug fixes

* Lint fix

* Fix bugs

* Fix wrong reference

Co-authored-by: Vicente Pinto <vicente.pinto@freiheit.com>

* Rename variable

* Rename variable

* Rename variables

---------

Co-authored-by: Henrique Santos <henrique.santos@freiheit.com>
Co-authored-by: Vicente Pinto <vicente.pinto@freiheit.com>
2024-02-15 09:55:56 +00:00
Vicente Pinto
8b74ec2700
Fix load balancer acc tes (#263) 2024-02-13 13:40:58 +00:00
Vicente Pinto
7152a7af79
Add example for kubeconfig (#262) 2024-02-13 12:02:06 +00:00
stackit-pipeline
28907ba33e
Update module golang.org/x/mod to v0.15.0 (#254)
Co-authored-by: Renovate Bot <renovate@whitesourcesoftware.com>
2024-02-09 18:28:26 +00:00
Vicente Pinto
d5bd5fa402
Get credentials in cluster read and add default to kubeconfig expiration (#259)
* Get credentials in cluster read and add default to expiration

* Fix docs

* Fix docs

* Update warning
2024-02-09 16:59:00 +00:00
Vicente Pinto
e9b2d7aa91
Remove UseStateForUnknown for kubeconfig field in ske cluster (#258)
* Remove UseStateForUnknown

* Fix acc test
2024-02-09 11:59:34 +00:00