Skip to content
This repository has been archived by the owner on Apr 8, 2022. It is now read-only.

Fix error messages about permissions #266

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions kubewatch-service-account.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: kubewatch
rules:
- apiGroups: [""]
resources: ["pods", "replicationcontrollers"]
- apiGroups: ["", apps]
resources: ["pods", "namespaces", "deployments", "replicationcontrollers"]
verbs: ["get", "watch", "list"]
---
apiVersion: v1
Expand Down
3 changes: 2 additions & 1 deletion kubewatch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ metadata:
name: kubewatch
namespace: default
spec:
serviceAccountName: kubewatch
containers:
- image: bitnami/kubewatch #using this image, its more stable and active
imagePullPolicy: Always
Expand All @@ -15,4 +16,4 @@ spec:
volumes:
- name: config-volume
configMap:
name: kubewatch
name: kubewatch