EnvironmentConfig#
- pydantic model phalanx.models.environments.EnvironmentConfig#
Configuration for a Phalanx environment.
This is a model for the
values-environment.yaml
files for each environment and is also used to validate those files. For the complete configuration for an environment, initialize this model with the merger ofvalues.yaml
andvalues-environment.yaml
.- Parameters:
data (
Any
) –
Show JSON schema
{ "title": "EnvironmentConfig", "description": "Configuration for a Phalanx environment.\n\nThis is a model for the :file:`values-{environment}.yaml` files for each\nenvironment and is also used to validate those files. For the complete\nconfiguration for an environment, initialize this model with the merger of\n:file:`values.yaml` and :file:`values-{environment}.yaml`.", "type": "object", "properties": { "name": { "title": "Name", "type": "string" }, "fqdn": { "title": "Fqdn", "type": "string" }, "vaultUrl": { "title": "Vaulturl", "type": "string" }, "vaultPathPrefix": { "title": "Vaultpathprefix", "type": "string" }, "applications": { "title": "Applications", "type": "object", "additionalProperties": { "type": "boolean" } } }, "required": [ "name", "fqdn", "vaultUrl", "vaultPathPrefix", "applications" ] }
- Config:
alias_generator: function = <function to_camel_case at 0x7f7762557e20>
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_alias
from 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_alias
from False to True, so that by default the exported dictionary uses camel-case.