kind: Role
apiVersion: rbac.authorization.k8s.io/v1
metadata:
    name: gitlab-nginx-ingress
    namespace: gitlab
    selfLink: >-
        /apis/rbac.authorization.k8s.io/v1/namespaces/gitlab/roles/gitlab-nginx-ingress
    uid: 9907bacd-398b-11ea-b115-42010a8001d6
    resourceVersion: '2016222'
    creationTimestamp: '2020-01-18T00:43:51Z'
    labels:
        app: nginx-ingress
        chart: nginx-ingress-0.30.0-1
        heritage: Helm
        release: gitlab
rules:
    -
        verbs:
            - get
        apiGroups:
            - ''
        resources:
            - namespaces
    -
        verbs:
            - get
            - list
            - watch
        apiGroups:
            - ''
        resources:
            - configmaps
            - pods
            - secrets
            - endpoints
    -
        verbs:
            - get
            - list
            - update
            - watch
        apiGroups:
            - ''
        resources:
            - services
    -
        verbs:
            - get
            - list
            - watch
        apiGroups:
            - extensions
        resources:
            - ingresses
    -
        verbs:
            - update
        apiGroups:
            - extensions
        resources:
            - ingresses/status
    -
        verbs:
            - get
            - update
        apiGroups:
            - ''
        resources:
            - configmaps
        resourceNames:
            - ingress-controller-leader-gitlab-nginx
    -
        verbs:
            - create
        apiGroups:
            - ''
        resources:
            - configmaps
    -
        verbs:
            - create
            - get
            - update
        apiGroups:
            - ''
        resources:
            - endpoints
    -
        verbs:
            - create
            - patch
        apiGroups:
            - ''
        resources:
            - events

