mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-05-02 06:16:08 -04:00
Correctly deploy the AWS CCM (#1853)
* aws: stop using the imds api for tags * aws: disable tags in imds api * aws: only tag instances with non-lecagy tag * bootstrapper: always let coredns run before cilium * debugd: make debugd less noisy * fixup fix aws imds test * fixup unsued context * move getting instance id to readInstanceTag
This commit is contained in:
parent
4f63481b7d
commit
a2c98eb1d5
13 changed files with 687 additions and 163 deletions
|
@ -243,8 +243,8 @@ module "instance_group_control_plane" {
|
|||
{ Name = local.name },
|
||||
{ constellation-role = "control-plane" },
|
||||
{ constellation-uid = local.uid },
|
||||
{ KubernetesCluster = "Constellation-${local.uid}" },
|
||||
{ constellation-init-secret-hash = local.initSecretHash }
|
||||
{ constellation-init-secret-hash = local.initSecretHash },
|
||||
{ "kubernetes.io/cluster/${local.name}" = "owned" }
|
||||
)
|
||||
}
|
||||
|
||||
|
@ -268,7 +268,7 @@ module "instance_group_worker_nodes" {
|
|||
{ Name = local.name },
|
||||
{ constellation-role = "worker" },
|
||||
{ constellation-uid = local.uid },
|
||||
{ KubernetesCluster = "Constellation-${local.uid}" },
|
||||
{ constellation-init-secret-hash = local.initSecretHash }
|
||||
{ constellation-init-secret-hash = local.initSecretHash },
|
||||
{ "kubernetes.io/cluster/${local.name}" = "owned" }
|
||||
)
|
||||
}
|
||||
|
|
|
@ -23,7 +23,7 @@ resource "aws_launch_template" "launch_template" {
|
|||
metadata_options {
|
||||
http_endpoint = "enabled"
|
||||
http_tokens = "required"
|
||||
instance_metadata_tags = "enabled"
|
||||
instance_metadata_tags = "disabled"
|
||||
http_put_response_hop_limit = 2
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue