File tree Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -9,5 +9,5 @@ data "template_file" "kube_dns_cfg" {
9
9
resource "local_file" "kube_dns_cfg" {
10
10
depends_on = [" module.bootkube" ]
11
11
content = " ${ data . template_file . kube_dns_cfg . rendered } "
12
- filename = " ${ path . module } /${ var . asset_dir } /manifests/kube-dns-cfg.yaml"
12
+ filename = " ${ path . module } /${ var . asset_dir } /manifests-custom /kube-dns-cfg.yaml"
13
13
}
Original file line number Diff line number Diff line change @@ -15,5 +15,5 @@ resource "local_file" "kube_router" {
15
15
count = " ${ var . use_kube_router } "
16
16
depends_on = [" module.bootkube" ]
17
17
content = " ${ data . template_file . kube_router . rendered } "
18
- filename = " ${ path . module } /${ var . asset_dir } /manifests-networking /kube-router.yaml"
18
+ filename = " ${ path . module } /${ var . asset_dir } /manifests-custom /kube-router.yaml"
19
19
}
Original file line number Diff line number Diff line change 1
1
# Write private SSH key to file for e2e, etc
2
2
resource "local_file" "ssh_key_private" {
3
3
content = " ${ tls_private_key . ssh . private_key_pem } "
4
- filename = " ${ path . module } /assets/auth/id_rsa"
4
+ filename = " ${ path . module } /assets/auth-custom /id_rsa"
5
5
6
6
provisioner "local-exec" {
7
- command = " chmod 600 ${ path . module } /assets/auth/id_rsa"
7
+ command = " chmod 600 ${ path . module } /assets/auth-custom /id_rsa"
8
8
}
9
9
}
10
10
Original file line number Diff line number Diff line change @@ -486,7 +486,7 @@ storage:
486
486
# Wrapper for bootkube start
487
487
set -e
488
488
# Move experimental manifests
489
- [ -d /opt/bootkube/assets/manifests-* ] && mv /opt/bootkube/assets/manifests-*/* /opt/bootkube/assets/manifests && rm -rf /opt/bootkube/assets/manifests-*
489
+ [ -n "$(ls - d /opt/bootkube/assets/manifests-*)" ] && mv /opt/bootkube/assets/manifests-*/* /opt/bootkube/assets/manifests && rm -rf /opt/bootkube/assets/manifests-*
490
490
[ -d /opt/bootkube/assets/experimental/manifests ] && mv /opt/bootkube/assets/experimental/manifests/* /opt/bootkube/assets/manifests && rm -r /opt/bootkube/assets/experimental/manifests
491
491
[ -d /opt/bootkube/assets/experimental/bootstrap-manifests ] && mv /opt/bootkube/assets/experimental/bootstrap-manifests/* /opt/bootkube/assets/bootstrap-manifests && rm -r /opt/bootkube/assets/experimental/bootstrap-manifests
492
492
BOOTKUBE_ACI="$${BOOTKUBE_ACI:-quay.io/coreos/bootkube}"
You can’t perform that action at this time.
0 commit comments