diff --git a/generic/alpine-sleep.yaml b/generic/alpine-sleep.yaml index 71b452e..2aab04e 100644 --- a/generic/alpine-sleep.yaml +++ b/generic/alpine-sleep.yaml @@ -5,7 +5,7 @@ metadata: spec: containers: - name: alpine - image: alpine:3.14 + image: alpine:3.15 args: - sleep - "1000000" diff --git a/generic/role.yaml b/generic/role.yaml new file mode 100644 index 0000000..4987dc6 --- /dev/null +++ b/generic/role.yaml @@ -0,0 +1,11 @@ +apiVersion: rbac.authorization.k8s.io/v1 +kind: Role +metadata: + namespace: default + name: service-reader +rules: +- apiGroups: [""] # "" indicates the core API group + resources: ["services"] + verbs: ["get", "watch", "list"] + +---