mirror of
https://github.com/weaveworks/scope.git
synced 2026-05-05 16:59:36 +00:00
Fix issues in k8s yaml files (#3403)
- Change apigroups to apiGroups in cluster-role.yaml - Change resourcenames to resourceNames in cluster-role.yaml - Add selector in deploy.yaml and ds.yaml Signed-off-by: Akash Srivastava <akash.srivastava@openebs.io>
This commit is contained in:
committed by
Satyam Zode
parent
371fc3af1a
commit
296c6f2ab5
@@ -51,9 +51,9 @@ rules:
|
||||
verbs:
|
||||
- list
|
||||
- watch
|
||||
- apigroups:
|
||||
- apiGroups:
|
||||
- extensions
|
||||
resourcenames:
|
||||
resourceNames:
|
||||
- weave-scope
|
||||
resources:
|
||||
- podsecuritypolicies
|
||||
@@ -66,4 +66,4 @@ rules:
|
||||
- volumesnapshotdatas
|
||||
verbs:
|
||||
- list
|
||||
- watch
|
||||
- watch
|
||||
|
||||
@@ -11,6 +11,9 @@ metadata:
|
||||
namespace: weave
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: weave-scope
|
||||
revisionHistoryLimit: 2
|
||||
template:
|
||||
metadata:
|
||||
|
||||
@@ -11,6 +11,9 @@ metadata:
|
||||
namespace: weave
|
||||
spec:
|
||||
minReadySeconds: 5
|
||||
selector:
|
||||
matchLabels:
|
||||
app: weave-scope
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
|
||||
Reference in New Issue
Block a user