mirror of https://github.com/portainer/k8s.git
Allow setting of ingressClassName
Signed-off-by: Gavin Mogan <git@gavinmogan.com>pull/83/head
parent
cba266202b
commit
db91d8aaa6
|
@ -16,7 +16,7 @@ type: application
|
|||
|
||||
# This is the chart version. This version number should be incremented each time you make changes
|
||||
# to the chart and its templates, including the app version.
|
||||
version: 1.0.20
|
||||
version: 1.0.21
|
||||
|
||||
# This is the version number of the application being deployed. This version number should be
|
||||
# incremented each time you make changes to the application.
|
||||
|
|
|
@ -72,6 +72,7 @@ The following table lists the configurable parameters of the Portainer chart and
|
|||
| `service.annotations` | Annotations to add to the service | `{}` |
|
||||
| `ingress.enabled` | Create an ingress for Portainer | `false` |
|
||||
| `ingress.annotations` | Annotations to add to the ingress. For instane, `kubernetes.io/ingress.class: nginx` | `{}` |
|
||||
| `ingress.ingressClassName` | Sets the ingress class name such as `nginx` or `internal` | `` |
|
||||
| `ingress.hosts.host` | URL for Portainer Web. For instance, `portainer.example.io` | `nil` |
|
||||
| `ingress.hosts.paths.path` | Path for the Portainer Web. | `/` |
|
||||
| `ingress.hosts.paths.port` | Port for the Portainer Web. | `9000` |
|
||||
|
@ -85,4 +86,4 @@ The following table lists the configurable parameters of the Portainer chart and
|
|||
| `persistence.annotations` | Annotations to apply to PVC used for persistence | `{}` |
|
||||
| `persistence.storageClass` | StorageClass to apply to PVC used for persistence | `default` |
|
||||
| `persistence.accessMode` | AccessMode for persistence | `ReadWriteOnce` |
|
||||
| `persistence.selector` | Selector for persistence | `nil` |
|
||||
| `persistence.selector` | Selector for persistence | `nil` |
|
||||
|
|
|
@ -16,6 +16,9 @@ metadata:
|
|||
{{- toYaml . | nindent 4 }}
|
||||
{{- end }}
|
||||
spec:
|
||||
{{- with .Values.ingress.ingressClassName }}
|
||||
ingressClassName: {{ . }}
|
||||
{{- end }}
|
||||
{{- if .Values.ingress.tls }}
|
||||
tls:
|
||||
{{- range .Values.ingress.tls }}
|
||||
|
|
|
@ -46,6 +46,8 @@ tls:
|
|||
|
||||
ingress:
|
||||
enabled: false
|
||||
# Allows setting of the ingress class in newer ingress controllers
|
||||
ingressClassName:
|
||||
annotations: {}
|
||||
# nginx.ingress.kubernetes.io/backend-protocol: "HTTPS"
|
||||
hosts:
|
||||
|
|
Loading…
Reference in New Issue