Separate question - is there an example of how to ...
# general
e
Separate question - is there an example of how to create a k8s ClusterRole?
g
Copy code
new k8s.rbac.v1.ClusterRole("my-cluster-role", {
  rules: [
      {
          apiGroups: [""],
          resources: ["configmaps", "endpoints", "nodes", "pods", "secrets"],
          verbs: ["list", "watch"]
      },
  ]
});
e
thank you!
🙂 1
g
There doesn't appear to be an example in our examples repo, but we're actively working on comprehensive k8s documentation
🙏 1