Skip to content

Commit 01434b3

Browse files
authored
Use empty list vs object for clouds parameter (#232) (#233)
The use of an empty clouds object results in an error in Service Telemetry Operator since a list is expected. Using an empty list will result in the expected outcome of no Smart Gateways being defined rather than an error. Resolves: rhbz#1979376
1 parent 6bb83e4 commit 01434b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc-Service-Telemetry-Framework/modules/proc_deleting-the-default-smart-gateways.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
[role="_abstract"]
2727
After you configure {ProjectShort} for multiple clouds, you can delete the default Smart Gateways if they are no longer in use. The Service Telemetry Operator can remove `SmartGateway` objects that have been created but are no longer listed in the ServiceTelemetry `clouds` list of objects. You can enable the removal of SmartGateway objects that are not defined by the `clouds` parameter by setting `cloudsRemoveOnMissing: true` in the `ServiceTelemetry` manifest.
2828

29-
TIP: If you do not want any Smart Gateways deployed, define an empty clouds object using the `clouds: {}` parameter.
29+
TIP: If you do not want to deploy any Smart Gateways, define an empty clouds list by using the `clouds: []` parameter.
3030

3131
WARNING: The `cloudsRemoveOnMissing` parameter is disabled by default. If you enable the `cloudsRemoveOnMissing` parameter, you remove any manually created `SmartGateway` objects in the current namespace without any possibility to restore.
3232

0 commit comments

Comments
 (0)