mirror of
https://github.com/wahyd4/charts.git
synced 2026-08-15 16:16:27 +10:00
[bitnami/keycloak] Added ability to toggle http port on k8s service (#11504)
* [bitnami/keycloak] Added ability to toggle http port on k8s service Signed-off-by: Andrew Kew <andrew@quadcorps.co.uk> * Updating READMe using auto readme tool and bumping version of chart Signed-off-by: Andrew Kew <andrew@quadcorps.co.uk> * [bitnami/keycloak] Added ability to toggle http port on k8s service Signed-off-by: Andrew Kew <andrew@quadcorps.co.uk> * Updating READMe using auto readme tool and bumping version of chart Signed-off-by: Andrew Kew <andrew@quadcorps.co.uk> * Adding new line to chart file Signed-off-by: Andrew Kew <andrew@quadcorps.co.uk> Signed-off-by: Andrew Kew <andrew@quadcorps.co.uk>
This commit is contained in:
@@ -184,6 +184,7 @@ The command removes all the Kubernetes components associated with the chart and
|
||||
| Name | Description | Value |
|
||||
| ---------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | ------------------------ |
|
||||
| `service.type` | Kubernetes service type | `LoadBalancer` |
|
||||
| `service.http.enabled` | Enable http port on service | `true` |
|
||||
| `service.ports.http` | Keycloak service HTTP port | `80` |
|
||||
| `service.ports.https` | Keycloak service HTTPS port | `443` |
|
||||
| `service.nodePorts` | Specify the nodePort values for the LoadBalancer and NodePort service types. | `{}` |
|
||||
|
||||
@@ -38,6 +38,7 @@ spec:
|
||||
sessionAffinityConfig: {{- include "common.tplvalues.render" (dict "value" .Values.service.sessionAffinityConfig "context" $) | nindent 4 }}
|
||||
{{- end }}
|
||||
ports:
|
||||
{{- if .Values.service.http.enabled }}
|
||||
- name: http
|
||||
port: {{ coalesce .Values.service.ports.http .Values.service.port }}
|
||||
protocol: TCP
|
||||
@@ -47,6 +48,7 @@ spec:
|
||||
{{- else if eq .Values.service.type "ClusterIP" }}
|
||||
nodePort: null
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- if .Values.auth.tls.enabled }}
|
||||
- name: https
|
||||
port: {{ coalesce .Values.service.ports.https .Values.service.httpsPort }}
|
||||
|
||||
@@ -464,6 +464,10 @@ service:
|
||||
## @param service.type Kubernetes service type
|
||||
##
|
||||
type: LoadBalancer
|
||||
## @param service.http.enabled Enable http port on service
|
||||
##
|
||||
http:
|
||||
enabled: true
|
||||
## @param service.ports.http Keycloak service HTTP port
|
||||
## @param service.ports.https Keycloak service HTTPS port
|
||||
##
|
||||
|
||||
Reference in New Issue
Block a user