Skip to content

Commit

Permalink
[stable/gripmock] fix: add var to change the service type of gripmock (
Browse files Browse the repository at this point in the history
…#531)

* fix: add var to change the service type of gripmock

* chore: bump the chart version and regenerate the chart readme
  • Loading branch information
artwo authored Sep 29, 2023
1 parent 2ba53be commit 7ad8ee2
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion stable/gripmock/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ description: |
>
> Version v1.11.1-beta release is available by overriding the `image.tag` in your `values.yaml` file. This version supports **NO** declaration of `go_package`.
type: application
version: 1.1.1
version: 1.1.2
appVersion: "1.10.1"
maintainers:
- name: MarceloAplanalp
Expand Down
3 changes: 2 additions & 1 deletion stable/gripmock/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# gripmock

![Version: 1.1.1](https://img.shields.io/badge/Version-1.1.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.10.1](https://img.shields.io/badge/AppVersion-1.10.1-informational?style=flat-square)
![Version: 1.1.2](https://img.shields.io/badge/Version-1.1.2-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.10.1](https://img.shields.io/badge/AppVersion-1.10.1-informational?style=flat-square)

A chart to install [gripmock](https://github.com/tokopedia/gripmock). A mock server for GRPC services. It uses `.proto` file(s) to generate the implementation of gRPC service(s) for you.

Expand Down Expand Up @@ -76,6 +76,7 @@ helm install my-release deliveryhero/gripmock -f values.yaml
| podAnnotations | object | `{}` | |
| replicaCount | int | `1` | Set the number of replicas in case hpa is not enabled |
| resources | object | `{}` | |
| service.type | string | `"ClusterIP"` | |
| tolerations | list | `[]` | |

## Maintainers
Expand Down
2 changes: 1 addition & 1 deletion stable/gripmock/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
labels:
{{- include "gripmock.labels" . | nindent 4 }}
spec:
type: ClusterIP
type: {{ .Values.service.type }}
ports:
- port: 4770
targetPort: 4770
Expand Down
2 changes: 2 additions & 0 deletions stable/gripmock/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ fullnameOverride: ""

podAnnotations: {}

service:
type: ClusterIP

ingress:
enabled: false
Expand Down

0 comments on commit 7ad8ee2

Please sign in to comment.