Fix permission denied warnings during tests (#617)

For some reason the kubelet tries to do things that it gets perm
denied. This changes the base.yml in the skaffold file to have
the permissions. In turn, this broke the node deletion test. So,
instead of looking for the deletion event (imperative), we wait
for the node UID to change (declarative).
This commit is contained in:
Sargun Dhillon
2019-05-17 10:53:24 -07:00
committed by Brian Goff
parent 9e659145c1
commit a3f933d998
3 changed files with 49 additions and 31 deletions

View File

@@ -13,6 +13,7 @@ rules:
resources:
- configmaps
- secrets
- services
verbs:
- get
- list
@@ -26,6 +27,7 @@ rules:
- get
- list
- watch
- patch
- apiGroups:
- ""
resources:
@@ -39,12 +41,14 @@ rules:
- nodes/status
verbs:
- update
- patch
- apiGroups:
- ""
resources:
- pods/status
verbs:
- update
- patch
- apiGroups:
- ""
resources: