Skip to content

Commit

Permalink
feat(keycloak): add availability to expose extra port on sts (helm#11162
Browse files Browse the repository at this point in the history
)

Signed-off-by: Julien Bouyoud <jbouyoud@leadformance.com>
  • Loading branch information
jBouyoud authored and k8s-ci-robot committed Feb 7, 2019
1 parent e00527d commit 6e2dcd7
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion stable/keycloak/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: keycloak
version: 4.3.0
version: 4.4.0
appVersion: 4.8.3.Final
description: Open Source Identity and Access Management For Modern Applications and Services
keywords:
Expand Down
1 change: 1 addition & 0 deletions stable/keycloak/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ Parameter | Description | Default
`keycloak.extraEnv` | Allows the specification of additional environment variables for Keycloak. Passed through the `tpl` function and thus to be configured a string | `""`
`keycloak.extraVolumeMounts` | Add additional volumes mounts, e. g. for custom themes. Passed through the `tpl` function and thus to be configured a string | `""`
`keycloak.extraVolumes` | Add additional volumes, e. g. for custom themes. Passed through the `tpl` function and thus to be configured a string | `""`
`keycloak.extraPorts` | Add additional ports, e. g. for custom admin console port. Passed through the `tpl` function and thus to be configured a string | `""`
`keycloak.podDisruptionBudget` | Pod disruption budget | `{}`
`keycloak.resources` | Pod resource requests and limits | `{}`
`keycloak.affinity` | Pod affinity. Passed through the `tpl` function and thus to be configured a string | `Hard node and soft zone anti-affinity`
Expand Down
3 changes: 3 additions & 0 deletions stable/keycloak/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,9 @@ spec:
containerPort: 7600
protocol: TCP
{{- end }}
{{- with .Values.keycloak.extraPorts }}
{{ tpl . $ | indent 12 }}
{{- end }}
livenessProbe:
httpGet:
path: {{ if ne .Values.keycloak.basepath "" }}/{{ .Values.keycloak.basepath }}{{ end }}/
Expand Down
3 changes: 3 additions & 0 deletions stable/keycloak/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,9 @@ keycloak:
extraVolumes: |
extraVolumeMounts: |
## Add additional ports, eg. for custom admin console
extraPorts: |
podDisruptionBudget: {}
# maxUnavailable: 1
# minAvailable: 1
Expand Down

0 comments on commit 6e2dcd7

Please sign in to comment.