Skip to content

Instantly share code, notes, and snippets.

@pgvishnuram
Created November 29, 2022 06:49
Show Gist options
  • Save pgvishnuram/4f365f9b245566ab1ee3b5e76a74c5ee to your computer and use it in GitHub Desktop.
Save pgvishnuram/4f365f9b245566ab1ee3b5e76a74c5ee to your computer and use it in GitHub Desktop.
---
# Source: astronomer/charts/nginx/templates/nginx-config-role.yaml
################################
## NGINX Config Role
#################################
kind: Role
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: astronomer-nginx-config
labels:
tier: nginx
chart: nginx-0.12.0
release: astronomer
heritage: Helm
rules:
- apiGroups:
- ""
resources:
- configmaps
- namespaces
- pods
- secrets
verbs:
- get
- apiGroups:
- ""
resources:
- configmaps
resourceNames:
- ingress-controller-leader-astronomer-nginx
verbs:
- get
- update
- apiGroups:
- ""
resources:
- configmaps
verbs:
- create
- apiGroups:
- ""
resources:
- endpoints
verbs:
- get
- create
- update
- apiGroups:
- coordination.k8s.io
resources:
- leases
resourceNames:
- ingress-controller-leader-astronomer-nginx
verbs:
- get
- update
- apiGroups:
- coordination.k8s.io
resources:
- leases
verbs:
- create
- apiGroups:
- ""
resources:
- events
verbs:
- create
- patch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment