João Palet
|
a9c50fceab
|
Fix inconsistent result after creating SKE cluster with empty node po… (#461)
* Fix inconsistent result after creating SKE cluster with empty node pool taints
* Improve code readability
* Suggestions from review
|
2024-07-11 14:10:00 +01:00 |
|
João Palet
|
7e51a0a5d5
|
Fix SKE cluster maintenance updated outside TF causing error (#444)
* Fix SKE cluster maintenance updated outsise TF causing error
* Add comment to logic
* Simplify code
|
2024-07-02 09:26:47 +01:00 |
|
João Palet
|
923764172d
|
Add note regarding update to SKE cluster node pools (#421)
|
2024-06-25 14:57:49 +01:00 |
|
João Palet
|
89b03f1a75
|
Leave SKE cluster list length validations for the API (#425)
|
2024-06-25 14:44:21 +01:00 |
|
stackit-pipeline
|
6af9c0dcbb
|
fix(deps): update module github.com/stackitcloud/stackit-sdk-go/services/ske to v0.16.0 (#379)
* fix(deps): update module github.com/stackitcloud/stackit-sdk-go/services/ske to v0.16.0
* Rename data type
---------
Co-authored-by: Renovate Bot <renovate@whitesourcesoftware.com>
Co-authored-by: vicentepinto98 <vicente.pinto@freiheit.com>
|
2024-05-28 08:30:13 +00:00 |
|
Vicente Pinto
|
29bf7cbb31
|
Fix os_version and os_version_min conflicting fields (#376)
* Make cluster network computed
* Fix field conflict
* Replace computed with better mapping
* Fix comment
* Update unit test§
|
2024-05-27 11:22:35 +01:00 |
|
Vicente Pinto
|
ecaf622f55
|
Fix cluster network mapping (#375)
* Make cluster network computed
* Replace computed with better mapping
* Fix comment
* Update unit test§
|
2024-05-27 09:18:10 +01:00 |
|
João Palet
|
ac0840fceb
|
Allow specifying network ID in SKE cluster (#368)
|
2024-05-21 11:27:23 +01:00 |
|
Vicente Pinto
|
e2e5f19a29
|
Improve description for default fields (#369)
|
2024-05-21 11:14:16 +01:00 |
|
Vicente Pinto
|
e850a952bd
|
Support SKE OS versions auto and forceful updates (#364)
* Deprecate os_version and add os_version_used
* Add os_version_min field
* Draft implementation for os_version_min
* Finish implementation
* Fix mapFields
* Update stackit/internal/services/ske/cluster/resource.go
Co-authored-by: Diogo Ferrão <diogo.ferrao@freiheit.com>
* Update stackit/internal/services/ske/cluster/resource.go
Co-authored-by: Diogo Ferrão <diogo.ferrao@freiheit.com>
* Update stackit/internal/services/ske/cluster/resource.go
Co-authored-by: Diogo Ferrão <diogo.ferrao@freiheit.com>
* Update stackit/internal/services/ske/cluster/resource.go
Co-authored-by: Diogo Ferrão <diogo.ferrao@freiheit.com>
* Improve descriptions
* Improve variable names
* Fix lint
* Extend acc test, generate docs
* Don't select automatically preview versions
* Update acc test
* Simplify code
---------
Co-authored-by: Diogo Ferrão <diogo.ferrao@freiheit.com>
|
2024-05-20 18:03:50 +01:00 |
|
Vicente Pinto
|
940b15e4b8
|
Fix kubernetes_version_min field logic (#363)
* new field kubernets_version_min and deprecate kubernetes_version
* Fix lint and tests
* Update acc test
* Deprecate datasource field, fix checkAllowPrivilegedContainers
* Update acc test, datasource and descriptions
* Update acc test
* Improve descriptions, fix bug
* Improve docs, fix acc test
* Update docs
* Update docs, fix acc test
* Update stackit/internal/services/ske/cluster/resource.go
Co-authored-by: Diogo Ferrão <diogo.ferrao@freiheit.com>
* Fix links
* Default ske auto-update to true
* Check current cluster version
* Add unit test
---------
Co-authored-by: Diogo Ferrão <diogo.ferrao@freiheit.com>
|
2024-05-17 12:12:35 +01:00 |
|
Vicente Pinto
|
27b008a657
|
Support automatic kubernetes updates for stackit_ske_cluster (#360)
* new field kubernets_version_min and deprecate kubernetes_version
* Fix lint and tests
* Update acc test
* Deprecate datasource field, fix checkAllowPrivilegedContainers
* Update acc test, datasource and descriptions
* Update acc test
* Improve descriptions, fix bug
* Improve docs, fix acc test
* Update docs
* Update docs, fix acc test
* Update stackit/internal/services/ske/cluster/resource.go
Co-authored-by: Diogo Ferrão <diogo.ferrao@freiheit.com>
* Fix links
* Default ske auto-update to true
---------
Co-authored-by: Diogo Ferrão <diogo.ferrao@freiheit.com>
|
2024-05-14 14:55:33 +01:00 |
|
João Palet
|
66d6ec2bd0
|
Remove deleted resources and datasources from Terraform state on Read (all remaining services) (#346)
* Remove deleted resources and datasources from state on Read
* Simplify code
* Fix function description
Co-authored-by: Diogo Ferrão <diogo.ferrao@freiheit.com>
* Fix function description
Co-authored-by: Diogo Ferrão <diogo.ferrao@freiheit.com>
* Fix whitespace
---------
Co-authored-by: Diogo Ferrão <diogo.ferrao@freiheit.com>
|
2024-04-23 08:59:43 +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 |
|
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 |
|
Vicente Pinto
|
d1ceb77081
|
Return available ske versions in the error message (#278)
|
2024-02-26 09:55:04 +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 |
|
Vicente Pinto
|
bde1fc55e4
|
Deprecate kubeconfig field and add stackit_ske_kubeconfig resource (#256)
* Implement kubeconfig resource
* Update acc test, skip get credentials
* Update acc test
* Add warning on Create
* Add option to refresh
* Fix lint
* Add comment, generate docs
* Update stackit/internal/services/ske/cluster/resource.go
Co-authored-by: João Palet <joao.palet@outlook.com>
* Update stackit/internal/services/ske/kubeconfig/resource.go
Co-authored-by: João Palet <joao.palet@outlook.com>
* Changes after review
* Fix schema
* Gen docs
* Rename
* Credentials handling in datasource, update acc test
* Fix datasource
* Update descriptions
---------
Co-authored-by: João Palet <joao.palet@outlook.com>
|
2024-02-09 10:17:04 +00:00 |
|
Vicente Pinto
|
ad561a0367
|
Update example and remove regex validation (#207)
|
2024-01-12 17:32:51 +00:00 |
|
Vicente Pinto
|
1e103ac7fe
|
Move checkAllowPriviledgedContainers to the Create and Update functions in the SKE resource (#206)
* Move checkAllowPriviledgedContainers to the Create and Update functions
* Remove ValidateConfig
* Add comment
|
2024-01-12 17:32:08 +00:00 |
|
Henrique Santos
|
b6801a89b9
|
Rename model for uniformity, add comments (#197)
Co-authored-by: Henrique Santos <henrique.santos@freiheit.com>
|
2024-01-09 10:33:26 +00:00 |
|
Henrique Santos
|
c7effac5c7
|
Update SDK dependency (#177)
* Update dependencies
* Update dependencies
* Update dependencies
* Update dependencies
---------
Co-authored-by: Henrique Santos <henrique.santos@freiheit.com>
|
2023-12-21 09:33:36 +00:00 |
|
Vicente Pinto
|
d1b10d23c1
|
SKE Cluster: fix extensions and hibernations mapping (#135)
* Fix bug in extensions.argus conversion
* Fix mapExtensions
* Fix extensions mapping, add test case
* Check disabled argus or acl independently
* Add last fixes
* Replace NewListValueFrom with NewListValue
* Remove unused argument
|
2023-11-08 16:01:35 +00:00 |
|
Vicente Pinto
|
4728a49845
|
Fix bug in extensions.argus conversion (#133)
|
2023-11-06 13:01:20 +00:00 |
|
Vicente Pinto
|
0d438a4a9c
|
SKE Cluster - Change Extensions field model to use types.Object (#127)
* Convert SKE Extensions field to TF model
* Fix unit test
* Check error
* Update stackit/internal/services/ske/cluster/resource.go
Co-authored-by: João Palet <joao.palet@outlook.com>
* Fix error messages
* Replace ListValueMust with ListValue
* Replace types.ListValue with types.ListValueFrom
* Add context
* Add separator
---------
Co-authored-by: João Palet <joao.palet@outlook.com>
|
2023-11-06 10:59:36 +00:00 |
|
Vicente Pinto
|
03d0e28016
|
Move functions to conversion pkg (#123)
|
2023-11-03 08:49:05 +00:00 |
|
Vicente Pinto
|
b6100ec8d5
|
Replace ValuePointer function with custom conversion (#121)
|
2023-11-02 15:28:06 +00:00 |
|
Henrique Santos
|
852516e081
|
SKE Cluster - Change field model lists to use types.List (#118)
* Change cluster model lists to types.List
* Lint fix
* Fix inconsistent state
* Acc test fixes
---------
Co-authored-by: Henrique Santos <henrique.santos@freiheit.com>
|
2023-10-31 17:35:03 +00:00 |
|
Henrique Santos
|
8f5850cdf1
|
Update dependencies (#112)
* Update dependencies
* Remove set timeout
* Remove set sleep before wait
* Update to new signature, remove unnecessary calls
---------
Co-authored-by: Henrique Santos <henrique.santos@freiheit.com>
|
2023-10-27 15:48:54 +01:00 |
|
João Palet
|
25992d6ae4
|
Increase create and update timeouts for instances (#103)
|
2023-10-24 17:57:47 +02:00 |
|
Henrique Santos
|
c3618f2b63
|
Update SDK dependencies (#100)
* Update dependencies
* Fix tests
* Fix field assignment
* Update field assignment
* Remove unused functions
---------
Co-authored-by: Henrique Santos <henrique.santos@freiheit.com>
|
2023-10-24 14:54:04 +01:00 |
|
Henrique Santos
|
9d11098102
|
Improve region details (#90)
* Make client config error message more clear
* Add missing log
* Add region detail to resource/data source description
* Generate docs
* Remove resourcemanager using region
* Apply changes to MongoDBFlex user
* Generate docs
* Fix wrong description
---------
Co-authored-by: Henrique Santos <henrique.santos@freiheit.com>
|
2023-10-17 16:02:13 +01:00 |
|
Henrique Santos
|
7354808f02
|
Update services dependencies (#64)
* Update services dependencies
* Move reference
---------
Co-authored-by: Henrique Santos <henrique.santos@freiheit.com>
|
2023-10-04 15:18:23 +01:00 |
|
Henrique Santos
|
175ce93f85
|
Fix data source references (#61)
Co-authored-by: Henrique Santos <henrique.santos@freiheit.com>
|
2023-09-29 10:12:18 +01:00 |
|
João Palet
|
f8c9e4c0af
|
Move internal packages into internal folder (#33)
* Move internal packages into internal folder
* Fix testutil imports
|
2023-09-26 19:44:16 +02:00 |
|