mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-10-01 01:36:09 -04:00
aws: make CCM work
This commit is contained in:
parent
828923d159
commit
0d0191ba4d
@ -18,11 +18,11 @@ spec:
|
|||||||
containers:
|
containers:
|
||||||
- name: cloud-controller-manager
|
- name: cloud-controller-manager
|
||||||
image: {{ .Values.AWS.image }}
|
image: {{ .Values.AWS.image }}
|
||||||
command:
|
args:
|
||||||
- /aws-cloud-controller-manager
|
|
||||||
- --cloud-provider=aws
|
- --cloud-provider=aws
|
||||||
- --leader-elect=true
|
- --leader-elect=true
|
||||||
- --cluster-cidr={{ .Values.subnetworkCIDR }}
|
- --allocate-node-cidrs=false
|
||||||
|
- --configure-cloud-routes=false
|
||||||
- -v=2
|
- -v=2
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: etckubernetes
|
- name: etckubernetes
|
||||||
|
@ -24,6 +24,7 @@ resource "aws_launch_template" "launch_template" {
|
|||||||
http_endpoint = "enabled"
|
http_endpoint = "enabled"
|
||||||
http_tokens = "required"
|
http_tokens = "required"
|
||||||
instance_metadata_tags = "enabled"
|
instance_metadata_tags = "enabled"
|
||||||
|
http_put_response_hop_limit = 2
|
||||||
}
|
}
|
||||||
|
|
||||||
block_device_mappings {
|
block_device_mappings {
|
||||||
@ -71,4 +72,10 @@ resource "aws_autoscaling_group" "control_plane_autoscaling_group" {
|
|||||||
value = var.uid
|
value = var.uid
|
||||||
propagate_at_launch = true
|
propagate_at_launch = true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
tag {
|
||||||
|
key = "KubernetesCluster"
|
||||||
|
value = "Constellation-${var.uid}"
|
||||||
|
propagate_at_launch = true
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user