ArgoCDDetails

pydantic model phalanx.models.environments.ArgoCDDetails

Details about the Argo CD configuration for an environment.

Parameters:

data (Any)

Show JSON schema
{
   "title": "ArgoCDDetails",
   "description": "Details about the Argo CD configuration for an environment.",
   "type": "object",
   "properties": {
      "provider": {
         "$ref": "#/$defs/IdentityProvider"
      },
      "provider_hostname": {
         "anyOf": [
            {
               "type": "string"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Provider Hostname"
      },
      "rbac": {
         "anyOf": [
            {
               "$ref": "#/$defs/ArgoCDRBAC"
            },
            {
               "type": "null"
            }
         ],
         "default": null
      },
      "url": {
         "anyOf": [
            {
               "type": "string"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Url"
      }
   },
   "$defs": {
      "ArgoCDRBAC": {
         "description": "Argo CD RBAC rules.",
         "properties": {
            "roles": {
               "additionalProperties": {
                  "items": {
                     "type": "string"
                  },
                  "type": "array"
               },
               "title": "Roles",
               "type": "object"
            }
         },
         "required": [
            "roles"
         ],
         "title": "ArgoCDRBAC",
         "type": "object"
      },
      "IdentityProvider": {
         "description": "Type of identity provider used by Gafaelfawr.",
         "enum": [
            "CILogon",
            "GitHub",
            "Google",
            "OpenID Connect",
            "None"
         ],
         "title": "IdentityProvider",
         "type": "string"
      }
   },
   "required": [
      "provider"
   ]
}

Fields:
field provider: IdentityProvider [Required]

Type of identity provider used for Argo CD.

field provider_hostname: str | None = None

Hostname of Argo CD identity provider, if meaningful.

field rbac: ArgoCDRBAC | None = None

Argo CD RBAC configuration.

field url: str | None = None

URL for the Argo CD UI.