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": {
         "anyOf": [
            {
               "type": "string"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "description": "Configuration only applies if this Helm chart setting is set to a true value",
         "title": "Condition"
      },
      "application": {
         "description": "Application from which the secret should be copied",
         "title": "Application",
         "type": "string"
      },
      "key": {
         "description": "Secret key from which the secret should be copied",
         "title": "Key",
         "type": "string"
      }
   },
   "additionalProperties": false,
   "required": [
      "application",
      "key"
   ]
}

Config:
  • populate_by_name: bool = True

  • extra: str = forbid

Fields:
field application: str [Required]

Application from which the secret should be copied

field condition: str | None = 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