Skip to content

Commit

Permalink
Merge pull request #71 from it-at-m/bug/refarch-gateway-fix-hazelcast…
Browse files Browse the repository at this point in the history
…-role-permissions

[refarch-gateway] Bug/fix hazelcast role permissions
  • Loading branch information
simonhir authored Nov 26, 2024
2 parents 7e91872 + f7cfa60 commit 965d69f
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion charts/refarch-gateway/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: refarch-gateway
description: Helm chart for deploying the it@M refarch-gateway
type: application
version: 1.3.1
version: 1.3.2-1
appVersion: 1.3.1
home: https://github.com/it-at-m/helm-charts/tree/main/charts/refarch-gateway
icon: https://opensource.muenchen.de/assets/itm-logo-256.png
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{{- if and .Values.hazelcast.enabled .Values.serviceAccount.create }}
{{- if and .Values.hazelcast.assignRoleToServiceAccount .Values.serviceAccount.create }}
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
Expand Down
2 changes: 1 addition & 1 deletion charts/refarch-gateway/templates/hazelcast-role.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{{- if .Values.hazelcast.enabled }}
{{- if and .Values.hazelcast.assignRoleToServiceAccount .Values.serviceAccount.create }}
# based on https://github.com/hazelcast/hazelcast/blob/master/kubernetes-rbac.yaml
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
Expand Down
1 change: 1 addition & 0 deletions charts/refarch-gateway/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -124,3 +124,4 @@ applicationYML:

hazelcast:
enabled: true
assignRoleToServiceAccount: true

0 comments on commit 965d69f

Please sign in to comment.