github.com/argoproj/argo-cd/v2@v2.10.9/resource_customizations/iammanager.keikoproj.io/Iamrole/health_test.yaml (about)

     1  tests:
     2  - healthStatus:
     3      status: Degraded
     4      message: |-
     5        Failed to reconcile the Iamrole (retry 1) for role 'k8s-test' with ARN 'arn:aws:iam::111111111111:role/k8s-test' and ID 'ABCDEFGHIJKLMNOPQRSTU'. Reconciliation error was: NoSuchEntity: The role with name k8s-test cannot be found.
     6        	status code: 404, request id: f80c99fc-c78d-4b1c-806d-3a162fbbc900
     7    inputPath: testdata/degraded_error.yaml
     8  - healthStatus:
     9      status: Degraded
    10      message: |-
    11        Failed to reconcile the Iamrole for role 'k8s-test' with ARN '<none>' and ID '<none>'. Reconciliation error was: maximum number of allowed roles reached. You must delete any existing role before proceeding further
    12    inputPath: testdata/degraded_rolesMaxLimitReached.yaml
    13  - healthStatus:
    14      status: Healthy
    15      message: Role 'k8s-test' exists with ARN 'arn:aws:iam::111111111111:role/k8s-test' and ID 'ABCDEFGHIJKLMNOPQRSTU'.
    16    inputPath: testdata/healthy.yaml
    17  - healthStatus:
    18      status: Progressing
    19      message: 'Waiting for Iamrole to be reconciled'
    20    inputPath: testdata/progressing_noStatus.yaml