...

Text file src/edge-infra.dev/config/pallets/sds/k8s-gateway/k8s-gateway-serviceaccount.yaml

Documentation: edge-infra.dev/config/pallets/sds/k8s-gateway

     1apiVersion: v1
     2kind: ServiceAccount
     3metadata:
     4  name: excoredns
     5  namespace: k8s-gateway
     6---
     7# Source: coredns/templates/clusterrole.yaml
     8apiVersion: rbac.authorization.k8s.io/v1
     9kind: ClusterRole
    10metadata:
    11  name: excoredns
    12rules:
    13- resources:
    14  - services
    15  - namespaces
    16  apiGroups:
    17  - ""
    18  verbs:
    19  - list
    20  - watch
    21- resources:
    22  - ingresses
    23  apiGroups:
    24  - extensions
    25  - networking.k8s.io
    26  verbs:
    27  - list
    28  - watch
    29---
    30# Source: coredns/templates/clusterrolebinding.yaml
    31apiVersion: rbac.authorization.k8s.io/v1
    32kind: ClusterRoleBinding
    33metadata:
    34  name: excoredns
    35roleRef:
    36  name: excoredns
    37  kind: ClusterRole
    38  apiGroup: rbac.authorization.k8s.io
    39subjects:
    40- name: excoredns
    41  namespace: k8s-gateway
    42  kind: ServiceAccount

View as plain text