Skip to content
Merged
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
2 changes: 2 additions & 0 deletions setup/kubernetes/opsfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -414,6 +414,8 @@ tasks:
desc: update the operator using the latest version configured in nuvroot.json if it is different than the current deployed one
cmds:
- "kubectl apply -f crds"
# Cluster-scoped collector RBAC must be reconciled by the admin client.
- "kubectl apply -f roles/openserverless-monitoring-roles.yaml"
- task: operator
- kubectl -n openserverless rollout restart statefulset openserverless-operator
preconditions:
Expand Down
9 changes: 1 addition & 8 deletions setup/kubernetes/roles/openserverless-monitoring-roles.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -223,13 +223,6 @@ rules:
verbs:
- list
- watch
- apiGroups:
- ""
resources:
- secrets
verbs:
- list
- watch
- apiGroups:
- ""
resources:
Expand Down Expand Up @@ -292,4 +285,4 @@ roleRef:
subjects:
- kind: ServiceAccount
name: openserverless-prometheus-kube-state-metrics
namespace: openserverless
namespace: openserverless