github.com/oam-dev/kubevela@v1.9.11/pkg/appfile/helm/testdata/values.schema.json (about)

     1  {
     2    "properties": {
     3      "affinity": {
     4        "type": "object"
     5      },
     6      "backend": {
     7        "nullable": true
     8      },
     9      "backends": {
    10        "default": [],
    11        "type": "array"
    12      },
    13      "cache": {
    14        "default": "",
    15        "description": "Redis address in the format <host>:<port>",
    16        "type": "string"
    17      },
    18      "certificate": {
    19        "description": "create a certificate manager certificate",
    20        "properties": {
    21          "create": {
    22            "default": false,
    23            "type": "boolean"
    24          },
    25          "dnsNames": {
    26            "default": [
    27              "podinfo"
    28            ],
    29            "description": "the hostname / subject alternative names for the certificate",
    30            "items": {
    31              "type": "string"
    32            },
    33            "type": "array"
    34          },
    35          "issuerRef": {
    36            "description": "the issuer used to issue the certificate",
    37            "properties": {
    38              "kind": {
    39                "default": "ClusterIssuer",
    40                "type": "string"
    41              },
    42              "name": {
    43                "default": "self-signed",
    44                "type": "string"
    45              }
    46            },
    47            "type": "object"
    48          }
    49        },
    50        "type": "object"
    51      },
    52      "faults": {
    53        "properties": {
    54          "delay": {
    55            "default": false,
    56            "type": "boolean"
    57          },
    58          "error": {
    59            "default": false,
    60            "type": "boolean"
    61          },
    62          "testFail": {
    63            "default": false,
    64            "type": "boolean"
    65          },
    66          "testTimeout": {
    67            "default": false,
    68            "type": "boolean"
    69          },
    70          "unhealthy": {
    71            "default": false,
    72            "type": "boolean"
    73          },
    74          "unready": {
    75            "default": false,
    76            "type": "boolean"
    77          }
    78        },
    79        "type": "object"
    80      },
    81      "h2c": {
    82        "properties": {
    83          "enabled": {
    84            "default": false,
    85            "type": "boolean"
    86          }
    87        },
    88        "type": "object"
    89      },
    90      "hpa": {
    91        "description": "metrics-server add-on required",
    92        "properties": {
    93          "cpu": {
    94            "description": "average total CPU usage per pod (1-100)",
    95            "nullable": true
    96          },
    97          "enabled": {
    98            "default": false,
    99            "type": "boolean"
   100          },
   101          "maxReplicas": {
   102            "default": 10,
   103            "type": "integer"
   104          },
   105          "memory": {
   106            "description": "average memory usage per pod (100Mi-1Gi)",
   107            "nullable": true
   108          },
   109          "requests": {
   110            "description": "average http requests per second per pod (k8s-prometheus-adapter)",
   111            "nullable": true
   112          }
   113        },
   114        "type": "object"
   115      },
   116      "image": {
   117        "properties": {
   118          "pullPolicy": {
   119            "default": "IfNotPresent",
   120            "type": "string"
   121          },
   122          "repository": {
   123            "default": "ghcr.io/stefanprodan/podinfo",
   124            "type": "string"
   125          },
   126          "tag": {
   127            "default": "5.1.4",
   128            "type": "string"
   129          }
   130        },
   131        "type": "object"
   132      },
   133      "ingress": {
   134        "properties": {
   135          "annotations": {
   136            "type": "object"
   137          },
   138          "enabled": {
   139            "default": false,
   140            "type": "boolean"
   141          },
   142          "hosts": {
   143            "default":[	
   144              {	
   145                "host":"chart-example.local",	
   146                "paths":[	
   147                  {	
   148                    "path":"/"	
   149                  }	
   150                ]	
   151              }	
   152           ],
   153            "description": "kubernetes.io/ingress.class: nginx\nkubernetes.io/tls-acme: \"true\"",
   154            "items": {
   155              "properties": {
   156                "host": {
   157                  "default": "chart-example.local",
   158                  "type": "string"
   159                },
   160                "paths": {
   161                  "default":[	
   162                    {	
   163                      "path":"/"	
   164                    }	
   165                  ],
   166                  "items": {
   167                    "properties": {
   168                      "path": {
   169                        "default": "/",
   170                        "type": "string"
   171                      }
   172                    },
   173                    "type": "object"
   174                  },
   175                  "type": "array"
   176                }
   177              },
   178              "type": "object"
   179            },
   180            "type": "array"
   181          },
   182          "tls": {
   183            "default": [],
   184            "type": "array"
   185          }
   186        },
   187        "type": "object"
   188      },
   189      "linkerd": {
   190        "properties": {
   191          "profile": {
   192            "properties": {
   193              "enabled": {
   194                "default": false,
   195                "type": "boolean"
   196              }
   197            },
   198            "type": "object"
   199          }
   200        },
   201        "type": "object"
   202      },
   203      "logLevel": {
   204        "default": "info",
   205        "type": "string"
   206      },
   207      "nodeSelector": {
   208        "type": "object"
   209      },
   210      "podAnnotations": {
   211        "type": "object"
   212      },
   213      "redis": {
   214        "description": "Redis deployment",
   215        "properties": {
   216          "enabled": {
   217            "default": false,
   218            "type": "boolean"
   219          },
   220          "repository": {
   221            "default": "redis",
   222            "type": "string"
   223          },
   224          "tag": {
   225            "default": "6.0.8",
   226            "type": "string"
   227          }
   228        },
   229        "type": "object"
   230      },
   231      "replicaCount": {
   232        "default": 1,
   233        "type": "integer"
   234      },
   235      "resources": {
   236        "properties": {
   237          "limits": {
   238            "nullable": true
   239          },
   240          "requests": {
   241            "properties": {
   242              "cpu": {
   243                "default": "1m",
   244                "type": "string"
   245              },
   246              "memory": {
   247                "default": "16Mi",
   248                "type": "string"
   249              }
   250            },
   251            "type": "object"
   252          }
   253        },
   254        "type": "object"
   255      },
   256      "service": {
   257        "properties": {
   258          "enabled": {
   259            "default": true,
   260            "type": "boolean"
   261          },
   262          "externalPort": {
   263            "default": 9898,
   264            "type": "integer"
   265          },
   266          "grpcPort": {
   267            "default": 9999,
   268            "type": "integer"
   269          },
   270          "grpcService": {
   271            "default": "podinfo",
   272            "type": "string"
   273          },
   274          "hostPort": {
   275            "description": "the port used to bind the http port to the host\nNOTE: requires privileged container with NET_BIND_SERVICE capability -- this is useful for testing\nin local clusters such as kind without port forwarding",
   276            "nullable": true
   277          },
   278          "httpPort": {
   279            "default": 9898,
   280            "type": "integer"
   281          },
   282          "metricsPort": {
   283            "default": 9797,
   284            "type": "integer"
   285          },
   286          "nodePort": {
   287            "default": 31198,
   288            "type": "integer"
   289          },
   290          "type": {
   291            "default": "ClusterIP",
   292            "type": "string"
   293          }
   294        },
   295        "type": "object"
   296      },
   297      "serviceAccount": {
   298        "properties": {
   299          "enabled": {
   300            "default": false,
   301            "description": "Specifies whether a service account should be created",
   302            "type": "boolean"
   303          },
   304          "name": {
   305            "description": "The name of the service account to use.\nIf not set and create is true, a name is generated using the fullname template",
   306            "nullable": true
   307          }
   308        },
   309        "type": "object"
   310      },
   311      "serviceMonitor": {
   312        "properties": {
   313          "enabled": {
   314            "default": false,
   315            "type": "boolean"
   316          },
   317          "interval": {
   318            "default": "15s",
   319            "type": "string"
   320          }
   321        },
   322        "type": "object"
   323      },
   324      "tls": {
   325        "description": "enable tls on the podinfo service",
   326        "properties": {
   327          "certPath": {
   328            "default": "/data/cert",
   329            "description": "the path where the certificate key pair will be mounted",
   330            "type": "string"
   331          },
   332          "enabled": {
   333            "default": false,
   334            "type": "boolean"
   335          },
   336          "hostPort": {
   337            "description": "the port used to bind the tls port to the host\nNOTE: requires privileged container with NET_BIND_SERVICE capability -- this is useful for testing\nin local clusters such as kind without port forwarding",
   338            "nullable": true
   339          },
   340          "port": {
   341            "default": 9899,
   342            "description": "the port used to host the tls endpoint on the service",
   343            "type": "integer"
   344          },
   345          "secretName": {
   346            "description": "the name of the secret used to mount the certificate key pair",
   347            "nullable": true
   348          }
   349        },
   350        "type": "object"
   351      },
   352      "tolerations": {
   353        "default": [],
   354        "type": "array"
   355      },
   356      "ui": {
   357        "properties": {
   358          "color": {
   359            "default": "#34577c",
   360            "type": "string"
   361          },
   362          "logo": {
   363            "default": "",
   364            "type": "string"
   365          },
   366          "message": {
   367            "default": "",
   368            "type": "string"
   369          }
   370        },
   371        "type": "object"
   372      }
   373    },
   374    "type": "object"
   375  }