Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
69 commits
Select commit Hold shift + click to select a range
ae6805b
azure: Check HyperVGenerations for instance type
rna-afk Jan 4, 2022
2785e7d
Ensure removal of placement-groups during cluster destroy on AWS
JoelSpeed Jan 10, 2022
df59cb1
Adjust the startup order of httpd container
zhouhao3 Jan 17, 2022
0561351
Add IP outputs for IBM terraform instances
cjschaef Jan 5, 2022
ea216c3
Revert "Bug 2035757: cluster-bootstrap/alibaba: set tear-down-delay t…
staebler Jan 20, 2022
8b3d14d
baremetal: networkConfig field now accepts yaml instead of string value
andfasano Jan 18, 2022
969378d
Merge pull request #5545 from andfasano/nmstate-pure-yaml
openshift-merge-robot Jan 21, 2022
d111ca9
remove unused kube terraform provider
staebler Dec 17, 2021
af4738a
vendor: update openshift/api to include some alibaba infra changes
staebler Dec 17, 2021
ce31697
hack: use go 1.17 for verifying codegen
staebler Dec 17, 2021
716cf76
Merge pull request #5538 from cjschaef/ibmcloud-output-ips
openshift-merge-robot Jan 22, 2022
0dc9025
Bump Fedora CoreOS to 35.20220116.2.0
Jan 22, 2022
30234a1
Alibaba: fix system disk category of bootstrap
bd233 Jan 22, 2022
9415c65
Alibaba: fix creating public record being skipped
bd233 Jan 22, 2022
914f463
Alibaba: fix VSwitch subnets overlap
bd233 Jan 22, 2022
2684f8d
remove unsupported options
jeffnowicki Jan 24, 2022
254dfcb
Add proxy for ironic-agent.service
zhouhao3 Jan 24, 2022
fd20502
Revert "remove unsupported options"
jeffnowicki Jan 24, 2022
969a775
remove unsupported options for existing resources
jeffnowicki Jan 24, 2022
14246b3
Alibaba: fix resource creation for existing network
bd233 Jan 24, 2022
35fadfc
gen'd install configs yaml
jeffnowicki Jan 24, 2022
6bd4f3e
Merge pull request #5563 from staebler/bump_openshift_api_k8s_0.23.0
openshift-merge-robot Jan 24, 2022
9e26478
update alibaba for provider spec api changes
elmiko Jan 21, 2022
2c8806f
update vendor for latest Aliababa API changes
elmiko Jan 24, 2022
20f8626
remove validation related to unsupported options
jeffnowicki Jan 24, 2022
e5d628d
update validation for unsupported options
jeffnowicki Jan 24, 2022
42212b5
Merge pull request #5562 from elmiko/update-alibaba-api
openshift-merge-robot Jan 25, 2022
f292bcc
openstack: Fix invalid-https-certificate detection
pierreprinetti Jan 25, 2022
6c2c8ae
Merge pull request #5576 from shiftstack/openstack-fix-invalid-cert-s…
openshift-merge-robot Jan 25, 2022
a6c8bd5
Alibaba: fix support region list
bd233 Jan 24, 2022
f07482a
Merge pull request #5567 from vrutkovs/bump-fcos-35.20220116.2.0
openshift-merge-robot Jan 25, 2022
604a5a1
Bug 2043297: bump RHCOS 4.10 bootimage metadata
HuijingHei Jan 25, 2022
eaa2c12
Bug 2045916: IBMCloud: Stop defaulting to dedicated storage profile
cjschaef Jan 25, 2022
1bc6271
Merge pull request #5565 from dongchen126/fix-public-record
openshift-merge-robot Jan 26, 2022
2813802
Merge pull request #5566 from dongchen126/fix-subnet-cidr
openshift-merge-robot Jan 26, 2022
e39de16
Merge pull request #5550 from staebler/revert_teardown_delay
openshift-merge-robot Jan 26, 2022
bd0d3e6
Merge pull request #5564 from dongchen126/fix-bootstrap-disk
openshift-merge-robot Jan 26, 2022
1a2c6c0
Alibaba: fix destroy not exist security group
bd233 Jan 26, 2022
557709d
Alibaba: fix endpoint error in some regions
bd233 Jan 25, 2022
820507e
Alibaba: update vendor
bd233 Jan 25, 2022
25e57e9
Revert "update validation for unsupported options"
jeffnowicki Jan 27, 2022
e82b27e
Revert "remove validation related to unsupported options"
jeffnowicki Jan 27, 2022
d91ecac
Alibaba: support internal publish strategy
bd233 Jan 13, 2022
9e2276f
Alibaba: fix installer index panic
bd233 Jan 25, 2022
55a9f62
remove validation for unsupported options
jeffnowicki Jan 27, 2022
80cdd26
Alibaba: fix destory exist private zone
bd233 Jan 27, 2022
f2cbbed
Merge pull request #5569 from zhouhao3/add-proxy
openshift-merge-robot Jan 27, 2022
8c561e6
Alibaba: fix validation of resource group ID
bd233 Jan 27, 2022
5c65588
update custom image ostype
jeffnowicki Jan 27, 2022
d1c6a17
Bug 2047258: Read GovCloud from RHCOS stream
patrickdillon Jan 27, 2022
916e706
Merge pull request #5585 from patrickdillon/bz-2047258-rhcos-aws-gov
openshift-merge-robot Jan 28, 2022
5f7addb
Merge pull request #5571 from dongchen126/fix-sdk-version
openshift-merge-robot Jan 28, 2022
81ac782
Merge pull request #5541 from zhouhao3/fix-kernel-params
openshift-merge-robot Jan 28, 2022
7062f2b
Merge pull request #5568 from jeffnowicki/remove-unsupported-options
openshift-merge-robot Jan 28, 2022
81b8ace
Merge pull request #5509 from rna-afk/azure_check_hypergeneration
openshift-merge-robot Jan 28, 2022
d5b69dd
Merge pull request #5534 from dongchen126/fix-publish-internal
openshift-merge-robot Jan 28, 2022
ece80db
Merge pull request #5572 from dongchen126/fix-remove-region
openshift-merge-robot Jan 28, 2022
398de8c
Merge pull request #5574 from dongchen126/fix-create-natgateway
openshift-merge-robot Jan 28, 2022
70e8aed
Merge pull request #5575 from dongchen126/fix-panic-index
openshift-merge-robot Jan 28, 2022
060e99b
Merge pull request #5577 from HuijingHei/4.10-bump-2043297
openshift-merge-robot Jan 28, 2022
f9d8a2d
Merge pull request #5578 from cjschaef/bz_2045916
openshift-merge-robot Jan 28, 2022
cea53c1
Merge pull request #5580 from dongchen126/fix-destroy-sg
openshift-merge-robot Jan 28, 2022
6e5260a
Merge pull request #5583 from dongchen126/fix-private-zone
openshift-merge-robot Jan 28, 2022
c35bb63
Merge pull request #5584 from dongchen126/fix-rg-validation
openshift-merge-robot Jan 28, 2022
4fc9fa8
Merge pull request #5587 from jeffnowicki/update-custom-image-ostype
openshift-merge-robot Jan 28, 2022
0887db1
Remove Caleb Boylan from core installer reviewers
kirankt Jan 31, 2022
83eec34
Merge pull request #5528 from JoelSpeed/remove-placement-groups
openshift-merge-robot Jan 31, 2022
f6ea846
Merge pull request #5593 from kirankt/remove-cboylan
openshift-merge-robot Jan 31, 2022
339b782
Merge branch 'master' into add-ipi
clnperez Feb 1, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
1 change: 0 additions & 1 deletion OWNERS_ALIASES
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ aliases:
- kirankt
- patrickdillon
- rna-afk
- squidboylan
libvirt-approvers:
- praveenkumar
- cfergeau
Expand Down
11 changes: 5 additions & 6 deletions data/data/alibabacloud/bootstrap/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@ locals {
},
var.ali_extra_tags,
)
system_disk_size = 120
system_disk_category = "cloud_essd"
is_external = var.ali_publish_strategy == "External" ? true : false
}

