You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/self-hosted/kubernetes-helm.md
+11-8Lines changed: 11 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,8 +6,8 @@ to instead install Private Packagist Self-Hosted without an existing Kubernetes
6
6
7
7
## General requirements
8
8
9
-
1. A Kubernetes cluster v1.23 or v1.24
10
-
1. Your username and password to log in to the registry. Don't have one yet? [Sign up for a free trial license!](https://packagist.com/self-hosted)
9
+
1. A Kubernetes cluster v1.23 or newer
10
+
1. Your username and password to log in to the Helm registry on registry.replicated.com. You can find your credentials with your Private Packagist account on https://packagist.com. Don't have one yet? [Sign up for a free trial license!](https://packagist.com/self-hosted)
11
11
1. One (sub-)domain to operate the web interface, e.g. packagist.myintranet.com
12
12
1. One (sub-)domain to operate the composer repository, e.g. repo.packagist.myintranet.com or packagist-repo.myintranet.com
13
13
1. An SSL certificate valid for both chosen domains
@@ -23,7 +23,7 @@ to instead install Private Packagist Self-Hosted without an existing Kubernetes
23
23
## Installation
24
24
25
25
Private Packagist Self-Hosted requires PostgreSQL, Redis, and blob storage to store application data and Composer packages.
26
-
You can either use the build-in options to come with the Helm chart or use your own PostgreSQL, Redis, and blob storage.
26
+
You can either use the built-in options that come with the Helm chart or use your own PostgreSQL, Redis, and blob storage.
27
27
For blob storage, we currently support Azure Blob Storage, Google Cloud Storage, AWS S3, and other S3-compatible storage solutions.
28
28
29
29
Please note that if you chose to use the built-int solution then each of the storage requires one or more volumes using
@@ -32,16 +32,18 @@ Configure the Storage Class in global values section.
32
32
33
33
### Annotated configuration
34
34
35
+
To install the Private Packagist Self-Hosted Helm Chart configure values based on your setup, store them in a YAML file, e.g. values.yaml, and then run the commands below.
36
+
35
37
HELM_CHART_VALUES_FILE
36
38
37
39
#### Login to the Helm registry and install the chart
38
40
39
-
To install the Private Packagist Self-Hosted Helm Chart configure values based on your setup and then run the commands below.
40
-
Make sure you replace `YOUR_USERNAME`, `YOUR_PASSWORD`, `YOURVALUES.yaml`, and `VERSION` with your values before running the commands.
41
+
Make sure you replace `YOUR_USERNAME`, `YOUR_PASSWORD`, `values.yaml`, and `VERSION` with your values before running the commands.
42
+
You can find the latest Private Packagist version on our [changelog page](/docs/self-hosted/changelog).
helm install -f YOURVALUES.yaml private-packagist oci://registry.replicated.com/privatepackagistkots/unstable/private-packagist --version VERSION
46
+
helm install -f values.yaml private-packagist oci://registry.replicated.com/privatepackagistkots/private-packagist --version VERSION
45
47
```
46
48
47
49
#### Authentication Setup
@@ -78,10 +80,11 @@ That’s it! Private Packagist Self-Hosted is now ready to be used! You’ll fin
78
80
79
81
Private Packagist Self-Hosted will set up PostgreSQL, Redis, and MinIO to store application data and Composer packages.
80
82
Each of them requires one or more volumes using [dynamic volume provision](https://kubernetes.io/docs/concepts/storage/dynamic-provisioning/) to allocate storage for the different Pods.
81
-
Configure the Storage Class under the Kubernetes Settings on the Config page in the admin console.
83
+
Configure the Storage Class in the values.yaml under `global.storageClass`.
82
84
83
85
Alternatively, you can configure Private Packagist Self-Hosted to use your own PostgreSQL, Redis, and blob storage.
84
86
For blob storage, we currently support Azure Blob Storage, Google Cloud Storage, AWS S3, and other S3-compatible storage solutions.
87
+
You can configure the blog storage in the values.yaml under `storage.type`.
85
88
86
89
## Security
87
90
@@ -92,7 +95,7 @@ Make sure your Kubernetes network plugin encrypts connections between pods to av
92
95
93
96
## Backups
94
97
95
-
The Replicated admin console integrates with [Velero](https://velero.io/), a tool to back up and restore your Kubernetes
98
+
The Private Packagist Self-Hosted application integrates with [Velero](https://velero.io/), a tool to back up and restore your Kubernetes
96
99
cluster resources and persistent volumes. Private Packagist Self-Hosted provides annotations to help back up and restore
0 commit comments