Files
terraform-aws-observability…/modules/eks-monitoring/otel-config/templates/clusterrolebinding.yaml
T
Antone Aguiar 1905343ea2 Allow custom IAM role & SA names (#238)
* Add custom IAM role name
Pass custom service account name to otel-config chart

* Doc update
2023-11-14 00:10:05 +01:00

13 lines
402 B
YAML

apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: otel-prometheus-role-binding
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: otel-prometheus-role
subjects:
- kind: ServiceAccount
name: {{ default "adot-collector-kubeprometheus" .Values.serviceAccount }}
namespace: {{ default "adot-collector-kubeprometheus" .Values.namespace }}