provider "alicloud" {
Expand Down Expand Up @@ -139,13 +138,13 @@ resource "alicloud_instance" "bootstrap" {
image_id = var.ali_image_id
vswitch_id = var.vswitch_ids[0]
security_groups = [alicloud_security_group.sg_bootstrap.id, var.sg_master_id]
internet_max_bandwidth_out = 5
internet_max_bandwidth_out = local.is_external ? 5 : 0
role_name = alicloud_ram_role.role.name

system_disk_name = "${local.prefix}_sys_disk-bootstrap"
system_disk_description = local.description
system_disk_category = local.system_disk_category
system_disk_size = local.system_disk_size
system_disk_category = var.ali_system_disk_category
system_disk_size = var.ali_system_disk_size

user_data = var.ali_bootstrap_stub_ignition
tags = merge(
Expand All @@ -164,4 +163,4 @@ resource "alicloud_slb_backend_server" "slb_attachment_bootstraps" {
server_id = alicloud_instance.bootstrap.id
weight = 90
}
}
}
2 changes: 1 addition & 1 deletion data/data/alibabacloud/bootstrap/outputs.tf
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
output "bootstrap_ip" {
value = data.alicloud_instances.bootstrap_data.instances.0.public_ip
value = local.is_external ? data.alicloud_instances.bootstrap_data.instances.0.public_ip : data.alicloud_instances.bootstrap_data.instances.0.private_ip
}
7 changes: 1 addition & 6 deletions data/data/alibabacloud/cluster/dns/privatezone.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,15 @@ locals {
prefix = var.cluster_id
cluster_name = split(".", var.cluster_domain)[0]
private_zone_id = var.private_zone_id == "" ? alicloud_pvtz_zone.pvtz.0.id : var.private_zone_id
is_external = var.publish_strategy == "External" ? true : false
}

// Using this data source can open Private Zone service automatically.
data "alicloud_pvtz_service" "open" {
enable = "On"
}

data "alicloud_alidns_domains" "dns_public" {
domain_name_regex = "^${var.base_domain}$"
}

resource "alicloud_alidns_record" "dns_public_record" {
count = length(data.alicloud_alidns_domains.dns_public.domains) == 0 ? 0 : 1

domain_name = var.base_domain
rr = "api.${local.cluster_name}"
type = "A"
Expand Down
5 changes: 5 additions & 0 deletions data/data/alibabacloud/cluster/dns/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,8 @@ variable "tags" {
type = map(string)
description = "Tags to be applied to created resources."
}

variable "publish_strategy" {
type = string
description = "The publishing strategy for endpoints like load balancers"
}
5 changes: 5 additions & 0 deletions data/data/alibabacloud/cluster/main.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
locals {
description = "Created By OpenShift Installer"
is_external = var.ali_publish_strategy == "External" ? true : false
tags = merge(
{
"GISV" = "ocp",
Expand Down Expand Up @@ -38,6 +39,7 @@ module "vpc" {
resource_group_id = module.resource_group.resource_group_id
vpc_cidr_block = var.machine_v4_cidrs[0]
tags = local.tags
publish_strategy = var.ali_publish_strategy
}

module "dns" {
Expand All @@ -51,6 +53,7 @@ module "dns" {
slb_external_ip = module.vpc.slb_external_ip
slb_internal_ip = module.vpc.slb_internal_ip
tags = local.tags
publish_strategy = var.ali_publish_strategy
}

module "ram" {
Expand All @@ -68,6 +71,7 @@ module "master" {
az_to_vswitch_id = module.vpc.az_to_vswitch_id
sg_id = module.vpc.sg_master_id
slb_ids = module.vpc.slb_ids
slb_group_length = module.vpc.slb_group_length
instance_type = var.ali_master_instance_type
instance_count = var.master_count
image_id = var.ali_image_id
Expand All @@ -76,4 +80,5 @@ module "master" {
user_data_ign = var.ignition_master
role_name = module.ram.role_master_name
tags = local.tags
publish_strategy = var.ali_publish_strategy
}
2 changes: 1 addition & 1 deletion data/data/alibabacloud/cluster/master/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ resource "alicloud_instance" "master" {
}

resource "alicloud_slb_backend_server" "slb_attachment_masters" {
count = "${length(var.slb_ids) * length(alicloud_instance.master.*.id)}"
count = "${var.slb_group_length * length(alicloud_instance.master.*.id)}"
load_balancer_id = "${element(var.slb_ids, ceil(count.index / length(alicloud_instance.master.*.id)))}"
backend_servers {
server_id = "${element(alicloud_instance.master.*.id, count.index)}"
Expand Down
9 changes: 9 additions & 0 deletions data/data/alibabacloud/cluster/master/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ variable "slb_ids" {
type = list(string)
}

variable "slb_group_length" {
description = "The length of the 'slb_ids' variable, to work around https://github.com/hashicorp/terraform/issues/12570."
}

variable "instance_count" {
type = string
}
Expand Down Expand Up @@ -67,3 +71,8 @@ variable "tags" {
type = map(string)
description = "Tags to be applied to created resources."
}

variable "publish_strategy" {
type = string
description = "The cluster publishing strategy, either Internal or External"
}
8 changes: 6 additions & 2 deletions data/data/alibabacloud/cluster/vpc/eip.tf
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
resource "alicloud_eip_address" "eip" {
count = length(var.vswitch_ids) == 0 ? 1 : 0

description = local.description
address_name = "${local.prefix}-eip"
payment_type = "PayAsYouGo"
Expand All @@ -13,7 +15,9 @@ resource "alicloud_eip_address" "eip" {
}

resource "alicloud_eip_association" "eip_association" {
allocation_id = alicloud_eip_address.eip.id
instance_id = alicloud_nat_gateway.nat_gateway.id
count = length(var.vswitch_ids) == 0 ? 1 : 0

allocation_id = alicloud_eip_address.eip[0].id
instance_id = alicloud_nat_gateway.nat_gateway[0].id
instance_type = "Nat"
}
10 changes: 6 additions & 4 deletions data/data/alibabacloud/cluster/vpc/nat_gateway.tf
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@

resource "alicloud_nat_gateway" "nat_gateway" {
count = length(var.vswitch_ids) == 0 ? 1 : 0

vpc_id = local.vpc_id
nat_gateway_name = "${local.prefix}-ngw"
vswitch_id = alicloud_vswitch.vswitch_nat_gateway.id
vswitch_id = alicloud_vswitch.vswitch_nat_gateway[0].id
internet_charge_type = "PayByLcu"
nat_type = "Enhanced"
description = local.description
Expand All @@ -15,10 +17,10 @@ resource "alicloud_nat_gateway" "nat_gateway" {
}

resource "alicloud_snat_entry" "snat_entrys" {
count = length(local.vswitch_ids)
count = length(var.vswitch_ids) == 0 ? length(local.vswitch_ids) : 0

depends_on = [alicloud_eip_association.eip_association]
snat_table_id = alicloud_nat_gateway.nat_gateway.snat_table_ids
snat_table_id = alicloud_nat_gateway.nat_gateway[0].snat_table_ids
source_vswitch_id = local.vswitch_ids[count.index]
snat_ip = alicloud_eip_address.eip.ip_address
snat_ip = alicloud_eip_address.eip[0].ip_address
}
18 changes: 5 additions & 13 deletions data/data/alibabacloud/cluster/vpc/outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -10,24 +10,16 @@ output "az_to_vswitch_id" {
value = zipmap(data.alicloud_vswitches.vswitches.vswitches.*.zone_id, data.alicloud_vswitches.vswitches.vswitches.*.id)
}

output "gw_id" {
value = alicloud_nat_gateway.nat_gateway.id
}

output "eip_id" {
value = alicloud_eip_address.eip.id
}

output "eip_ip" {
value = alicloud_eip_address.eip.ip_address
output "slb_ids" {
value = concat(alicloud_slb_load_balancer.slb_external[*].id, [alicloud_slb_load_balancer.slb_internal.id])
}

output "slb_ids" {
value = [alicloud_slb_load_balancer.slb_external.id, alicloud_slb_load_balancer.slb_internal.id]
output "slb_group_length" {
value = length(concat(alicloud_slb_load_balancer.slb_external[*].id, [alicloud_slb_load_balancer.slb_internal.id]))
}

output "slb_external_ip" {
value = alicloud_slb_load_balancer.slb_external.address
value = local.is_external ? alicloud_slb_load_balancer.slb_external[0].address : null
}

output "slb_internal_ip" {
Expand Down
6 changes: 5 additions & 1 deletion data/data/alibabacloud/cluster/vpc/slb.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@

resource "alicloud_slb_load_balancer" "slb_external" {
count = local.is_external ? 1 : 0

resource_group_id = var.resource_group_id
load_balancer_name = "${local.prefix}-slb-external"
address_type = "internet"
Expand All @@ -14,7 +16,9 @@ resource "alicloud_slb_load_balancer" "slb_external" {
}

resource "alicloud_slb_listener" "listener_external_6443" {
load_balancer_id = alicloud_slb_load_balancer.slb_external.id
count = local.is_external ? 1 : 0

load_balancer_id = alicloud_slb_load_balancer.slb_external[0].id
backend_port = 6443
frontend_port = 6443
protocol = "tcp"
Expand Down
5 changes: 5 additions & 0 deletions data/data/alibabacloud/cluster/vpc/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,8 @@ variable "tags" {
type = map(string)
description = "Tags to be applied to created resources."
}

variable "publish_strategy" {
type = string
description = "The publishing strategy for endpoints like load balancers"
}
8 changes: 5 additions & 3 deletions data/data/alibabacloud/cluster/vpc/vpc.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
locals {
description = "Created By OpenShift Installer"
prefix = var.cluster_id
newbits = max(4, 20 - tonumber(split("/", var.vpc_cidr_block)[1]))
vpc_id = var.vpc_id == "" ? alicloud_vpc.vpc.0.id : var.vpc_id
vswitch_ids = length(var.vswitch_ids) == 0 ? alicloud_vswitch.vswitches.*.id : var.vswitch_ids
is_external = var.publish_strategy == "External" ? true : false
}

data "alicloud_vswitches" "vswitches" {
Expand Down Expand Up @@ -32,7 +32,7 @@ resource "alicloud_vswitch" "vswitches" {
vswitch_name = "${local.prefix}-vswitch-${var.zone_ids[count.index]}"
description = local.description
vpc_id = local.vpc_id
cidr_block = cidrsubnet(var.vpc_cidr_block, local.newbits, count.index)
cidr_block = cidrsubnet(var.vpc_cidr_block, ceil(log(length(var.zone_ids) + 1, 2)), count.index + 1)
zone_id = var.zone_ids[count.index]
tags = merge(
{
Expand All @@ -43,10 +43,12 @@ resource "alicloud_vswitch" "vswitches" {
}

resource "alicloud_vswitch" "vswitch_nat_gateway" {
count = length(var.vswitch_ids) == 0 ? 1 : 0

vswitch_name = "${local.prefix}-vswitch-nat-gateway"
description = local.description
vpc_id = local.vpc_id
cidr_block = cidrsubnet(var.vpc_cidr_block, local.newbits, local.newbits)
cidr_block = cidrsubnet(var.vpc_cidr_block, ceil(log(length(var.zone_ids) + 1, 2)), 0)
zone_id = var.nat_gateway_zone_id
tags = merge(
{
Expand Down
5 changes: 5 additions & 0 deletions data/data/alibabacloud/variables-alibabacloud.tf
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ variable "ali_vswitch_ids" {
type = list(string)
}

variable "ali_publish_strategy" {
type = string
description = "The cluster publishing strategy, either Internal or External"
}

variable "ali_private_zone_id" {
type = string
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,12 +85,6 @@ podman run -d --net host --privileged --name mariadb \
-v $IRONIC_SHARED_VOLUME:/shared:z --entrypoint /bin/runmariadb \
--env MARIADB_PASSWORD=$mariadb_password ${IRONIC_IMAGE}

podman run -d --net host --privileged --name httpd \
--restart on-failure \
--env IRONIC_RAMDISK_SSH_KEY="$IRONIC_RAMDISK_SSH_KEY" \
--env PROVISIONING_INTERFACE=$PROVISIONING_NIC \
-v $IRONIC_SHARED_VOLUME:/shared:z --entrypoint /bin/runhttpd ${IRONIC_IMAGE}

{{ if .PlatformData.BareMetal.ProvisioningIPv6 }}
IPTABLES=ip6tables
{{ else }}
Expand Down Expand Up @@ -121,6 +115,15 @@ podman run -d --name coreos-downloader \
-v $IRONIC_SHARED_VOLUME:/shared:z \
${MACHINE_OS_IMAGES_IMAGE} /bin/copy-metal --all /shared/html/images/

# Wait for images to be downloaded/ready
podman wait -i 1000ms coreos-downloader

podman run -d --net host --privileged --name httpd \
--restart on-failure \
--env IRONIC_RAMDISK_SSH_KEY="$IRONIC_RAMDISK_SSH_KEY" \
--env PROVISIONING_INTERFACE=$PROVISIONING_NIC \
-v $IRONIC_SHARED_VOLUME:/shared:z --entrypoint /bin/runhttpd ${IRONIC_IMAGE}

# Add firewall rules to ensure the IPA ramdisk can reach httpd, Ironic and the Inspector API on the host
for port in 80 5050 6385 ; do
if ! $IPTABLES -C INPUT -i $PROVISIONING_NIC -p tcp -m tcp --dport $port -j ACCEPT > /dev/null 2>&1; then
Expand Down Expand Up @@ -151,9 +154,6 @@ done
$IPTABLES -t raw -A DHCP_IRONIC -j DROP
{{end}}

# Wait for images to be downloaded/ready
podman wait -i 1000ms coreos-downloader

export KUBECONFIG=/opt/openshift/auth/kubeconfig-loopback

mkdir -p /tmp/nmstate
Expand Down Expand Up @@ -184,6 +184,18 @@ else
IRONIC_HOST="${IRONIC_IP}"
fi

{{if .Proxy -}}
{{if .Proxy.HTTPProxy -}}
HTTP_PROXY="{{.Proxy.HTTPProxy}}"
{{end -}}
{{if .Proxy.HTTPSProxy -}}
HTTPS_PROXY="{{.Proxy.HTTPSProxy}}"
{{end -}}
{{if .Proxy.NoProxy -}}
NO_PROXY="{{.Proxy.NoProxy}}"
{{end -}}
{{end -}}

# Create a podman secret for the image-customization-server
podman secret rm pull-secret || true
base64 -w 0 /root/.docker/config.json | podman secret create pull-secret -
Expand All @@ -197,6 +209,9 @@ podman run -d --net host --privileged --name image-customization \
--env IRONIC_AGENT_IMAGE="$IRONIC_AGENT_IMAGE" \
--env IP_OPTIONS=$EXTERNAL_IP_OPTIONS \
--env REGISTRIES_CONF_PATH=/tmp/containers/registries.conf \
--env HTTP_PROXY="$HTTP_PROXY" \
--env HTTPS_PROXY="$HTTPS_PROXY" \
--env NO_PROXY="$NO_PROXY" \
--entrypoint '["/image-customization-server", "--nmstate-dir=/tmp/nmstate/", "--images-publish-addr=http://0.0.0.0:8084"]' \
-v /tmp/nmstate/:/tmp/nmstate/ \
-v $IRONIC_SHARED_VOLUME:/shared:z \
Expand Down
6 changes: 1 addition & 5 deletions data/data/bootstrap/files/usr/local/bin/bootkube.sh.template
Original file line number Diff line number Diff line change
Expand Up @@ -402,11 +402,7 @@ run_cluster_bootstrap() {
--volume "$PWD:/assets:z" \
--volume /etc/kubernetes:/etc/kubernetes:z \
"${CLUSTER_BOOTSTRAP_IMAGE}" \
start \
--tear-down-early=false \
--tear-down-delay="{{.TearDownDelay}}" \
--asset-dir=/assets \
--required-pods="${REQUIRED_PODS}"
start --tear-down-early=false --asset-dir=/assets --required-pods="${REQUIRED_PODS}"
}

if [ ! -f cb-bootstrap.done ]
Expand Down
Loading