Skip to content

Commit

Permalink
Pass READ_ONLY_API_MODE to the worker-service
Browse files Browse the repository at this point in the history
In order for this check [1] to pass when running the migrator via Turnpike, which
will kick it off in a worker, we need to ensure the param set in the environment
is set on the worker pod as well.

[1] https://github.com/RedHatInsights/insights-rbac/blob/240ffff00a989af6b4ea2f0320459df76200737e/rbac/migration_tool/migrate.py#L186
  • Loading branch information
coderbydesign committed Dec 3, 2024
1 parent 240ffff commit f8da559
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions deploy/rbac-clowdapp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,9 @@ objects:
value: ${PRINCIPAL_CLEANUP_DELETION_ENABLED_UMB}
- name: UMB_JOB_ENABLED
value: ${UMB_JOB_ENABLED}
- name: READ_ONLY_API_MODE
value: ${READ_ONLY_API_MODE}

- name: scheduler-service
minReplicas: ${{MIN_SCHEDULER_REPLICAS}}
metadata:
Expand Down

0 comments on commit f8da559

Please sign in to comment.