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

[RHCLOUD-23693] Configurable default bundles #95

Merged
merged 6 commits into from
Aug 24, 2023
Merged
2 changes: 1 addition & 1 deletion config/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ func initialize() {
options.SetDefault(Keys.CwLogGroup, "platform-dev")
options.SetDefault(Keys.CwLogStream, hostname)
options.SetDefault(Keys.CwRegion, "us-east-1")
options.SetDefault(Keys.Features, "ansible,smart_management,rhods,rhoam,rhosak,openshift,acs")
options.SetDefault(Keys.Features, os.Getenv("BUNDLES_SKUS_ALLOW_LIST"))
options.SetDefault(Keys.SubAPIBasePath, "/svcrest/subscription/v5/")
options.SetDefault(Keys.CompAPIBasePath, "/v1/screening")
options.SetDefault(Keys.RunBundleSync, false)
Expand Down
4 changes: 4 additions & 0 deletions deployment/clowdapp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@ objects:
value: 'true'
- name: ENT_RUN_BUNDLE_SYNC
value: ${RUN_BUNDLE_SYNC}
- name: SERVICE_MIGRATE_AND_SEED_ON_INIT
value: 'true'
- name: WORKER_MIGRATE_AND_SEED_ON_INIT
value: 'false'
- name: ENT_CERT
valueFrom:
secretKeyRef:
Expand Down
5 changes: 5 additions & 0 deletions deployment/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,8 @@ objects:
value: ${SUBS_CACHE_MAX_SIZE}
- name: ENT_SUBS_CACHE_ITEM_PRUNE
value: ${SUBS_CACHE_ITEM_PRUNE}
- name: BUNDLES_SKUS_ALLOW_LIST
value: ${BUNDLES_SKUS_ALLOW_LIST}
- name: ENT_CW_LOG_GROUP
valueFrom:
secretKeyRef:
Expand Down Expand Up @@ -253,6 +255,9 @@ parameters:
name: RUN_BUNDLE_SYNC
required: false
value: 'false'
- description: Application allow list for new bundles with skus to update the feature in the IT features API
name: BUNDLES_SKUS_ALLOW_LIST
value: ansible,smart_management_rods,rhoam,rhosak,openshift,rhel
- description: Flag to determine whether or not to entitle all by default and mock calls to IT
name: ENTITLE_ALL
required: false
Expand Down