From 7ad8ee22e646b59d27e352584a669079b032fb04 Mon Sep 17 00:00:00 2001 From: "Arturo A. Rivera Lopez" Date: Fri, 29 Sep 2023 13:10:44 +0000 Subject: [PATCH] [stable/gripmock] fix: add var to change the service type of gripmock (#531) * fix: add var to change the service type of gripmock * chore: bump the chart version and regenerate the chart readme --- stable/gripmock/Chart.yaml | 2 +- stable/gripmock/README.md | 3 ++- stable/gripmock/templates/service.yaml | 2 +- stable/gripmock/values.yaml | 2 ++ 4 files changed, 6 insertions(+), 3 deletions(-) diff --git a/stable/gripmock/Chart.yaml b/stable/gripmock/Chart.yaml index 277568ac..aaa19734 100644 --- a/stable/gripmock/Chart.yaml +++ b/stable/gripmock/Chart.yaml @@ -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 diff --git a/stable/gripmock/README.md b/stable/gripmock/README.md index 984aa3ca..cae19506 100644 --- a/stable/gripmock/README.md +++ b/stable/gripmock/README.md @@ -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. @@ -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 diff --git a/stable/gripmock/templates/service.yaml b/stable/gripmock/templates/service.yaml index 26ceb4c8..a641f7ca 100644 --- a/stable/gripmock/templates/service.yaml +++ b/stable/gripmock/templates/service.yaml @@ -5,7 +5,7 @@ metadata: labels: {{- include "gripmock.labels" . | nindent 4 }} spec: - type: ClusterIP + type: {{ .Values.service.type }} ports: - port: 4770 targetPort: 4770 diff --git a/stable/gripmock/values.yaml b/stable/gripmock/values.yaml index 7ac4d47c..04fee15d 100644 --- a/stable/gripmock/values.yaml +++ b/stable/gripmock/values.yaml @@ -33,6 +33,8 @@ fullnameOverride: "" podAnnotations: {} +service: + type: ClusterIP ingress: enabled: false