Argo CD · JSON Structure

Argo Cd V1Alpha1 Known Type Field Structure

KnownTypeField contains a mapping between a Custom Resource Definition (CRD) field and a well-known Kubernetes type. This mapping is primarily used for unit conversions in resources where the type is not explicitly defined (e.g., converting "0.1" to "100m" for CPU requests).

Type: object Properties: 2
Continuous DeliveryContainersDeploymentGitOpsKubernetesCNCFOpen Source

v1alpha1KnownTypeField is a JSON Structure definition published by Argo CD, describing 2 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

field type

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/argo-cd/refs/heads/main/json-structure/argo-cd-v1alpha1-known-type-field-structure.json",
  "name": "v1alpha1KnownTypeField",
  "description": "KnownTypeField contains a mapping between a Custom Resource Definition (CRD) field\nand a well-known Kubernetes type. This mapping is primarily used for unit conversions\nin resources where the type is not explicitly defined (e.g., converting \"0.1\" to \"100m\" for CPU requests).",
  "type": "object",
  "properties": {
    "field": {
      "type": "string",
      "name": "Field represents the JSON path to the specific field in the CRD that requires type conversion.\nExample: \"spec.resources.requests.cpu\""
    },
    "type": {
      "description": "Type specifies the expected Kubernetes type for the field, such as \"cpu\" or \"memory\".\nThis helps in converting values between different formats (e.g., \"0.1\" to \"100m\" for CPU).",
      "type": "string"
    }
  }
}