templates/composer: Parametrize tenants in acl
This will allow us to specify tenants in the acl per namespace.
This commit is contained in:
parent
ef87c917d5
commit
02debc0cda
1 changed files with 8 additions and 2 deletions
|
|
@ -200,9 +200,9 @@ objects:
|
||||||
data:
|
data:
|
||||||
acl.yml: |
|
acl.yml: |
|
||||||
- claim: rh-org-id
|
- claim: rh-org-id
|
||||||
pattern: ^(15842261|15877963|15885990)$
|
pattern: ^(${ACL_ORG_ID_TENANTS})$
|
||||||
- claim: account_id
|
- claim: account_id
|
||||||
pattern: ^(15842261)$
|
pattern: ^(${ACL_ACCOUNT_ID_TENANTS})$
|
||||||
osbuild-composer.toml: |
|
osbuild-composer.toml: |
|
||||||
log_level = "info"
|
log_level = "info"
|
||||||
[koji]
|
[koji]
|
||||||
|
|
@ -347,6 +347,12 @@ parameters:
|
||||||
name: COMPOSER_CONFIG_BUCKET_NAME
|
name: COMPOSER_CONFIG_BUCKET_NAME
|
||||||
required: true
|
required: true
|
||||||
value: "imagebuilder.service.staging"
|
value: "imagebuilder.service.staging"
|
||||||
|
- description: Allowed tenants based on org id
|
||||||
|
name: ACL_ORG_ID_TENANTS
|
||||||
|
value: "15842261|15877963|15885990"
|
||||||
|
- description: Allowed tenants based on account id
|
||||||
|
name: ACL_ACCOUNT_ID_TENANTS
|
||||||
|
value: "15842261"
|
||||||
- description: composer-api port
|
- description: composer-api port
|
||||||
name: COMPOSER_API_PORT
|
name: COMPOSER_API_PORT
|
||||||
required: true
|
required: true
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue