From 157f7c5594f818d5e002a945bd53c2e7ad218ce3 Mon Sep 17 00:00:00 2001 From: app/github-actions Date: Fri, 19 Jun 2026 15:31:03 +0000 Subject: [PATCH 1/5] pr commit From f846bd2ab2d860c7d3b64b0618e568fe2382869c Mon Sep 17 00:00:00 2001 From: ptownley Date: Fri, 19 Jun 2026 16:33:24 +0100 Subject: [PATCH 2/5] Add license manager stuff --- deployments/existing-sig/helper/install.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/deployments/existing-sig/helper/install.sh b/deployments/existing-sig/helper/install.sh index 6bf8f69..63d2d36 100755 --- a/deployments/existing-sig/helper/install.sh +++ b/deployments/existing-sig/helper/install.sh @@ -181,6 +181,13 @@ if [[ "$AWS_MARKETPLACE" =~ ^[Yy]$ ]]; then --output text) fi + if ! aws iam get-role --role-name AWSServiceRoleForAWSLicenseManager >/dev/null 2>&1; then + echo "License Manager role does not exist. Creating AWSServiceRoleForAWSLicenseManager..." + aws iam create-service-linked-role --aws-service-name licensemanager.amazonaws.com + else + echo "AWSServiceRoleForAWSLicenseManager already exists. Skipping." + fi + OVERRIDE="" CREATE_SA=true if eksctl get iamserviceaccount --cluster "$CLUSTER" --namespace argocd 2>/dev/null | grep -w "genesis" > /dev/null 2>&1; then From b5ab3557287db99763fbf142da372aecd9420d4c Mon Sep 17 00:00:00 2001 From: ptownley Date: Fri, 19 Jun 2026 16:39:05 +0100 Subject: [PATCH 3/5] fix naming --- deployments/existing-sig/helper/install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deployments/existing-sig/helper/install.sh b/deployments/existing-sig/helper/install.sh index 63d2d36..d86c32c 100755 --- a/deployments/existing-sig/helper/install.sh +++ b/deployments/existing-sig/helper/install.sh @@ -181,9 +181,9 @@ if [[ "$AWS_MARKETPLACE" =~ ^[Yy]$ ]]; then --output text) fi - if ! aws iam get-role --role-name AWSServiceRoleForAWSLicenseManager >/dev/null 2>&1; then + if ! aws iam get-role --role-name AWSServiceRoleForAWSLicenseManagerRole >/dev/null 2>&1; then echo "License Manager role does not exist. Creating AWSServiceRoleForAWSLicenseManager..." - aws iam create-service-linked-role --aws-service-name licensemanager.amazonaws.com + aws iam create-service-linked-role --aws-service-name license-manager.amazonaws.com else echo "AWSServiceRoleForAWSLicenseManager already exists. Skipping." fi From afd1558be2a69bff225c1b2154b5be7b49cafd7a Mon Sep 17 00:00:00 2001 From: ptownley Date: Fri, 19 Jun 2026 16:40:26 +0100 Subject: [PATCH 4/5] safety man --- deployments/existing-sig/helper/install.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/deployments/existing-sig/helper/install.sh b/deployments/existing-sig/helper/install.sh index d86c32c..73ebda7 100755 --- a/deployments/existing-sig/helper/install.sh +++ b/deployments/existing-sig/helper/install.sh @@ -183,7 +183,12 @@ if [[ "$AWS_MARKETPLACE" =~ ^[Yy]$ ]]; then if ! aws iam get-role --role-name AWSServiceRoleForAWSLicenseManagerRole >/dev/null 2>&1; then echo "License Manager role does not exist. Creating AWSServiceRoleForAWSLicenseManager..." - aws iam create-service-linked-role --aws-service-name license-manager.amazonaws.com + if aws iam create-service-linked-role --aws-service-name license-manager.amazonaws.com; then + echo "Role created successfully." + else + echo "Failed to create role." >&2 + exit 1 + fi else echo "AWSServiceRoleForAWSLicenseManager already exists. Skipping." fi From 78e70e73929d445a8e5afa2e00a9faf98bf8bb0d Mon Sep 17 00:00:00 2001 From: ptownley Date: Fri, 19 Jun 2026 16:41:37 +0100 Subject: [PATCH 5/5] Correct logging --- deployments/existing-sig/helper/install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deployments/existing-sig/helper/install.sh b/deployments/existing-sig/helper/install.sh index 73ebda7..d2e9230 100755 --- a/deployments/existing-sig/helper/install.sh +++ b/deployments/existing-sig/helper/install.sh @@ -182,7 +182,7 @@ if [[ "$AWS_MARKETPLACE" =~ ^[Yy]$ ]]; then fi if ! aws iam get-role --role-name AWSServiceRoleForAWSLicenseManagerRole >/dev/null 2>&1; then - echo "License Manager role does not exist. Creating AWSServiceRoleForAWSLicenseManager..." + echo "License Manager role does not exist. Creating AWSServiceRoleForAWSLicenseManagerRole..." if aws iam create-service-linked-role --aws-service-name license-manager.amazonaws.com; then echo "Role created successfully." else @@ -190,7 +190,7 @@ if [[ "$AWS_MARKETPLACE" =~ ^[Yy]$ ]]; then exit 1 fi else - echo "AWSServiceRoleForAWSLicenseManager already exists. Skipping." + echo "AWSServiceRoleForAWSLicenseManagerRole already exists. Skipping." fi OVERRIDE=""