diff --git a/charts/sourcegraph-executor/k8s/templates/executor.Role.yaml b/charts/sourcegraph-executor/k8s/templates/executor.Role.yaml index c326092c..d899be32 100644 --- a/charts/sourcegraph-executor/k8s/templates/executor.Role.yaml +++ b/charts/sourcegraph-executor/k8s/templates/executor.Role.yaml @@ -9,27 +9,17 @@ metadata: sourcegraph-resource-requires: cluster-admin app.kubernetes.io/component: executor rules: - - apiGroups: - - batch - resources: - - jobs - verbs: - - create - - delete - apiGroups: - "" resources: - pods - pods/log + - secrets + - persistentvolumeclaims verbs: - get - list - watch - - apiGroups: - - "" - resources: - - secrets - verbs: - create - delete {{- end }}