Skip to content

Commit

Permalink
rename ingress.yaml to ingress-values.yaml (#1132) (#1133)
Browse files Browse the repository at this point in the history
Cherry-picked from #1132
  • Loading branch information
renetapopova authored Oct 20, 2023
1 parent a37bde6 commit 441dd69
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions modules/ROOT/pages/kubernetes/accessing-neo4j-ingress.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -103,13 +103,13 @@ helm upgrade --install ingress-nginx ingress-nginx \

== Configure the Kubernetes Ingress

Configure the _ingress.yaml_ file that you will use to install the Reverse proxy Helm chart.
Configure the _ingress-values.yaml_ file that you will use to install the Reverse proxy Helm chart.

=== Configure the _ingress.yaml_ file to access Neo4j on port `:443`
=== Configure the _ingress-values.yaml_ file to access Neo4j on port `:443`

The following example shows how to configure the _ingress.yaml_ file to access Neo4j on port `:443`:
The following example shows how to configure the _ingress-values.yaml_ file to access Neo4j on port `:443`:

. Create a Kubernetes secret containing the Ingress self-signed certificates and then create the _ingress.yaml_ file.
. Create a Kubernetes secret containing the Ingress self-signed certificates and then create the _ingress-values.yaml_ file.
.. Create a directory for the Ingress self-signed certificates:
+
[source,shell]
Expand All @@ -130,7 +130,7 @@ openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout ingress.key -out ing
kubectl create secret tls ingress-cert --key /path/to/your/certs/ingress.key --cert /path/to/your/certs/ingress.cert
----

. Configure the _ingress.yaml_ file with the correct values for the `serviceName` and `secretName`.
. Configure the _ingress-values.yaml_ file with the correct values for the `serviceName` and `secretName`.
Ensure that the `secretName` is the same as the one created in the previous step.
Enable TLS by setting `tls.enabled` to `true`.
+
Expand All @@ -149,9 +149,9 @@ reverseProxy:
- localhost
----

=== Configure the _ingress.yaml_ file to access Neo4j on port `:80`
=== Configure the _ingress-values.yaml_ file to access Neo4j on port `:80`

Alternatively, if you want to access Neo4j on port `:80`, leave `tls.enabled` with its default value `false`, and create the _ingress.yaml_ file with the following content:
Alternatively, if you want to access Neo4j on port `:80`, leave `tls.enabled` with its default value `false`, and create the _ingress-values.yaml_ file with the following content:

[source, yaml]
----
Expand All @@ -166,11 +166,11 @@ reverseProxy:

== Install the Reverse proxy Helm chart

Install the Reverse proxy Helm chart using the _ingress.yaml_ file that you have created:
Install the Reverse proxy Helm chart using the _ingress-values.yaml_ file that you have created:

[source,shell]
----
helm install rp neo4j/neo4j-reverse-proxy -f /path/to/your/ingress.yaml
helm install rp neo4j/neo4j-reverse-proxy -f /path/to/your/ingress-values.yaml
----

== Access your data via Neo4j Browser
Expand Down

0 comments on commit 441dd69

Please sign in to comment.