AutoConfiguration
User guide to utilise auto configuration
Note
Please note that the auto configuration script waits for event subscribers and configuration managers present in same deployment. The script will only able to configure attribute using archivers which are deployed already.
The auto configuration script is ran only once at time of start of deployment.
User can utilise 2 ways to enable auto configuration:
Using CAR:
User can provide file updaloaded in CAR using tmdata.
The deployment accepts two keys
car_sourcesandcar_file_pathto utilise the file for configuration.- For Example :
In values.yaml file please update following:
car_sources: "car:ska-tmc/ska-tmc-simulators?main"car_file_path: "archiver_configuration/mid_configuration/archiver_configuration_old.yaml"
Using external link:
User can provide any downloadable link where yaml is present.
For Example: - In values.yaml file please update following:
configuration_file_url: "https://gitlab.com/ska-telescope/ska-eda/ska-tango-archiver/-/raw/master/example_add_attribute.yaml?ref_type=heads&inline=false"
User can utilise both old and new format for the auto configuration by updating
is_auto_config_format_newin values.yaml. Set it astrueif format is new else set it asfalse. Default value isfalse.