Can I a list all the namespaces using a role and not a clusterrole resource? If yes, can anyone help me with some example
Are namespaces are clusterwide objects?
64 Views Asked by Mahesh At
1
There are 1 best solutions below
Related Questions in KUBERNETES
- How to know a Pod's own IP address from inside a container in the Pod?
- Who will decide the "specified number of pods" for replication controller in kubernetes?
- Access other containers of a pod in Kubernetes
- Kubernetes cluster using Vagrant not working after restart
- kubectl not installed with gcloud SDK
- How do I access the Kubernetes api from within a pod container?
- Exposing several services with Vagrant and Kubernetes on my own server
- Does Kubernetes provision new VMs for pods on my cloud platform?
- Any suggestion for running Aerospike on Kubernetes on CoreOS on GCE?
- Kubernetes - kubectl exec bash - session drop and line width
- Google Container Engine (GKE): "Hello Wordpress" tutorial not working (ERR_CONNECTION_REFUSED)
- Kubernetes Pod Creation Speed
- How can i set max count of pods for replication-controller per node?
- Is there a way to tell kubernetes to update your containers?
- Postgres with Kubernetes and persistentDisk
Related Questions in K8S-ROLEBINDING
- K8s RBAC authorization functionality
- How to create kubernetes role for the "deployment" resource?
- RBAC in kubernetes
- ERROR kubebootstrap: WORKER PANICKED: ingresses.networking.k8s.io is forbidden: User cannot list resource "ingresses" in API group "networking.k8s.io"
- List permission of specific user in openshift
- kubernetes ABAC via resource labels
- Forbidden error while describe/scale deployment by user system:node:ip.xx
- What am I missing in this kubernetes RBAC setup?
- In Kubernetes if I create a rolebinding with a serviceaccount subject without namespace defined ¿which sa is used?
- Allow K8s serviceAccount to read clusterroles, problem when trying to deploy ingress-nginx helm chart with jenkins
- Deploy ServiceAccount, ClusterRole & ClusterRoleBinding failure
- Getting authorization error after upgrading EKS to version 1.25 (user=kube-apiserver-kubelet-client, verb=get, resource=nodes, subresource=proxy)
- Programmatically create users in Kubernetes
- Role definition for Kubernetes user to work on single namespace
- Modify ClusterRole for Kubernetes
Related Questions in K8S-CLUSTER-ROLE
- Failed to watch *v1.Secret: failed to list *v1.Secret: secrets is forbidden
- Why does Kasten require cluster-scoped read operations on Secrets?
- How to startup old k8s cluster without losing pods and data?
- List permission of specific user in openshift
- how to specify kubernetes RBAC permissions for scaling a specific deployment
- Not able to access resource from kubernates operator
- Allow K8s serviceAccount to read clusterroles, problem when trying to deploy ingress-nginx helm chart with jenkins
- Deploy ServiceAccount, ClusterRole & ClusterRoleBinding failure
- Getting authorization error after upgrading EKS to version 1.25 (user=kube-apiserver-kubelet-client, verb=get, resource=nodes, subresource=proxy)
- Not able to get deployments as ServiceAccount
- How to hide a namespace for specific user on kubernetes
- Cluster Rolebinding not working for GKE Cluster + OIDC settings
- How to Add HostPort prometheus-rancher-monitoring-prometheus to query from external nodes
- How to configure a ClusterRole for namespaced resources
- Issue with ImagePullBackOff error in Kubernetes for React App
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Namespaces are cluster-wide objects.
The only way to access them is if there exists a ClusterRoleBinding and a corresponding ClusterRole that gives your principal (user, service account,etc) permissions to list namespaces.