Gandalf is an open-source tool that can be used for configuration management for any use cases. This is an open-source project however, authorization rights and confidential modules belongs to the owner itself. Self written modules based on Python3 works with the tool.
Prerequisite:
Windows
Before using the tool, make sure to manually set environment in Windows to the path: C:/Users/$USERNAME/AppData/Local/Programs/Python/Python<latest version>/Lib/gandalf-cli. Perform this through the Windows UI. Will make this process easier and automnatic in future releases.
Linux
In the case of Linux based systems, set environment variable path and provide execution permission:
If set to no, the spell will not work and if set to yes, the spell will be triggered.
path
If required was set to yes, then you will need to provide the path a value.
delete
Choices:false or true
If delete is set to false, then HELM delete and redeploy wont happen. If delete is set to yes, then HELM delete and redeployment will happen.
redeploy
Choices:false or true
If redeploy is set to false, then HELM upgrade wont happen. If redeploy is set to yes, then HELM updrade will happen.
sanity_check
Choices:disabled or enabled
If sanity_check flag is set to disabled, then sanity check wont run. If sanity_check flag is set to enabled, then sanity check will run.
validation_check
Choices:disabled or enabled
If validation_check flag is set to disabled, then validation check wont run. If validation_check flag is set to enabled, then validation check will run.
new_chart_version
Provide the name of the new chart version
new_cnf_package_version
Provide the name of the new cnf_package_version
Example
---eks_level_folder_selection:allgrimoire:-spell:Update application_config.json and config.jsonmodule:mav_bedc_cu_moduleattributes:required:yespath:D:\Repo\config\proddelete:falseredeploy:falsesanity_check:disabledvalidation_check:disablednew_chart_version:new_helm_chartnew_cnf_package_version:new_cnf_package.zip
mav_bedc_cu_values_yaml_files
Parameter
Choices/Defaults
Comments
required
Choices:no or yes
If set to no, the spell will not work and if set to yes, the spell will be triggered.
path
If required was set to yes, then you will need to provide the path a value.
drop_version
Provide the name of the drop.
line_number
Provide the line number of the values.yaml.
change
Provide the line change. Input will only accept one line at a time.
Example
---eks_level_folder_selection:allgrimoire:-spell:Updating values.yaml files with latest changesmodule:mav_bedc_cu_values_yaml_filesattributes:required:yespath:D:\Repo\config\proddrop_version:new_drop_versionline_number:142change:'-destination:"10.0.0.1/0"'
mav_bedc_mgmt_module
Parameter
Choices/Defaults
Comments
required
Choices:no or yes
If set to no, the spell will not work and if set to yes, the spell will be triggered.
path
If required was set to yes, then you will need to provide the path a value.
release_name
Provide the name of the release.
delete
Choices:false or true
If delete is set to false, then HELM delete and redeploy wont happen. If delete is set to yes, then HELM delete and redeployment will happen.
redeploy
Choices:false or true
If redeploy is set to false, then HELM upgrade wont happen. If redeploy is set to yes, then HELM updrade will happen.
validation_check
Choices:disabled or enabled
If sanity_check flag is set to disabled, then validation check wont run. If validation_check flag is set to enabled, then validation check will run.
new_chart_version
Provide the name of the new chart version
new_cnf_package_version
Provide the name of the new cnf_package_version
Example
---eks_level_folder_selection:allgrimoire:-spell:Updating application_config.json for NF1module:mav_bedc_mgmt_moduleattributes:required:yespath:D:\Repo\config\prodrelease_name:mtcildelete:trueredeploy:falsevalidation_check:disablednew_chart_version:new_chart_03new_cnf_package_version:new_cnf_package_v2.zip-spell:Updating application_config.json NF2module:mav_bedc_mgmt_moduleattributes:required:yespath:D:\Repo\config\prodrelease_name:admfdelete:trueredeploy:falsevalidation_check:disablednew_chart_version:new_chart_03new_cnf_package_version:new_cnf_package_v2.zip
mav_bedc_mgmt_values_yaml_files
Parameter
Choices/Defaults
Comments
required
Choices:no or yes
If set to no, the spell will not work and if set to yes, the spell will be triggered.
path
If required was set to yes, then you will need to provide the path a value.
drop_version
Provide the name of the drop.
line_number
Provide the line number of the values.yaml.
nf_type
Provide the name of the NF type.
change
Provide the line change. Input will only accept one line at a time.
Example
---eks_level_folder_selection:allgrimoire:-spell:Updating values.yaml files with latest changes for NF1module:mav_bedc_mgmt_values_yaml_filesattributes:required:yespath:D:\Repo\config\proddrop_version:drop17.8nf_type:nf1line_number:142change:'-destination:"10.0.0.1/0"'
mav_increment_pipeline_version
Parameter
Choices/Defaults
Comments
required
Choices:no or yes
If set to no, the spell will not work and if set to yes, the spell will be triggered.
path
If required was set to yes, then you will need to provide the path a value.