[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:
Andrew Kew
2022-09-05 19:25:39 +02:00
committed by GitHub
parent 86d6428c1f
commit b9bcea36d5
3 changed files with 7 additions and 0 deletions
+1
View File
@@ -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. | `{}` |
+2
View File
@@ -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 }}
+4
View File
@@ -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
##