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:
Akash Srivastava
2018-10-26 11:19:52 +05:30
committed by Satyam Zode
parent 371fc3af1a
commit 296c6f2ab5
3 changed files with 9 additions and 3 deletions

View File

@@ -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

View File

@@ -11,6 +11,9 @@ metadata:
namespace: weave
spec:
replicas: 1
selector:
matchLabels:
app: weave-scope
revisionHistoryLimit: 2
template:
metadata:

View File

@@ -11,6 +11,9 @@ metadata:
namespace: weave
spec:
minReadySeconds: 5
selector:
matchLabels:
app: weave-scope
template:
metadata:
labels: