EnvironmentConfig#
- pydantic model phalanx.models.environments.EnvironmentConfig#
- Configuration for a Phalanx environment. - This is a partial model for the environment - values.yamlfile. It cannot currently be used as a real model because enabled applications are stored as a list rather than the data structure used in- values.yaml.- Parameters:
- data ( - Any) –
 - Show JSON schema- { "title": "EnvironmentConfig", "description": "Configuration for a Phalanx environment.\n\nThis is a partial model for the environment :file:`values.yaml` file.\nIt cannot currently be used as a real model because enabled applications\nare stored as a list rather than the data structure used in\n:file:`values.yaml`.", "type": "object", "properties": { "vaultUrl": { "title": "Vaulturl", "type": "string" }, "vaultPathPrefix": { "title": "Vaultpathprefix", "type": "string" }, "name": { "title": "Name", "type": "string" }, "fqdn": { "title": "Fqdn", "type": "string" }, "applications": { "title": "Applications", "description": "List of enabled applications", "default": [], "type": "array", "items": { "type": "string" } } }, "required": [ "vaultUrl", "vaultPathPrefix", "name", "fqdn" ] } - Config:
- alias_generator: function = <function to_camel_case at 0x7f579e577d80> 
- allow_population_by_field_name: bool = True 
 
- Fields:
 - 
field vault_path_prefix: str[Required] (alias 'vaultPathPrefix')#
- Prefix of Vault paths, including the Kv2 mount point. 
 - dict(**kwargs)#
- Export the model as a dictionary. - Overridden to change the default of - by_aliasfrom False to True, so that by default the exported dictionary uses camel-case.
 - json(**kwargs)#
- Export the model as JSON. - Overridden to change the default of - by_aliasfrom False to True, so that by default the exported dictionary uses camel-case.