Skip to content

Instantly share code, notes, and snippets.

apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: rbac-default-namespace
subjects:
- kind: ServiceAccount
name: default
namespace: default
roleRef:
kind: ClusterRole
@fauzan-n
fauzan-n / pom.xml
Created July 28, 2019 10:49
Add this dependency
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-kubernetes-config</artifactId>
<version>1.0.0.RELEASE</version>
</dependency>