RegistryPullSecret#

pydantic model phalanx.models.secrets.RegistryPullSecret#

Pull secret for a specific Docker Repository.

Parameters:

data (Any) –

Show JSON schema
{
   "title": "RegistryPullSecret",
   "description": "Pull secret for a specific Docker Repository.",
   "type": "object",
   "properties": {
      "username": {
         "description": "HTTP Basic Auth username",
         "title": "Username",
         "type": "string"
      },
      "password": {
         "description": "HTTP Basic Auth password",
         "format": "password",
         "title": "Password",
         "type": "string",
         "writeOnly": true
      }
   },
   "additionalProperties": false,
   "required": [
      "username",
      "password"
   ]
}

Config:
  • extra: str = forbid

Fields:
field password: SecretStr [Required]#

HTTP Basic Auth password

field username: str [Required]#

HTTP Basic Auth username

model_computed_fields: ClassVar[dict[str, ComputedFieldInfo]] = {}#

A dictionary of computed field names and their corresponding ComputedFieldInfo objects.