diff --git a/examples/chart/teleport-cluster/charts/teleport-operator/templates/role.yaml b/examples/chart/teleport-cluster/charts/teleport-operator/templates/role.yaml index 90bf13b69cc51..fd0a7d00ed45d 100644 --- a/examples/chart/teleport-cluster/charts/teleport-operator/templates/role.yaml +++ b/examples/chart/teleport-cluster/charts/teleport-operator/templates/role.yaml @@ -65,5 +65,6 @@ rules: - "secrets" verbs: - "get" + - "list" {{- end -}} {{- end -}} diff --git a/examples/chart/teleport-cluster/charts/teleport-operator/tests/role_test.yaml b/examples/chart/teleport-cluster/charts/teleport-operator/tests/role_test.yaml index 3cbb29023dfa5..0ec8b59e6dc00 100644 --- a/examples/chart/teleport-cluster/charts/teleport-operator/tests/role_test.yaml +++ b/examples/chart/teleport-cluster/charts/teleport-operator/tests/role_test.yaml @@ -49,4 +49,4 @@ tests: content: apiGroups: [""] resources: ["secrets"] - verbs: ["get"] \ No newline at end of file + verbs: ["get", "list"] \ No newline at end of file