sigs.k8s.io/cluster-api-provider-azure@v1.17.0/hack/observability/opentelemetry/chart/values.schema.json (about)

     1  {
     2    "$schema": "http://json-schema.org/schema#",
     3    "type": "object",
     4    "title": "Values",
     5    "additionalProperties": false,
     6    "properties": {
     7      "global": {
     8        "type": "object"
     9      },
    10      "nameOverride": {
    11        "description": "Override name of the chart used in Kubernetes object names.",
    12        "type": "string"
    13      },
    14      "fullnameOverride": {
    15        "description": "Override fully qualified app name.",
    16        "type": "string"
    17      },
    18      "config": {
    19        "description": "Configuration that applies to both standalone and agent collector. Overwritable by standalone and agent specific configs.",
    20        "type": "object"
    21      },
    22      "image": {
    23        "description": "Image use in both standalone and agent configs",
    24        "type": "object",
    25        "additionalProperties": false,
    26        "properties": {
    27          "repository": {
    28            "type": "string"
    29          },
    30          "tag": {
    31            "type": "string"
    32          },
    33          "pullPolicy": {
    34            "type": "string",
    35            "enum": [
    36              "IfNotPresent",
    37              "Always",
    38              "Never"
    39            ]
    40          }
    41        }
    42      },
    43      "imagePullSecrets": {
    44        "type": "array",
    45        "items": {
    46          "type": "object"
    47        }
    48      },
    49      "command": {
    50        "description": "OpenTelemetry Collector executable",
    51        "type": "object",
    52        "additionalProperties": false,
    53        "properties": {
    54          "name": {
    55            "type": "string"
    56          },
    57          "extraArgs": {
    58            "type": "array",
    59            "items": {
    60              "type": "string"
    61            }
    62          }
    63        }
    64      },
    65      "serviceAccount": {
    66        "type": "object",
    67        "additionalProperties": false,
    68        "properties": {
    69          "create": {
    70            "type": "boolean"
    71          },
    72          "annotations": {
    73            "type": "object"
    74          },
    75          "name": {
    76            "type": "string"
    77          }
    78        },
    79        "required": [
    80          "create"
    81        ]
    82      },
    83      "clusterRole": {
    84        "type": "object",
    85        "additionalProperties": false,
    86        "properties": {
    87          "create": {
    88            "type": "boolean"
    89          },
    90          "annotations": {
    91            "type": "object"
    92          },
    93          "name": {
    94            "type": "string"
    95          },
    96          "rules": {
    97            "type": "array",
    98            "items": {
    99              "type": "object"
   100            }
   101          },
   102          "clusterRoleBinding": {
   103            "type": "object",
   104            "additionalProperties": false,
   105            "properties": {
   106              "annotations": {
   107                "type": "object"
   108              },
   109              "name": {
   110                "type": "string"
   111              }
   112            }
   113          }
   114        },
   115        "required": [
   116          "create"
   117        ]
   118      },
   119      "podSecurityContext": {
   120        "type": "object"
   121      },
   122      "securityContext": {
   123        "type": "object"
   124      },
   125      "nodeSelector": {
   126        "type": "object"
   127      },
   128      "tolerations": {
   129        "type": "array",
   130        "items": {
   131          "type": "object"
   132        }
   133      },
   134      "affinity": {
   135        "type": "object"
   136      },
   137      "priorityClassName": {
   138        "type": "string"
   139      },
   140      "extraEnvs": {
   141        "type": "array",
   142        "items": {
   143          "type": "object"
   144        }
   145      },
   146      "extraConfigMapMounts": {
   147        "type": "array",
   148        "items": {
   149          "type": "object"
   150        }
   151      },
   152      "extraHostPathMounts": {
   153        "type": "array",
   154        "items": {
   155          "type": "object"
   156        }
   157      },
   158      "secretMounts": {
   159        "type": "array",
   160        "items": {
   161          "type": "object"
   162        }
   163      },
   164      "extraVolumes": {
   165        "type": "array",
   166        "items": {
   167          "type": "object"
   168        }
   169      },
   170      "extraVolumeMounts": {
   171        "type": "array",
   172        "items": {
   173          "type": "object"
   174        }
   175      },
   176      "ports": {
   177        "type": "object",
   178        "patternProperties": {
   179          ".*": {
   180            "type": "object",
   181            "additionalProperties": false,
   182            "properties": {
   183              "enabled": {
   184                "type": "boolean"
   185              },
   186              "containerPort": {
   187                "type": "integer"
   188              },
   189              "servicePort": {
   190                "type": "integer"
   191              },
   192              "hostPort": {
   193                "type": "integer"
   194              },
   195              "protocol": {
   196                "type": "string"
   197              }
   198            },
   199            "required": [
   200              "enabled"
   201            ]
   202          }
   203        }
   204      },
   205      "agentCollector": {
   206        "description": "Configuration for OpenTelemetry Collector daemonset",
   207        "type": "object",
   208        "properties": {
   209          "enabled": {
   210            "type": "boolean"
   211          },
   212          "containerLogs": {
   213            "type": "object",
   214            "properties": {
   215              "enabled": {
   216                "type": "boolean"
   217              }
   218            },
   219            "required": [
   220              "enabled"
   221            ]
   222          },
   223          "resources": {
   224            "type": "object",
   225            "additionalProperties": false,
   226            "properties": {
   227              "limits": {
   228                "type": "object",
   229                "additionalProperties": false,
   230                "properties": {
   231                  "cpu": {
   232                    "type": [
   233                      "string",
   234                      "integer"
   235                    ]
   236                  },
   237                  "memory": {
   238                    "type": "string"
   239                  }
   240                }
   241              },
   242              "requests": {
   243                "type": "object",
   244                "additionalProperties": false,
   245                "properties": {
   246                  "cpu": {
   247                    "type": [
   248                      "string",
   249                      "integer"
   250                    ]
   251                  },
   252                  "memory": {
   253                    "type": "string"
   254                  }
   255                }
   256              }
   257            }
   258          },
   259          "podAnnotations": {
   260            "type": "object"
   261          },
   262          "annotations": {
   263            "type": "object"
   264          },
   265          "hostNetwork": {
   266            "type": "boolean"
   267          },
   268          "configOverride": {
   269            "type": "object"
   270          }
   271        },
   272        "required": [
   273          "enabled",
   274          "containerLogs"
   275        ]
   276      },
   277      "standaloneCollector": {
   278        "description": "Configuration for standalone OpenTelemetry Collector deployment",
   279        "type": "object",
   280        "properties": {
   281          "enabled": {
   282            "type": "boolean"
   283          },
   284          "replicaCount": {
   285            "type": "integer"
   286          },
   287          "resources": {
   288            "type": "object",
   289            "additionalProperties": false,
   290            "properties": {
   291              "limits": {
   292                "type": "object",
   293                "additionalProperties": false,
   294                "properties": {
   295                  "cpu": {
   296                    "type": [
   297                      "string",
   298                      "integer"
   299                    ]
   300                  },
   301                  "memory": {
   302                    "type": "string"
   303                  }
   304                }
   305              },
   306              "requests": {
   307                "type": "object",
   308                "additionalProperties": false,
   309                "properties": {
   310                  "cpu": {
   311                    "type": [
   312                      "string",
   313                      "integer"
   314                    ]
   315                  },
   316                  "memory": {
   317                    "type": "string"
   318                  }
   319                }
   320              }
   321            }
   322          },
   323          "podAnnotations": {
   324            "type": "object"
   325          },
   326          "annotations": {
   327            "type": "object"
   328          },
   329          "configOverride": {
   330            "type": "object"
   331          }
   332        },
   333        "required": [
   334          "enabled"
   335        ]
   336      },
   337      "service": {
   338        "type": "object",
   339        "additionalProperties": false,
   340        "properties": {
   341          "type": {
   342            "type": "string",
   343            "enum": [
   344              "ClusterIP",
   345              "NodePort",
   346              "LoadBalancer",
   347              "ExternalName"
   348            ]
   349          },
   350          "annotations": {
   351            "type": "object"
   352          }
   353        }
   354      },
   355      "ingress": {
   356        "type": "object",
   357        "properties": {
   358          "enabled": {
   359            "type": "boolean"
   360          },
   361          "annotations": {
   362            "type": "object"
   363          }
   364        },
   365        "required": [
   366          "enabled"
   367        ]
   368      },
   369      "podMonitor": {
   370        "type": "object",
   371        "properties": {
   372          "enabled": {
   373            "type": "boolean"
   374          },
   375          "metricsEndpoints": {
   376            "type": "array",
   377            "items": {
   378              "type": "object"
   379            }
   380          },
   381          "extraLabels": {
   382            "type": "object"
   383          }
   384        },
   385        "required": [
   386          "enabled"
   387        ]
   388      },
   389      "serviceMonitor": {
   390        "type": "object",
   391        "properties": {
   392          "enabled": {
   393            "type": "boolean"
   394          },
   395          "metricsEndpoints": {
   396            "type": "array",
   397            "items": {
   398              "type": "object"
   399            }
   400          },
   401          "extraLabels": {
   402            "type": "object"
   403          }
   404        },
   405        "required": [
   406          "enabled"
   407        ]
   408      },
   409      "podDisruptionBudget": {
   410        "type": "object",
   411        "properties": {
   412          "enabled": {
   413            "type": "boolean"
   414          }
   415        },
   416        "required": [
   417          "enabled"
   418        ]
   419      },
   420      "autoscaling": {
   421        "type": "object",
   422        "properties": {
   423          "enabled": {
   424            "type": "boolean"
   425          },
   426          "minReplicas": {
   427            "type": "integer"
   428          },
   429          "maxReplicas": {
   430            "type": "integer"
   431          },
   432          "targetCPUUtilizationPercentage": {
   433            "type": "integer"
   434          }
   435        },
   436        "required": [
   437          "enabled"
   438        ]
   439      }
   440    },
   441    "anyOf": [
   442      {
   443        "properties": {
   444          "standaloneCollector": {
   445            "properties": {
   446              "enabled": {
   447                "const": true
   448              }
   449            }
   450          }
   451        }
   452      },
   453      {
   454        "properties": {
   455          "agentCollector": {
   456            "properties": {
   457              "enabled": {
   458                "const": true
   459              }
   460            }
   461          }
   462        }
   463      }
   464    ]
   465  }