Skip to content

Commit b3dcbbf

Browse files
committed
Rename dashboard-controller.yaml to dashboard-deployment.yaml
Signed-off-by: ialidzhikov <[email protected]>
1 parent 1679bed commit b3dcbbf

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed
File renamed without changes.

cluster/gce/gci/configure-helper.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2551,7 +2551,7 @@ function update-event-exporter {
25512551
sed -i -e "s@{{ exporter_sd_endpoint }}@${STACKDRIVER_ENDPOINT:-}@g" "$1"
25522552
}
25532553

2554-
function update-dashboard-controller {
2554+
function update-dashboard-deployment {
25552555
if [ -n "${CUSTOM_KUBE_DASHBOARD_BANNER:-}" ]; then
25562556
sed -i -e "s@\( \+\)# PLATFORM-SPECIFIC ARGS HERE@\1- --system-banner=${CUSTOM_KUBE_DASHBOARD_BANNER}\n\1- --system-banner-severity=WARNING@" "$1"
25572557
fi
@@ -2846,8 +2846,8 @@ EOF
28462846
fi
28472847
if [[ "${ENABLE_CLUSTER_UI:-}" == "true" ]]; then
28482848
setup-addon-manifests "addons" "dashboard"
2849-
local -r dashboard_controller_yaml="${dst_dir}/dashboard/dashboard-controller.yaml"
2850-
update-dashboard-controller ${dashboard_controller_yaml}
2849+
local -r dashboard_deployment_yaml="${dst_dir}/dashboard/dashboard-deployment.yaml"
2850+
update-dashboard-deployment ${dashboard_deployment_yaml}
28512851
fi
28522852
if [[ "${ENABLE_NODE_PROBLEM_DETECTOR:-}" == "daemonset" ]]; then
28532853
setup-addon-manifests "addons" "node-problem-detector"

hack/local-up-cluster.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -881,7 +881,7 @@ function start_kubedashboard {
881881
${KUBECTL} --kubeconfig="${CERT_DIR}/admin.kubeconfig" apply -f "${KUBE_ROOT}/cluster/addons/dashboard/dashboard-secret.yaml"
882882
${KUBECTL} --kubeconfig="${CERT_DIR}/admin.kubeconfig" apply -f "${KUBE_ROOT}/cluster/addons/dashboard/dashboard-configmap.yaml"
883883
${KUBECTL} --kubeconfig="${CERT_DIR}/admin.kubeconfig" apply -f "${KUBE_ROOT}/cluster/addons/dashboard/dashboard-rbac.yaml"
884-
${KUBECTL} --kubeconfig="${CERT_DIR}/admin.kubeconfig" apply -f "${KUBE_ROOT}/cluster/addons/dashboard/dashboard-controller.yaml"
884+
${KUBECTL} --kubeconfig="${CERT_DIR}/admin.kubeconfig" apply -f "${KUBE_ROOT}/cluster/addons/dashboard/dashboard-deployment.yaml"
885885
${KUBECTL} --kubeconfig="${CERT_DIR}/admin.kubeconfig" apply -f "${KUBE_ROOT}/cluster/addons/dashboard/dashboard-service.yaml"
886886
echo "kubernetes-dashboard deployment and service successfully deployed."
887887
fi

0 commit comments

Comments
 (0)