Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Specifications

SpecificationValue
Chart
https://charts.bitnami.com/bitnami/nginx
Chart Version13.2.13
Nginx Version
1.23.2


Pulling the Chart

Code Block
helm repo add bitnami https://charts.bitnami.com/bitnami
helm pull bitnami/nginx


Exposing on an Ingress

The following settings will enable an ingress. The annotation will perform the re-writing to the end URL removing /app.

Code Block
ingress:
  enabled: true
  hostname: "localhost"
  annotations:
     nginx.ingress.kubernetes.io/rewrite-target: /$2
  path: /app(/|$)(.*)
  pathType: Prefix
  ingressClassName: "nginx"


Exposing as a Nodeport

We can update the values.yaml to enable a Nodeport by updating the following parameters:

...

NOTE: In order to prevent startup errors, we used a variable for proxypass and defined a resolver for name lookups.


Postman Collections