mirror of
https://github.com/fosrl/pangolin.git
synced 2026-03-04 17:56:38 +00:00
feat(kubernetes): enable newtInstances by default and update installation instructions
Signed-off-by: Marc Schäfer <git@marcschaeferger.de>
This commit is contained in:
@@ -101,6 +101,7 @@ export function NewtSiteInstallCommands({
|
|||||||
`helm install newt fossorial/newt \\
|
`helm install newt fossorial/newt \\
|
||||||
--create-namespace \\
|
--create-namespace \\
|
||||||
--set newtInstances[0].name="main-tunnel" \\
|
--set newtInstances[0].name="main-tunnel" \\
|
||||||
|
--set newtInstances[0].enabled=true \\
|
||||||
--set-string newtInstances[0].auth.keys.endpointKey="${endpoint}" \\
|
--set-string newtInstances[0].auth.keys.endpointKey="${endpoint}" \\
|
||||||
--set-string newtInstances[0].auth.keys.idKey="${id}" \\
|
--set-string newtInstances[0].auth.keys.idKey="${id}" \\
|
||||||
--set-string newtInstances[0].auth.keys.secretKey="${secret}"`
|
--set-string newtInstances[0].auth.keys.secretKey="${secret}"`
|
||||||
@@ -186,9 +187,7 @@ WantedBy=default.target`
|
|||||||
/>
|
/>
|
||||||
|
|
||||||
<div className="pt-4">
|
<div className="pt-4">
|
||||||
<p className="font-bold mb-3">
|
<p className="font-bold mb-3">{t("siteConfiguration")}</p>
|
||||||
{t("siteConfiguration")}
|
|
||||||
</p>
|
|
||||||
<div className="flex items-center space-x-2 mb-2">
|
<div className="flex items-center space-x-2 mb-2">
|
||||||
<CheckboxWithLabel
|
<CheckboxWithLabel
|
||||||
id="acceptClients"
|
id="acceptClients"
|
||||||
@@ -211,12 +210,23 @@ WantedBy=default.target`
|
|||||||
|
|
||||||
<div className="pt-4">
|
<div className="pt-4">
|
||||||
<p className="font-bold mb-3">{t("commands")}</p>
|
<p className="font-bold mb-3">{t("commands")}</p>
|
||||||
|
<p className="text-sm text-muted-foreground mb-3">
|
||||||
|
For more and up to date Kubernetes installation
|
||||||
|
information, see{" "}
|
||||||
|
<a
|
||||||
|
href="https://docs.pangolin.net/manage/sites/install-kubernetes"
|
||||||
|
target="_blank"
|
||||||
|
rel="noreferrer"
|
||||||
|
className="underline"
|
||||||
|
>
|
||||||
|
docs.pangolin.net/manage/sites/install-kubernetes
|
||||||
|
</a>
|
||||||
|
.
|
||||||
|
</p>
|
||||||
<div className="mt-2 space-y-3">
|
<div className="mt-2 space-y-3">
|
||||||
{commands.map((item, index) => {
|
{commands.map((item, index) => {
|
||||||
const commandText =
|
const commandText =
|
||||||
typeof item === "string"
|
typeof item === "string" ? item : item.command;
|
||||||
? item
|
|
||||||
: item.command;
|
|
||||||
const title =
|
const title =
|
||||||
typeof item === "string"
|
typeof item === "string"
|
||||||
? undefined
|
? undefined
|
||||||
|
|||||||
Reference in New Issue
Block a user