# SPDX-FileCopyrightText: 2021-present Open Networking Foundation <info@opennetworking.org>
#
# SPDX-License-Identifier: Apache-2.0

apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
  name: {{ template "aether-enterprise-portal.fullname" . }}-access-services
  namespace: {{ .Release.Namespace }}
subjects:
  - kind: ServiceAccount
    name: default # Name is case sensitive
    namespace: {{ .Release.Namespace }}
roleRef:
  kind: Role
  name: {{ template "aether-enterprise-portal.fullname" . }}-service-role
  apiGroup: rbac.authorization.k8s.io
