Skip to content

Commit 08e0f6c

Browse files
FIX (igress): Get rid of ingress by default
1 parent 53861ac commit 08e0f6c

File tree

3 files changed

+18
-37
lines changed

3 files changed

+18
-37
lines changed

app/components/DocsSidebarComponent.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ const navItems: NavItem[] = [
4040
href: "/password",
4141
},
4242
{
43-
title: "How Postgresus is secured?",
43+
title: "Security",
4444
href: "/security",
4545
},
4646
{

app/components/InstallationComponent.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ curl -sSL https://raw.githubusercontent.com/RostislavDugin/postgresus/refs/heads
7676
label: "Helm (Kubernetes)",
7777
language: "bash",
7878
description:
79-
"For Kubernetes deployments, clone the repository and use the official Helm chart. This will create a StatefulSet with persistent storage and optional ingress.",
79+
"For Kubernetes deployments, clone the repository and use the official Helm chart. This will create a StatefulSet with persistent storage and LoadBalancer service on port 80.",
8080
code: "",
8181
codeBlocks: [
8282
{
@@ -88,6 +88,10 @@ cd postgresus`,
8888
label: "Install the Helm chart",
8989
code: `helm install postgresus ./deploy/postgresus -n postgresus --create-namespace`,
9090
},
91+
{
92+
label: "Get the external IP",
93+
code: `kubectl get svc -n postgresus`,
94+
},
9195
],
9296
},
9397
};

app/installation/page.tsx

Lines changed: 12 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -65,21 +65,7 @@ cd postgresus`;
6565

6666
const helmInstall = `helm install postgresus ./deploy/postgresus -n postgresus --create-namespace`;
6767

68-
const helmValues = `ingress:
69-
hosts:
70-
- host: backup.yourdomain.com
71-
paths:
72-
- path: /
73-
pathType: Prefix
74-
tls:
75-
- secretName: backup-yourdomain-com-tls
76-
hosts:
77-
- backup.yourdomain.com
78-
79-
persistence:
80-
size: 20Gi`;
81-
82-
const helmInstallWithValues = `helm install postgresus ./deploy/postgresus -n postgresus --create-namespace -f values.yaml`;
68+
const helmGetSvc = `kubectl get svc -n postgresus`;
8369

8470
const helmUpgrade = `helm upgrade postgresus ./deploy/postgresus -n postgresus`;
8571

@@ -280,8 +266,8 @@ persistence:
280266

281267
<p>
282268
For Kubernetes deployments, use the official Helm chart. This
283-
will create a StatefulSet with persistent storage and optional
284-
ingress.
269+
will create a StatefulSet with persistent storage and
270+
LoadBalancer service on port 80.
285271
</p>
286272

287273
<p>First, clone the repository:</p>
@@ -306,30 +292,21 @@ persistence:
306292
</div>
307293
</div>
308294

309-
<p>
310-
To customize the installation, create a <code>values.yaml</code>{" "}
311-
file:
312-
</p>
295+
<p>Get the external IP:</p>
313296

314297
<div className="relative my-6">
315298
<pre className="overflow-x-auto rounded-lg bg-gray-900 p-4 text-sm text-gray-100">
316-
<code>{helmValues}</code>
299+
<code>{helmGetSvc}</code>
317300
</pre>
318301
<div className="absolute right-2 top-2">
319-
<CopyButton text={helmValues} />
302+
<CopyButton text={helmGetSvc} />
320303
</div>
321304
</div>
322305

323-
<p>Then install with your custom values:</p>
324-
325-
<div className="relative my-6">
326-
<pre className="overflow-x-auto rounded-lg bg-gray-900 p-4 text-sm text-gray-100">
327-
<code>{helmInstallWithValues}</code>
328-
</pre>
329-
<div className="absolute right-2 top-2">
330-
<CopyButton text={helmInstallWithValues} />
331-
</div>
332-
</div>
306+
<p>
307+
Access Postgresus at <code>http://&lt;EXTERNAL-IP&gt;</code>{" "}
308+
(port 80).
309+
</p>
333310

334311
<p>
335312
See the{" "}
@@ -341,8 +318,8 @@ persistence:
341318
>
342319
Helm chart documentation
343320
</a>{" "}
344-
for all configuration options including resources, ingress
345-
annotations and health checks.
321+
for all configuration options including NodePort, Ingress with
322+
HTTPS, custom storage and more.
346323
</p>
347324

348325
<h2 id="getting-started">Getting started</h2>

0 commit comments

Comments
 (0)