Skip to content

Commit

Permalink
enableServiceLinks are only used in k8s >= 1.13.0 (#43)
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Dop <[email protected]>
  • Loading branch information
michaeldop authored and unguiculus committed Jun 3, 2019
1 parent 66e1401 commit d31685c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/keycloak/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: keycloak
version: 4.14.1
version: 4.14.2
appVersion: 5.0.0
description: Open Source Identity and Access Management For Modern Applications and Services
keywords:
Expand Down
2 changes: 2 additions & 0 deletions charts/keycloak/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,9 @@ spec:
hostAliases:
{{ toYaml . | indent 8 }}
{{- end }}
{{- if (semverCompare ">=1.13-0" .Capabilities.KubeVersion.GitVersion) }}
enableServiceLinks: {{ .Values.keycloak.enableServiceLinks }}
{{- end }}
serviceAccountName: {{ template "keycloak.serviceAccountName" . }}
securityContext:
{{ toYaml .Values.keycloak.securityContext | indent 8 }}
Expand Down

0 comments on commit d31685c

Please sign in to comment.