Skip to content

Instantly share code, notes, and snippets.

@jirkapinkas
Last active February 25, 2022 09:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jirkapinkas/eb054f8f0196cc136638eb258e36770f to your computer and use it in GitHub Desktop.
Save jirkapinkas/eb054f8f0196cc136638eb258e36770f to your computer and use it in GitHub Desktop.
# Nejjednodussi konfigurace pro rozchozeni Spring Cloud Kubernetes
# POZNAMKA: TOHLE NENI SPRAVNY ZPUSOB RESENI, ALE FUNGUJE
# Pro hrani si se Spring Cloud Kubernetes (pro dev) to je ale dostacujici reseni
# https://stackoverflow.com/questions/47973570/kubernetes-log-user-systemserviceaccountdefaultdefault-cannot-get-services
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: fabric8-rbac
subjects:
- kind: ServiceAccount
# Reference to upper's `metadata.name`
name: default
# Reference to upper's `metadata.namespace`
namespace: default
roleRef:
kind: ClusterRole
name: cluster-admin
apiGroup: rbac.authorization.k8s.io
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment