Skip to content

Commit

Permalink
Fixes issue preventing multiple use of multiple allowedNamespaces (#81)
Browse files Browse the repository at this point in the history
This PR adds a missing "---" separator between multiple roles and roleBindings that was causing malformed yaml when using multiple `allowedNamespaces`.
  • Loading branch information
usmanatron authored Dec 10, 2024
1 parent 376f4f9 commit 540d654
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions charts/kubetail/templates/agent/rbac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ subjects:
namespace: {{ include "kubetail.namespace" . }}
{{- else }}
{{- range .Values.kubetail.allowedNamespaces }}
---
kind: Role
apiVersion: rbac.authorization.k8s.io/v1
metadata:
Expand Down

0 comments on commit 540d654

Please sign in to comment.