From 37c77079f4d57ecd6e4bf544b01d6d8fbf2b747f Mon Sep 17 00:00:00 2001 From: Berk Dehrioglu Date: Mon, 23 Oct 2023 17:35:58 +0300 Subject: [PATCH] apply review notes --- helm/cluster-aws/templates/_bastion.tpl | 3 ++- helm/cluster-aws/templates/_control_plane.tpl | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/helm/cluster-aws/templates/_bastion.tpl b/helm/cluster-aws/templates/_bastion.tpl index f3558435..cb7313b0 100644 --- a/helm/cluster-aws/templates/_bastion.tpl +++ b/helm/cluster-aws/templates/_bastion.tpl @@ -104,7 +104,8 @@ spec: labels: cluster.x-k8s.io/role: bastion {{- include "labels.common" $ | nindent 8 }} - spec:{{- include "controlplane-awsmachinetemplate-spec" $ | nindent 6 }} + spec: + {{- include "bastion-awsmachinetemplate-spec" $ | nindent 6 }} --- apiVersion: bootstrap.cluster.x-k8s.io/v1beta1 kind: KubeadmConfigTemplate diff --git a/helm/cluster-aws/templates/_control_plane.tpl b/helm/cluster-aws/templates/_control_plane.tpl index e031c706..061e43b1 100644 --- a/helm/cluster-aws/templates/_control_plane.tpl +++ b/helm/cluster-aws/templates/_control_plane.tpl @@ -261,5 +261,6 @@ spec: labels: cluster.x-k8s.io/role: control-plane {{- include "labels.common" $ | nindent 8 }} - spec:{{- include "controlplane-awsmachinetemplate-spec" $ | nindent 6 }} + spec: + {{- include "controlplane-awsmachinetemplate-spec" $ | nindent 6 }} {{- end -}}