github.com/oam-dev/kubevela@v1.9.11/pkg/appfile/helm/testdata/podinfo.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            "type": "array"
   145          },
   146          "path": {
   147            "default": "/*",
   148            "description": "kubernetes.io/ingress.class: nginx\nkubernetes.io/tls-acme: \"true\"",
   149            "type": "string"
   150          },
   151          "tls": {
   152            "default": [],
   153            "description": "- podinfo.local",
   154            "type": "array"
   155          }
   156        },
   157        "type": "object"
   158      },
   159      "linkerd": {
   160        "properties": {
   161          "profile": {
   162            "properties": {
   163              "enabled": {
   164                "default": false,
   165                "type": "boolean"
   166              }
   167            },
   168            "type": "object"
   169          }
   170        },
   171        "type": "object"
   172      },
   173      "logLevel": {
   174        "default": "info",
   175        "type": "string"
   176      },
   177      "nodeSelector": {
   178        "type": "object"
   179      },
   180      "podAnnotations": {
   181        "type": "object"
   182      },
   183      "redis": {
   184        "description": "Redis deployment",
   185        "properties": {
   186          "enabled": {
   187            "default": false,
   188            "type": "boolean"
   189          },
   190          "repository": {
   191            "default": "redis",
   192            "type": "string"
   193          },
   194          "tag": {
   195            "default": "6.0.8",
   196            "type": "string"
   197          }
   198        },
   199        "type": "object"
   200      },
   201      "replicaCount": {
   202        "default": 1,
   203        "type": "integer"
   204      },
   205      "resources": {
   206        "properties": {
   207          "limits": {
   208            "nullable": true
   209          },
   210          "requests": {
   211            "properties": {
   212              "cpu": {
   213                "default": "1m",
   214                "type": "string"
   215              },
   216              "memory": {
   217                "default": "16Mi",
   218                "type": "string"
   219              }
   220            },
   221            "type": "object"
   222          }
   223        },
   224        "type": "object"
   225      },
   226      "service": {
   227        "properties": {
   228          "enabled": {
   229            "default": true,
   230            "type": "boolean"
   231          },
   232          "externalPort": {
   233            "default": 9898,
   234            "type": "integer"
   235          },
   236          "grpcPort": {
   237            "default": 9999,
   238            "type": "integer"
   239          },
   240          "grpcService": {
   241            "default": "podinfo",
   242            "type": "string"
   243          },
   244          "hostPort": {
   245            "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",
   246            "nullable": true
   247          },
   248          "httpPort": {
   249            "default": 9898,
   250            "type": "integer"
   251          },
   252          "metricsPort": {
   253            "default": 9797,
   254            "type": "integer"
   255          },
   256          "nodePort": {
   257            "default": 31198,
   258            "type": "integer"
   259          },
   260          "type": {
   261            "default": "ClusterIP",
   262            "type": "string"
   263          }
   264        },
   265        "type": "object"
   266      },
   267      "serviceAccount": {
   268        "properties": {
   269          "enabled": {
   270            "default": false,
   271            "description": "Specifies whether a service account should be created",
   272            "type": "boolean"
   273          },
   274          "name": {
   275            "description": "The name of the service account to use.\nIf not set and create is true, a name is generated using the fullname template",
   276            "nullable": true
   277          }
   278        },
   279        "type": "object"
   280      },
   281      "serviceMonitor": {
   282        "properties": {
   283          "enabled": {
   284            "default": false,
   285            "type": "boolean"
   286          },
   287          "interval": {
   288            "default": "15s",
   289            "type": "string"
   290          }
   291        },
   292        "type": "object"
   293      },
   294      "tls": {
   295        "description": "enable tls on the podinfo service",
   296        "properties": {
   297          "certPath": {
   298            "default": "/data/cert",
   299            "description": "the path where the certificate key pair will be mounted",
   300            "type": "string"
   301          },
   302          "enabled": {
   303            "default": false,
   304            "type": "boolean"
   305          },
   306          "hostPort": {
   307            "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",
   308            "nullable": true
   309          },
   310          "port": {
   311            "default": 9899,
   312            "description": "the port used to host the tls endpoint on the service",
   313            "type": "integer"
   314          },
   315          "secretName": {
   316            "description": "the name of the secret used to mount the certificate key pair",
   317            "nullable": true
   318          }
   319        },
   320        "type": "object"
   321      },
   322      "tolerations": {
   323        "default": [],
   324        "type": "array"
   325      },
   326      "ui": {
   327        "properties": {
   328          "color": {
   329            "default": "#34577c",
   330            "type": "string"
   331          },
   332          "logo": {
   333            "default": "",
   334            "type": "string"
   335          },
   336          "message": {
   337            "default": "",
   338            "type": "string"
   339          }
   340        },
   341        "type": "object"
   342      }
   343    },
   344    "type": "object"
   345  }