Benjamin Chastanier
6e7638828c
feat: aws kubeconfig retrieval improvment
...
This CL tries to introduce a better handling of S3 eventual consitency.
https://docs.aws.amazon.com/AmazonS3/latest/userguide/Welcome.html#ConsistencyModel
Issue was at cluster creation, we try to get a kubeconfig which doesn't
exists yet in order to know whether or not the cluster exists and needs
to be upgraded. It leads to S3 caching the fact this bucket doesn't
exists and reject later s# get while the bucket actually exists.
By introducing a retry mechanism, we allow s3 to properly propagate new
file / bucket creation and reach consistency.
2022-04-29 17:49:16 +02:00
Romain GERARD
c961692734
Revert database pvc annotation changes
2022-04-29 17:03:38 +02:00
Romain GERARD
ea6d0ecb44
Revert database pvc annotation changes
2022-04-29 16:35:44 +02:00
Romain GERARD
e3439eff8e
Remove duplicate long_id
2022-04-29 16:35:37 +02:00
Romain GERARD
80fd9fc070
Fix long_id for router
2022-04-29 16:01:47 +02:00
Erèbe - Romain Gerard
3444f32566
Add long_id for databases ( #703 )
...
* Add long_id for databases
* Add long_id for router
* Fix linter
2022-04-29 15:37:40 +02:00
Erèbe - Romain Gerard
f276b1c4e7
Add long_id for applications ( #702 )
2022-04-29 13:50:53 +02:00
Romaric Philogene
601e9d083c
Merge remote-tracking branch 'origin/feat/edge_init' into feat/edge_init
...
# Conflicts:
# lib/aws-ec2/bootstrap/documentdb.tf
# lib/aws-ec2/bootstrap/ec2-sec-group.tf
# lib/aws-ec2/bootstrap/ec2-vpc.j2.tf
# lib/aws-ec2/bootstrap/ec2.j2.tf
# lib/aws-ec2/bootstrap/elasticcache.tf
# lib/aws-ec2/bootstrap/elasticsearch.tf
# lib/aws-ec2/bootstrap/qovery-vault.j2.tf
# lib/aws-ec2/bootstrap/rds.tf
# lib/aws-ec2/services/common/providers.j2.tf
# src/cloud_provider/aws/kubernetes/ec2.rs
# src/cloud_provider/aws/kubernetes/eks.rs
# src/cloud_provider/aws/kubernetes/mod.rs
# test_utilities/src/aws.rs
# test_utilities/src/common.rs
# test_utilities/src/digitalocean.rs
# test_utilities/src/scaleway.rs
# tests/aws/aws_kubernetes_ec2.rs
2022-04-29 11:47:13 +02:00
Benjamin Chastanier
95f3f15fbf
fix: setup proper tf values for ec2
2022-04-28 18:17:45 +02:00
Benjamin Chastanier
d9d04a93f7
fix: setup proper tf values for ec2
2022-04-28 17:48:31 +02:00
MacLikorne
6cffa9fc9a
fix: images for dbs tests ( #701 )
2022-04-28 16:37:40 +02:00
BenjaminCh
4f2685e841
fix: prevent error message leak ( #700 )
2022-04-28 11:23:23 +02:00
Benjamin Chastanier
e01b17b030
comment: flag EKS k8s provider
2022-04-28 10:28:23 +02:00
Benjamin Chastanier
b8d0923d2c
comment: flag EC2 k8s provider
2022-04-27 16:14:51 +02:00
Benjamin Chastanier
4567fbf9d5
review: applying review feedbacks
2022-04-27 14:54:08 +02:00
Benjamin Chastanier
68810bf05e
fix: linter
2022-04-27 14:10:04 +02:00
Benjamin Chastanier
0856a7b8a4
tests: create tag for AWS EC2 infra tests
...
AWS EC2 infrastructure tests will have a dedicated CI pipeline bucket.
Ticket: ENG-1179
2022-04-27 13:22:28 +02:00
Romaric Philogene
f0f8100090
chore: fix linter
2022-04-27 13:22:28 +02:00
Romaric Philogene
e2bf484cf2
chore: fix linter
2022-04-27 13:22:28 +02:00
Romaric Philogene
66246db3a5
chore: fix linter
2022-04-27 13:22:28 +02:00
Romaric Philogene
5b19a52657
wip: fix ec2 tests
2022-04-27 13:22:27 +02:00
Romaric Philogene
302eafc23e
wip: fix ec2 tests
2022-04-27 13:22:27 +02:00
Romaric Philogene
039a45e848
wip: refactor according to Benjamin C. feedback
2022-04-27 13:22:27 +02:00
Pierre Mavro
b5d71b2abb
feat: add security rules to aws EC2
2022-04-27 13:22:27 +02:00
Pierre Mavro
b1062387d6
feat: update tf config for aws ec2
2022-04-27 13:22:27 +02:00
Romaric Philogene
ab77b8f46f
wip: add ec2 subnets
2022-04-27 13:22:27 +02:00
Romaric Philogene
d29de40e26
wip: fix clippy errors
2022-04-27 13:22:27 +02:00
Romaric Philogene
259a7a6093
wip: fix multi kubernetes provider tests
2022-04-27 13:22:27 +02:00
Romaric Philogene
6e7c8b9e60
wip: prepare AWS EC2 Kubernetes provider
2022-04-27 13:22:20 +02:00
Romaric Philogene
da2e465320
wip: add EC2.new(..) with inner properties
2022-04-27 13:18:57 +02:00
Romaric Philogene
2e0cd0fc90
wip: add ec2 Kubernetes.kind
2022-04-27 13:18:57 +02:00
Romaric Philogene
143660cb46
fix: make ToTeraContext public trait
2022-04-27 13:18:57 +02:00
Pierre Mavro
bd95f272c6
feat: add edge aws struct
2022-04-27 13:18:57 +02:00
Erèbe - Romain Gerard
0a5a7eba1f
Add cluster-agent installation ( #699 )
2022-04-27 10:23:00 +02:00
Romaric Philogene
c6571629ea
chore: fix linter
2022-04-26 11:14:31 +02:00
Romaric Philogene
2b713aa80b
chore: fix linter
2022-04-26 11:03:42 +02:00
Romaric Philogene
2446c7241f
chore: fix linter
2022-04-26 09:37:58 +02:00
Romaric Philogene
49bfcdc327
wip: fix ec2 tests
2022-04-23 00:02:24 +02:00
Romaric Philogene
3a5fb696ca
wip: fix ec2 tests
2022-04-22 23:56:43 +02:00
Romaric Philogene
5e0739586b
wip: refactor according to Benjamin C. feedback
2022-04-22 21:06:25 +02:00
Pierre Mavro
d18d8e745a
feat: add security rules to aws EC2
2022-04-22 19:58:06 +02:00
Pierre Mavro
0f193fbde5
feat: update tf config for aws ec2
2022-04-22 16:43:16 +02:00
Romaric Philogene
6c06fd7e54
wip: add ec2 subnets
2022-04-22 10:48:48 +02:00
Erèbe - Romain Gerard
d603c04920
Fix: revert clusterId to be a short id ( #697 )
...
- Managed Databases use the clusterId in order find back the VPC
2022-04-22 09:27:45 +02:00
Romaric Philogene
79b7bea8af
wip: fix clippy errors
2022-04-21 22:19:46 +02:00
Romaric Philogene
1a2c96b122
wip: fix multi kubernetes provider tests
2022-04-21 22:13:57 +02:00
Romaric Philogene
50ed72b331
wip: prepare AWS EC2 Kubernetes provider
2022-04-21 22:05:38 +02:00
Romaric Philogene
d21a867cc6
wip: add EC2.new(..) with inner properties
2022-04-21 11:49:23 +02:00
Erèbe - Romain Gerard
bb85c03724
Change quay.io to docker.io as bitnami move their registry ( #695 )
2022-04-21 09:25:59 +02:00
Romaric Philogene
eb21185c41
wip: add ec2 Kubernetes.kind
2022-04-20 22:10:28 +02:00