ConditionalSecretCopyRules#

pydantic model phalanx.models.secrets.ConditionalSecretCopyRules#

Possibly conditional rules for copying a secret value from another.

Parameters:

data (Any) –

Show JSON schema
{
   "title": "ConditionalSecretCopyRules",
   "description": "Possibly conditional rules for copying a secret value from another.",
   "type": "object",
   "properties": {
      "if": {
         "title": "Condition",
         "description": "Configuration only applies if this Helm chart setting is set to a true value",
         "type": "string"
      },
      "application": {
         "title": "Application",
         "type": "string"
      },
      "key": {
         "title": "Key",
         "type": "string"
      }
   },
   "required": [
      "application",
      "key"
   ],
   "additionalProperties": false
}

Config:
  • allow_population_by_field_name: bool = True

  • extra: Extra = Extra.forbid

Fields:
field application: str [Required]#

Application from which the secret should be copied.

field condition: Optional[str] = None (alias 'if')#

Configuration only applies if this Helm chart setting is set to a true value

field key: str [Required]#

Secret key from which the secret should be copied.