A chart to install gripmock. A mock server for GRPC services. It uses .proto file(s) to generate the implementation of gRPC service(s) for you.
Note:
The latest version (v1.10 - default) of gripmock is requiring
go_packagedeclaration in the.protofile. This is due to the latest update ofprotocplugin that is used by gripmock is making thego_packagedeclaration mandatory.Version v1.11.1-beta release is available by overriding the
image.tagin yourvalues.yamlfile. This version supports NO declaration ofgo_package.
A simple install with default values, latest chart version and generated name:
helm install --generate-name oci://ghcr.io/deliveryhero/helm-charts/gripmockTo install a specific version of this chart:
helm install --generate-name oci://ghcr.io/deliveryhero/helm-charts/gripmock --version 1.1.3To install the chart with the release name my-release:
helm install my-release oci://ghcr.io/deliveryhero/helm-charts/gripmockTo install with some set values:
helm install my-release oci://ghcr.io/deliveryhero/helm-charts/gripmock --set values_key1=value1 --set values_key2=value2To install with custom values file:
helm install my-release oci://ghcr.io/deliveryhero/helm-charts/gripmock -f values.yaml| Key | Type | Default | Description |
|---|---|---|---|
| affinity | object | {} |
|
| fullnameOverride | string | "" |
|
| gripmock.mock | list | ["hello_service.proto"] |
A list of .proto files that will be mocked based on the stubs. |
| gripmock.proto.configmap | string | "example-protos" |
The name of the configmap containing all your .proto files |
| gripmock.proto.path | string | "/proto" |
The path where your configmap containing the proto files will be mounted |
| gripmock.stubs.configmap | string | "example-stubs" |
The name of the configmap containing all the response definitions |
| gripmock.stubs.path | string | "/stubs" |
The path where your stubs configmap will be mounted |
| hpa.enabled | bool | false |
|
| hpa.maxReplicas | int | 100 |
|
| hpa.minReplicas | int | 1 |
|
| hpa.targetCPUUtilizationPercentage | int | 80 |
|
| image.pullPolicy | string | "IfNotPresent" |
|
| image.tag | string | "1.10.1" |
Overrides the image tag whose default is the chart appVersion. |
| ingress.annotations | object | {} |
|
| ingress.className | string | "" |
|
| ingress.enabled | bool | false |
|
| ingress.hosts[0].host | string | "chart-example.local" |
|
| ingress.hosts[0].paths[0].path | string | "/" |
|
| ingress.hosts[0].paths[0].pathType | string | "ImplementationSpecific" |
|
| ingress.hosts[0].paths[0].port | int | 4770 |
|
| ingress.hosts[0].paths[1].path | string | "/" |
|
| ingress.hosts[0].paths[1].pathType | string | "ImplementationSpecific" |
|
| ingress.hosts[0].paths[1].port | int | 4471 |
|
| ingress.tls | list | [] |
|
| labels | object | {} |
Any extra label to apply to all resources |
| nameOverride | string | "" |
|
| nodeSelector | object | {} |
|
| podAnnotations | object | {} |
|
| replicaCount | int | 1 |
Set the number of replicas in case hpa is not enabled |
| resources | object | {} |
|
| service.type | string | "ClusterIP" |
|
| tolerations | list | [] |
| Name | Url | |
|---|---|---|
| MarceloAplanalp | marcelo.aplanalp@deliveryhero.com |
Chart source: github.com/deliveryhero/helm-charts/gripmock
Older chart versions: github.com/deliveryhero/helm-charts/pkgs/container/helm-charts/gripmock