This repository has been archived on 2024-12-15. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
2020-11-12 12:57:10 +01:00

1012 B

OneChart generates an Ingress resource for the Nginx ingress controller with the following settings:

image:
  repository: nginx
  tag: 1.19.3

ingress:
  annotations:
    kubernetes.io/ingress.class: nginx
  host: chart-example.local

Check the Kubernetes manifest:

cat << EOF > values.yaml
image:
  repository: nginx
  tag: 1.19.3

ingress:
  annotations:
    kubernetes.io/ingress.class: nginx
  host: my-release.mycompany.com
EOF

helm template my-release onechart/onechart -f values.yaml

!!! warning The Nginx ingress controller must be set up in your cluster for this setting to work.

HTTPS

To reference a TLS secret use the tlsEnabled field. The deployment will point to a secret named: tls-$.Release.Name

cat << EOF > values.yaml
image:
  repository: nginx
  tag: 1.19.3

ingress:
  annotations:
    kubernetes.io/ingress.class: nginx
  host: my-release.mycompany.com
  tlsEnabled: true
EOF

helm template my-release onechart/onechart -f values.yaml