Skip to content
Open
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
4 changes: 4 additions & 0 deletions openstack/octavia/ci/test-values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ global:

imageVersion: train

early_lbaas_cpbmu_access_project_ids:
- project-a
- project-b

mariadb:
root_password: topSecret
users:
Expand Down
3 changes: 2 additions & 1 deletion openstack/octavia/templates/etc/_policy.json.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -101,5 +101,6 @@
"os_load-balancer_api:amphora:get_stats": "rule:context_is_admin",

"os_load-balancer_api:provider-flavor:get_all": "rule:context_is_admin",
"os_load-balancer_api:provider-availability-zone:get_all": "rule:context_is_admin"
"os_load-balancer_api:provider-availability-zone:get_all": "rule:context_is_admin",
"os_load-balancer_api:member:put_cross_pool_members": "{{- if .Values.early_lbaas_cpbmu_access_project_ids }}{{ range $i, $projectID := .Values.early_lbaas_cpbmu_access_project_ids }}{{ if $i }} or {{ end }}project_id:{{ $projectID }}{{ end }}{{- else }}!{{- end }}"
}
3 changes: 3 additions & 0 deletions openstack/octavia/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ owner-info:
api_port_internal: 9876
api_backdoor: false

# Project IDs allowed to use the early LBaaS CPBMU API.
early_lbaas_cpbmu_access_project_ids: []

rbac:
enabled: true

Expand Down
Loading