Files
ngrok-operator/helm/ngrok-operator/templates/rbac/httpsedge_viewer_role.yaml
T
Jonathan Stacks fc47956215 Update RBAC helm templates (#437)
* fix(rbac): Update cluster roles to match convention

Most of these were generated by kubebuilder and just copied into the helm chart. Let's prefix them with the fullname, as is convention, and make them match the rest of the cluster roles

* chore: Update helm unittest plugin
2024-09-18 09:33:02 -05:00

24 lines
495 B
YAML

# permissions for end users to view httpsedges.
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
labels:
{{- include "ngrok-operator.labels" . | nindent 4 }}
app.kubernetes.io/component: rbac
name: {{ include "ngrok-operator.fullname" . }}-httpsedge-viewer-role
rules:
- apiGroups:
- ingress.k8s.ngrok.com
resources:
- httpsedges
verbs:
- get
- list
- watch
- apiGroups:
- ingress.k8s.ngrok.com
resources:
- httpsedges/status
verbs:
- get