Skip to content

Commit

Permalink
chore: defensive type-check for k8s cluster type
Browse files Browse the repository at this point in the history
  • Loading branch information
vvagaytsev committed Sep 27, 2023
1 parent fd40bdb commit 4e05b77
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions core/src/plugins/kubernetes/local/local.ts
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,8 @@ async function prepareEnvironment(
log.debug("Using microk8s's ingress addon")
microk8sAddons.push("ingress")
await applyYamlFromFile(k8sCtx, log, join(STATIC_DIR, "kubernetes", "nginx-ingress-class.yaml"))
} else {
clusterType satisfies "generic"
}
}

Expand Down

0 comments on commit 4e05b77

Please sign in to comment.