Skip to content

Commit 29b0d63

Browse files
authored
fix issue where scheduler was missing permissionGroupMapping config (#328)
Signed-off-by: Dejan Zele Pejchev <[email protected]>
1 parent 2f4236e commit 29b0d63

File tree

3 files changed

+40
-1
lines changed

3 files changed

+40
-1
lines changed

README.md

+26
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,32 @@ armadactl submit dev/quickstart/example-job.yaml
131131

132132
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.
133133

134+
## Migrations
135+
136+
### Migrating to v0.11 and beyond
137+
138+
Since v0.11, Armada Scheduler requires `permissionGroupsMapping` also to be configured.
139+
140+
Make sure the `applicationConfig` field in the Armada Scheduler CRD includes the `permissionGroupsMapping` field.
141+
142+
Quickstart example which allows anonymous auth:
143+
```yaml
144+
auth:
145+
anonymousAuth: true
146+
permissionGroupMapping:
147+
submit_jobs: ["everyone"]
148+
submit_any_jobs: ["everyone"]
149+
create_queue: ["everyone"]
150+
delete_queue: ["everyone"]
151+
cancel_jobs: ["everyone"]
152+
cancel_any_jobs: ["everyone"]
153+
reprioritize_jobs: ["everyone"]
154+
reprioritize_any_jobs: ["everyone"]
155+
watch_events: ["everyone"]
156+
watch_all_events: ["everyone"]
157+
execute_jobs: ["everyone"]
158+
```
159+
134160
## Documentation
135161

136162
For a step-by-step guide on how to install Armada using the Armada Operator and interact with the Armada API,

dev/quickstart/armada-crs.yaml

+12
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,18 @@ spec:
146146
port: 50051
147147
auth:
148148
anonymousAuth: true
149+
permissionGroupMapping:
150+
submit_jobs: ["everyone"]
151+
submit_any_jobs: ["everyone"]
152+
create_queue: ["everyone"]
153+
delete_queue: ["everyone"]
154+
cancel_jobs: ["everyone"]
155+
cancel_any_jobs: ["everyone"]
156+
reprioritize_jobs: ["everyone"]
157+
reprioritize_any_jobs: ["everyone"]
158+
watch_events: ["everyone"]
159+
watch_all_events: ["everyone"]
160+
execute_jobs: ["everyone"]
149161
armadaApi:
150162
armadaUrl: armada-server.armada.svc.cluster.local:50051
151163
forceNoTls: true

dev/quickstart/redis.values.yaml

+2-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
replicas: 1
1+
replicas: 2
2+
hardAntiAffinity: false

0 commit comments

Comments
 (0)