From f6a4c3178556032ca46510572838da9df0b53bdb Mon Sep 17 00:00:00 2001 From: Rodrigue Koffi Date: Wed, 14 Dec 2022 08:10:52 -0800 Subject: [PATCH] fix: eks permissions (#71) * Update bug report template * Fix net permissions --- .github/ISSUE_TEMPLATE/bug_report.yaml | 4 ++-- modules/add-ons/adot-operator/main.tf | 5 +++++ 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.yaml b/.github/ISSUE_TEMPLATE/bug_report.yaml index d206f88..02f2690 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yaml +++ b/.github/ISSUE_TEMPLATE/bug_report.yaml @@ -18,14 +18,14 @@ body: - type: checkboxes id: terms attributes: - label: Welcome to Amazon EKS Blueprints! + label: Welcome to the AWS Observability Accelerator options: - label: Yes, I've searched similar issues on [GitHub](https://github.com/aws-observability/terraform-aws-observability-accelerator/issues) and didn't find any. required: true - type: input attributes: - label: Amazon EKS Blueprints Release version + label: AWS Observability Accelerator Release version description: | `latest` is not considered as a valid version. Enter release number! diff --git a/modules/add-ons/adot-operator/main.tf b/modules/add-ons/adot-operator/main.tf index 041f74c..95a8215 100644 --- a/modules/add-ons/adot-operator/main.tf +++ b/modules/add-ons/adot-operator/main.tf @@ -166,6 +166,11 @@ resource "kubernetes_cluster_role_v1" "adot" { resource_names = ["opentelemetry-operator-mutating-webhook-configuration", "opentelemetry-operator-validating-webhook-configuration"] verbs = ["create", "delete", "get", "list", "patch", "update", "watch"] } + rule { + api_groups = ["networking.k8s.io"] + resources = ["ingresses"] + verbs = ["create", "delete", "get", "list", "patch", "update", "watch"] + } rule { non_resource_urls = ["/metrics"] verbs = ["get"]