mirror of
https://github.com/2martens/cloud-configuration.git
synced 2026-10-17 08:37:56 +02:00
fix(template): Add missing permissions for leader role
This commit is contained in:
@@ -2,7 +2,7 @@ apiVersion: v2
|
||||
name: template
|
||||
description: A Helm library chart containing common templates, keeping application templates short
|
||||
type: library
|
||||
version: 0.3.2
|
||||
version: 0.3.3
|
||||
maintainers:
|
||||
- name: Jim Martens
|
||||
url: https://2martens.de
|
||||
@@ -11,7 +11,9 @@ sources:
|
||||
annotations:
|
||||
artifacthub.io/changes: |
|
||||
- kind: fixed
|
||||
description: Added missing line break
|
||||
description: Added missing permission to leader role
|
||||
- kind: fixed
|
||||
description: Bind correct role
|
||||
artifacthub.io/signKey: |
|
||||
fingerprint: F0F153B65BAD467201D7544E47393ABD1F96B7C8
|
||||
url: https://mafiasi.de/pks/key/47393ABD1F96B7C8.asc
|
||||
|
||||
@@ -7,11 +7,25 @@ metadata:
|
||||
namespace: {{ .Release.Namespace }}
|
||||
rules:
|
||||
- verbs:
|
||||
- get
|
||||
- watch
|
||||
- list
|
||||
- create
|
||||
- update
|
||||
- patch
|
||||
- delete
|
||||
resources:
|
||||
- configmaps
|
||||
apiGroups:
|
||||
- ""
|
||||
- verbs:
|
||||
- get
|
||||
- watch
|
||||
- list
|
||||
resources:
|
||||
- pods
|
||||
apiGroups:
|
||||
- ""
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
---
|
||||
@@ -23,7 +37,7 @@ metadata:
|
||||
name: leader-role-binding
|
||||
namespace: {{ .Release.Namespace }}
|
||||
roleRef:
|
||||
name: {{ include "template.fullname" . }}
|
||||
name: leader-role
|
||||
apiGroup: rbac.authorization.k8s.io
|
||||
kind: Role
|
||||
subjects:
|
||||
|
||||
Reference in New Issue
Block a user