Skip to content

Commit

Permalink
Within deployment/deploy.yml, added new parameter: BUNDLES_SKUS_ALLOW…
Browse files Browse the repository at this point in the history
…_LIST to add a new SKU bundle configurable

Updated config/main.go to reflect the changes made in deploy.yml
  • Loading branch information
Ellen-Yi-Dong committed Jan 18, 2023
1 parent c7c29cc commit f3059f5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion config/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,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")
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
5 changes: 5 additions & 0 deletions deployment/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,8 @@ objects:
value: /apispec/api.spec.json
- name: ENT_BUNDLE_INFO_YAML
value: /bundles/bundles.yml
- name: BUNDLES_SKUS_ALLOW_LIST
value: ${BUNDLES_SKUS_ALLOW_LIST}
- name: ENT_CW_LOG_GROUP
valueFrom:
secretKeyRef:
Expand Down Expand Up @@ -190,3 +192,6 @@ 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

0 comments on commit f3059f5

Please sign in to comment.