Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
salt: handle edge cases when calling
service_configuration
salt module
Since the introduction of service_configurations, some charts such as prometheus-adapter and nginx-ingress-controller do not yet implement this functionality but might in future have configurable service values. To render all charts, we mandatorily need to pass arguments for `--service-config` and since the above charts do not yet implement this feature, we should be able to handle them differently. Now, we pass `unavailable` as the service configmap name such that the module can handle things else, if we pass `None` an exception will be raised.
- Loading branch information