Skip to content

Commit

Permalink
fix issue where scheduler was missing permissionGroupMapping config
Browse files Browse the repository at this point in the history
Signed-off-by: Dejan Zele Pejchev <pejcev.dejan@gmail.com>
  • Loading branch information
dejanzele committed Sep 25, 2024
1 parent c05bd2f commit b442cff
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 1 deletion.
26 changes: 26 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,32 @@ armadactl submit dev/quickstart/example-job.yaml

Check the status of your job in the Lookout UI by visiting `http://localhost:30000` (assuming Armada was installed via the Quickstart guide and it is exposed via a NodePort service) in your browser.

## Migrations

### Migrating to v0.11 and beyond

Since v0.11, Armada Scheduler requires `permissionGroupsMapping` also to be configured.

Make sure the `applicationConfig` field in the Armada Scheduler CRD includes the `permissionGroupsMapping` field.

Quickstart example which allows anonymous auth:
```yaml
auth:
anonymousAuth: true
permissionGroupMapping:
submit_jobs: ["everyone"]
submit_any_jobs: ["everyone"]
create_queue: ["everyone"]
delete_queue: ["everyone"]
cancel_jobs: ["everyone"]
cancel_any_jobs: ["everyone"]
reprioritize_jobs: ["everyone"]
reprioritize_any_jobs: ["everyone"]
watch_events: ["everyone"]
watch_all_events: ["everyone"]
execute_jobs: ["everyone"]
```

## Documentation

For a step-by-step guide on how to install Armada using the Armada Operator and interact with the Armada API,
Expand Down
12 changes: 12 additions & 0 deletions dev/quickstart/armada-crs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,18 @@ spec:
port: 50051
auth:
anonymousAuth: true
permissionGroupMapping:
submit_jobs: ["everyone"]
submit_any_jobs: ["everyone"]
create_queue: ["everyone"]
delete_queue: ["everyone"]
cancel_jobs: ["everyone"]
cancel_any_jobs: ["everyone"]
reprioritize_jobs: ["everyone"]
reprioritize_any_jobs: ["everyone"]
watch_events: ["everyone"]
watch_all_events: ["everyone"]
execute_jobs: ["everyone"]
armadaApi:
armadaUrl: armada-server.armada.svc.cluster.local:50051
forceNoTls: true
Expand Down
3 changes: 2 additions & 1 deletion dev/quickstart/redis.values.yaml
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
replicas: 1
replicas: 2
hardAntiAffinity: false

0 comments on commit b442cff

Please sign in to comment.