Skip to main content

Athena CRDs and data types

📄️ Config

Config encapsulates the configuration settings for a particular Element. Since this structure is used to generate the configuration for the Manager, each field is double-tagged. The json tags are used by the Kubernetes API machinery to generate the CRD and the yaml tags are used by Athena to generate the configuration file for the Manager. No validation is performed before passing the values to the Manager, hence the Manager might panic if the values are not proper. Despite the defined immutability, for the current version, the Manager might not always properly handle all the day-2 scenarios.