robertojrojas / kubernetes-the-hard-way-raspberry-pi

This tutorial is inspired by the Kelsey Hightower's Kubernetes The Hard Way tutorial, but targeted to the Raspberry Pi.
Apache License 2.0
55 stars 16 forks source link

authorization-policy.jsonl file is missing #2

Open jason-mclaine opened 3 years ago

jason-mclaine commented 3 years ago

Hi, the authorization-policy.jsonl file that is referenced in 04-kubernetes-controller.md is missing from your repository.

seantsandell commented 3 years ago

I noticed this today too. I used this other example I found. Haven't completed the entire guide yet.

{"apiVersion": "abac.authorization.kubernetes.io/v1beta1", "kind": "Policy", "spec": {"user":"*",         "nonResourcePath": "*", "readonly": true}}
{"apiVersion": "abac.authorization.kubernetes.io/v1beta1", "kind": "Policy", "spec": {"user":"admin",     "namespace": "*",              "resource": "*",         "apiGroup": "*"                   }}
{"apiVersion": "abac.authorization.kubernetes.io/v1beta1", "kind": "Policy", "spec": {"user":"system:controller_manager", "namespace": "*",              "resource": "*"                        }}
{"apiVersion": "abac.authorization.kubernetes.io/v1beta1", "kind": "Policy", "spec": {"user":"kubelet",   "namespace": "*",              "resource": "*"                            }}
{"apiVersion": "abac.authorization.kubernetes.io/v1beta1", "kind": "Policy", "spec": {"user":"kube_proxy",   "namespace": "*",              "resource": "*"}}
{"apiVersion": "abac.authorization.kubernetes.io/v1beta1", "kind": "Policy", "spec": {"user":"system:logging",   "namespace": "*",           "resource": "*"                  }}
{"apiVersion": "abac.authorization.kubernetes.io/v1beta1", "kind": "Policy", "spec": {"user":"system:monitoring",   "namespace": "*",              "resource": "*"}}
{"apiVersion": "abac.authorization.kubernetes.io/v1beta1", "kind": "Policy", "spec": {"user":"system:serviceaccount:kube-system:default",   "namespace": "*", "resource": "*"}}