Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: issue where scheduler was missing permissionGroupMapping config #328

Merged
merged 1 commit into from
Sep 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading