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:
|
||||
- name: cloud-controller-manager
|
||||
image: {{ .Values.AWS.image }}
|
||||
command:
|
||||
- /aws-cloud-controller-manager
|
||||
args:
|
||||
- --cloud-provider=aws
|
||||
- --leader-elect=true
|
||||
- --cluster-cidr={{ .Values.subnetworkCIDR }}
|
||||
- --allocate-node-cidrs=false
|
||||
- --configure-cloud-routes=false
|
||||
- -v=2
|
||||
volumeMounts:
|
||||
- name: etckubernetes
|
||||
|
@ -24,6 +24,7 @@ resource "aws_launch_template" "launch_template" {
|
||||
http_endpoint = "enabled"
|
||||
http_tokens = "required"
|
||||
instance_metadata_tags = "enabled"
|
||||
http_put_response_hop_limit = 2
|
||||
}
|
||||
|
||||
block_device_mappings {
|
||||
@ -71,4 +72,10 @@ resource "aws_autoscaling_group" "control_plane_autoscaling_group" {
|
||||
value = var.uid
|
||||
propagate_at_launch = true
|
||||
}
|
||||
|
||||
tag {
|
||||
key = "KubernetesCluster"
|
||||
value = "Constellation-${var.uid}"
|
||||
propagate_at_launch = true
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user