Skip to content

Commit

Permalink
revert role verb changes
Browse files Browse the repository at this point in the history
  • Loading branch information
nilsgstrabo committed Sep 18, 2023
1 parent 7a2821f commit 26f0354
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/apis/kube/roles.go
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ func ManageSecretsRule(secretNames []string) RuleBuilder {
APIGroups: []string{""},
Resources: []string{"secrets"},
ResourceNames: secretNames,
Verbs: []string{"get", "update", "patch"},
Verbs: []string{"get", "list", "watch", "update", "patch", "delete"},
}
}
}
Expand All @@ -137,7 +137,7 @@ func ReadSecretsRule(secretNames []string) RuleBuilder {
APIGroups: []string{""},
Resources: []string{"secrets"},
ResourceNames: secretNames,
Verbs: []string{"get"},
Verbs: []string{"get", "list", "watch"},
}
}
}
Expand Down

0 comments on commit 26f0354

Please sign in to comment.