Skip to content

Commit

Permalink
remove duplicate env var and set default features to load in bundle s…
Browse files Browse the repository at this point in the history
…ync in our deployments (#146)
  • Loading branch information
dagbay-rh authored Aug 25, 2023
1 parent e23b27e commit 46052ed
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 13 deletions.
1 change: 0 additions & 1 deletion config/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,6 @@ func initialize() {
options.SetDefault(Keys.CwLogGroup, "platform-dev")
options.SetDefault(Keys.CwLogStream, hostname)
options.SetDefault(Keys.CwRegion, "us-east-1")
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
9 changes: 2 additions & 7 deletions deployment/clowdapp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,6 @@ objects:
value: ${SUBS_CACHE_MAX_SIZE}
- name: ENT_SUBS_CACHE_ITEM_PRUNE
value: ${SUBS_CACHE_ITEM_PRUNE}
- name: ENT_BUNDLES_SKUS_ALLOW_LIST
value: ${BUNDLES_SKUS_ALLOW_LIST}
- name: GLITCHTIP_DSN
valueFrom:
secretKeyRef:
Expand Down Expand Up @@ -223,6 +221,7 @@ parameters:
value: 'entitlements-secret'
- description: List of feature bundles to onboard during bundle sync
name: FEATURES
value: ansible,smart_management,rhods,rhoam,rhosak,openshift,acs
required: false
- description: Flag to disable seat manager by not exposing any of the apis related to the feature
name: DISABLE_SEAT_MANAGER
Expand All @@ -238,8 +237,4 @@ parameters:
required: false
- description: ClowdEnv Name
name: ENV_NAME
required: true
- description: Application allows list for new bundles with skus to update the feature in the IT features API
name: BUNDLES_SKUS_ALLOW_LIST
value: ansible,smart_management,rhods,rhoam,rhosak,openshift,acs
required: false
required: true
6 changes: 1 addition & 5 deletions deployment/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,6 @@ 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 @@ -255,9 +253,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,rhods,rhoam,rhosak,openshift,acs
- description: Flag to determine whether or not to entitle all by default and mock calls to IT
name: ENTITLE_ALL
required: false
Expand All @@ -268,6 +263,7 @@ parameters:
value: 'entitlements-secret'
- description: List of feature bundles to onboard during bundle sync
name: FEATURES
value: ansible,smart_management,rhods,rhoam,rhosak,openshift,acs
required: false
- description: Flag to disable seat manager by not exposing any of the apis related to the feature
name: DISABLE_SEAT_MANAGER
Expand Down

0 comments on commit 46052ed

Please sign in to comment.