From 61b3cb4c7f914965f371d00fdb622d6f58bd3694 Mon Sep 17 00:00:00 2001 From: "Christian M. Adams" Date: Tue, 25 May 2021 15:30:12 -0400 Subject: [PATCH] Add ability to get/create/delete secrets for the awx service account --- roles/installer/templates/service_account.yaml.j2 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/roles/installer/templates/service_account.yaml.j2 b/roles/installer/templates/service_account.yaml.j2 index 6c9313f1..c0fedadb 100644 --- a/roles/installer/templates/service_account.yaml.j2 +++ b/roles/installer/templates/service_account.yaml.j2 @@ -26,6 +26,9 @@ rules: - apiGroups: [""] resources: ["pods/attach"] verbs: ["create"] +- apiGroups: [""] + resources: ["secrets"] + verbs: ["get", "create", "delete"] --- kind: RoleBinding