# Copyright (c) 2020, 2021, Oracle and/or its affiliates.
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.

# permissions for end users to view ingresstraits.
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
  name: ingresstrait-viewer-role
rules:
- apiGroups:
  - oam.verrazzano.io
  resources:
  - ingresstraits
  verbs:
  - get
  - list
  - watch
- apiGroups:
  - oam.verrazzano.io
  resources:
  - ingresstraits/status
  verbs:
  - get
