Skip to content

Commit

Permalink
update workflow, fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
AntFMoJ committed Jun 12, 2024
1 parent 28a77b1 commit 05a6618
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
name: UnitTests

on:
workflow_call:
- pull_request

jobs:
preview:
Expand Down
2 changes: 1 addition & 1 deletion mojap_airflow_tools/operators.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ def basic_kubernetes_pod_operator(
annotations = {"iam.amazonaws.com/role": role}

if irsa:
annotations = {"eks.amazonaws.com/role": role}
annotations = {"eks.amazonaws.com/role-arn": role}

if run_as_user is not None:
security_context["runAsUser"] = run_as_user
Expand Down
2 changes: 1 addition & 1 deletion tests/test_operator.py
Original file line number Diff line number Diff line change
Expand Up @@ -225,4 +225,4 @@ def test_irsa():
irsa=True
)

assert k.annotations == {"eks.amazonaws.com/role": "a_test"}
assert k.annotations == {"eks.amazonaws.com/role-arn": "a_test"}

0 comments on commit 05a6618

Please sign in to comment.