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: helm/polaris/README.md
+36-21Lines changed: 36 additions & 21 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -62,14 +62,29 @@ minikube start
62
62
eval$(minikube docker-env)
63
63
64
64
./gradlew \
65
-
:polaris-server:assemble \
66
-
:polaris-server:quarkusAppPartsBuild --rerun \
67
-
:polaris-admin:assemble \
68
-
:polaris-admin:quarkusAppPartsBuild --rerun \
69
-
-Dquarkus.container-image.build=true
65
+
:polaris-server:assemble \
66
+
:polaris-server:quarkusAppPartsBuild --rerun \
67
+
:polaris-admin:assemble \
68
+
:polaris-admin:quarkusAppPartsBuild --rerun \
69
+
-Dquarkus.container-image.tag=postgres-latest \
70
+
-Dquarkus.container-image.build=true
70
71
```
71
72
72
-
#### Installing the Helm chart
73
+
### Installing the chart locally
74
+
75
+
The below instructions assume a local Kubernetes cluster is running and Helm is installed.
76
+
77
+
#### Common setup
78
+
79
+
Create the target namespace:
80
+
```bash
81
+
kubectl create namespace polaris
82
+
```
83
+
84
+
Create all the required resources in the `polaris` namespace. This usually includes a Postgres
85
+
database and a Kubernetes Secret for Polaris service certification files. The Polaris chart does not create
86
+
these resources automatically, as they are not required for all Polaris deployments. The chart will
87
+
fail if these resources are not created beforehand. You can find a reference for these resources in the `Prerequisites` section within `Development & Testing`.
73
88
74
89
Below are two sample deployment models for installing the chart: one with a non-persistent backend and another with a persistent backend.
75
90
@@ -78,13 +93,13 @@ Below are two sample deployment models for installing the chart: one with a non-
78
93
> **These files are intended for testing purposes primarily, and may not be suitable for production use**.
79
94
> For production deployments, create your own values files based on the provided examples.
80
95
81
-
#####Non-persistent backend
96
+
#### Non-persistent backend
82
97
83
98
Install the chart with a non-persistent backend. From Polaris repo root:
84
99
```bash
85
100
helm upgrade --install --namespace polaris \
86
101
--values helm/polaris/ci/simple-values.yaml \
87
-
polaris helm/polaris --create-namespace polaris
102
+
polaris helm/polaris
88
103
```
89
104
90
105
Note: if you are running the tests on a Kind cluster started with the `run.sh` command explained
@@ -93,21 +108,14 @@ above, then you need to run `helm upgrade` as follows:
> The Postgres deployment set up in the fixtures directory is intended for testing purposes only and is not suitable for production use. For production deployments, use a managed Postgres service or a properly configured and secured Postgres instance.
103
118
104
-
Install the dependencies in fixtures directory. From Polaris repo root:
Copy file name to clipboardExpand all lines: helm/polaris/README.md.gotmpl
+36-21Lines changed: 36 additions & 21 deletions
Original file line number
Diff line number
Diff line change
@@ -64,14 +64,29 @@ minikube start
64
64
eval $(minikube docker-env)
65
65
66
66
./gradlew \
67
-
:polaris-server:assemble \
68
-
:polaris-server:quarkusAppPartsBuild --rerun \
69
-
:polaris-admin:assemble \
70
-
:polaris-admin:quarkusAppPartsBuild --rerun \
71
-
-Dquarkus.container-image.build=true
67
+
:polaris-server:assemble \
68
+
:polaris-server:quarkusAppPartsBuild --rerun \
69
+
:polaris-admin:assemble \
70
+
:polaris-admin:quarkusAppPartsBuild --rerun \
71
+
-Dquarkus.container-image.tag=postgres-latest \
72
+
-Dquarkus.container-image.build=true
72
73
```
73
74
74
-
#### Installing the Helm chart
75
+
### Installing the chart locally
76
+
77
+
The below instructions assume a local Kubernetes cluster is running and Helm is installed.
78
+
79
+
#### Common setup
80
+
81
+
Create the target namespace:
82
+
```bash
83
+
kubectl create namespace polaris
84
+
```
85
+
86
+
Create all the required resources in the `polaris` namespace. This usually includes a Postgres
87
+
database and a Kubernetes Secret for Polaris service certification files. The Polaris chart does not create
88
+
these resources automatically, as they are not required for all Polaris deployments. The chart will
89
+
fail if these resources are not created beforehand. You can find a reference for these resources in the `Prerequisites` section within `Development & Testing`.
75
90
76
91
Below are two sample deployment models for installing the chart: one with a non-persistent backend and another with a persistent backend.
77
92
@@ -80,13 +95,13 @@ Below are two sample deployment models for installing the chart: one with a non-
80
95
> **These files are intended for testing purposes primarily, and may not be suitable for production use**.
81
96
> For production deployments, create your own values files based on the provided examples.
82
97
83
-
##### Non-persistent backend
98
+
#### Non-persistent backend
84
99
85
100
Install the chart with a non-persistent backend. From Polaris repo root:
86
101
```bash
87
102
helm upgrade --install --namespace polaris \
88
103
--values helm/polaris/ci/simple-values.yaml \
89
-
polaris helm/polaris --create-namespace polaris
104
+
polaris helm/polaris
90
105
```
91
106
92
107
Note: if you are running the tests on a Kind cluster started with the `run.sh` command explained
@@ -95,21 +110,14 @@ above, then you need to run `helm upgrade` as follows:
> The Postgres deployment set up in the fixtures directory is intended for testing purposes only and is not suitable for production use. For production deployments, use a managed Postgres service or a properly configured and secured Postgres instance.
105
120
106
-
Install the dependencies in fixtures directory. From Polaris repo root:
0 commit comments