diff --git a/IM/Chart.yaml b/IM/Chart.yaml index 93b50eb..da9635c 100644 --- a/IM/Chart.yaml +++ b/IM/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v2 name: IM description: Deploy a HA Infrastructure Manager -version: 1.6.2 +version: 1.6.3 type: application home: https://www.grycap.upv.es/im sources: diff --git a/IM/templates/im_lb_rbac.yaml b/IM/templates/im_lb_rbac.yaml index efa673a..3eb8212 100644 --- a/IM/templates/im_lb_rbac.yaml +++ b/IM/templates/im_lb_rbac.yaml @@ -4,12 +4,12 @@ apiVersion: v1 kind: ServiceAccount metadata: - name: im-load-balancer + name: {{ .Release.Namespace }}-im-load-balancer --- apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: - name: im-load-balancer + name: {{ .Release.Namespace }}-im-load-balancer rules: - apiGroups: - "" @@ -63,7 +63,7 @@ rules: apiVersion: rbac.authorization.k8s.io/v1 kind: Role metadata: - name: im-load-balancer + name: {{ .Release.Namespace }}-im-load-balancer rules: - apiGroups: - "" @@ -99,33 +99,33 @@ rules: apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRoleBinding metadata: - name: im-load-balancer + name: {{ .Release.Namespace }}-im-load-balancer roleRef: apiGroup: rbac.authorization.k8s.io kind: ClusterRole - name: im-load-balancer + name: {{ .Release.Namespace }}-im-load-balancer subjects: - kind: ServiceAccount - name: im-load-balancer + name: {{ .Release.Namespace }}-im-load-balancer namespace: {{ .Release.Namespace }} - apiGroup: rbac.authorization.k8s.io kind: User - name: im-load-balancer + name: {{ .Release.Namespace }}-im-load-balancer --- apiVersion: rbac.authorization.k8s.io/v1 kind: RoleBinding metadata: - name: im-load-balancer + name: {{ .Release.Namespace }}-im-load-balancer namespace: {{ .Release.Namespace }} roleRef: apiGroup: rbac.authorization.k8s.io kind: Role - name: im-load-balancer + name: {{ .Release.Namespace }}-im-load-balancer subjects: - kind: ServiceAccount - name: im-load-balancer + name: {{ .Release.Namespace }}-im-load-balancer namespace: {{ .Release.Namespace }} - apiGroup: rbac.authorization.k8s.io kind: User - name: im-load-balancer + name: {{ .Release.Namespace }}-im-load-balancer {{ end }} \ No newline at end of file