From 5bc74d2aef0fe660cfd22396cbc242b2d3db48d4 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 21 Feb 2023 01:12:32 +0000 Subject: [PATCH 1/2] build(deps): bump maven-enforcer-plugin from 3.1.0 to 3.2.1 Bumps [maven-enforcer-plugin](https://github.com/apache/maven-enforcer) from 3.1.0 to 3.2.1. - [Release notes](https://github.com/apache/maven-enforcer/releases) - [Commits](https://github.com/apache/maven-enforcer/compare/enforcer-3.1.0...enforcer-3.2.1) --- updated-dependencies: - dependency-name: org.apache.maven.plugins:maven-enforcer-plugin dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 77c29280e..05d663ac9 100644 --- a/pom.xml +++ b/pom.xml @@ -891,7 +891,7 @@ org.apache.maven.plugins maven-enforcer-plugin - 3.1.0 + 3.2.1 From 05c3e597f5d61d3f3157d939661c13c8d3cfe624 Mon Sep 17 00:00:00 2001 From: Andrey Gavrilin Date: Thu, 12 Sep 2024 12:48:39 +0200 Subject: [PATCH 2/2] httpGet liveness and readiness probes in helm-chart deployment --- helm/mockserver-config/Chart.yaml | 4 ++-- helm/mockserver/Chart.yaml | 4 ++-- helm/mockserver/templates/deployment.yaml | 6 ++++-- helm/mockserver/templates/service-test.yaml | 17 ----------------- helm/mockserver/values.yaml | 2 -- 5 files changed, 8 insertions(+), 25 deletions(-) delete mode 100644 helm/mockserver/templates/service-test.yaml diff --git a/helm/mockserver-config/Chart.yaml b/helm/mockserver-config/Chart.yaml index 4b60c2ca5..d5b40a0e7 100644 --- a/helm/mockserver-config/Chart.yaml +++ b/helm/mockserver-config/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v1 name: mockserver-config -version: "5.15.0" -appVersion: "5.15.0" +version: "5.15.1" +appVersion: "5.15.1" description: Chart to provide config to MockServer keywords: - mocking diff --git a/helm/mockserver/Chart.yaml b/helm/mockserver/Chart.yaml index dc57aef87..bf2b85756 100644 --- a/helm/mockserver/Chart.yaml +++ b/helm/mockserver/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v1 name: mockserver -version: "5.15.0" -appVersion: "5.15.0" +version: "5.15.1" +appVersion: "5.15.1" description: Chart to deploy MockServer to Kubernetes. MockServer enables easy mocking of any system you integrate with via HTTP or HTTPS with clients written in Java, JavaScript and Ruby. MockServer also includes a proxy that introspects all proxied traffic including encrypted SSL traffic and supports Port Forwarding, Web Proxying (i.e. HTTP proxy), HTTPS Tunneling Proxying (using HTTP CONNECT) and SOCKS Proxying (i.e. dynamic port forwarding). keywords: - mocking diff --git a/helm/mockserver/templates/deployment.yaml b/helm/mockserver/templates/deployment.yaml index ef4e766f0..3a891a69d 100644 --- a/helm/mockserver/templates/deployment.yaml +++ b/helm/mockserver/templates/deployment.yaml @@ -45,14 +45,16 @@ spec: containerPort: {{ .Values.app.serverPort }} protocol: TCP readinessProbe: - tcpSocket: + httpGet: + path: /status port: serviceport initialDelaySeconds: 2 periodSeconds: 2 successThreshold: 1 failureThreshold: 10 livenessProbe: - tcpSocket: + httpGet: + path: /status port: serviceport initialDelaySeconds: 10 periodSeconds: 5 diff --git a/helm/mockserver/templates/service-test.yaml b/helm/mockserver/templates/service-test.yaml deleted file mode 100644 index 59276fdc6..000000000 --- a/helm/mockserver/templates/service-test.yaml +++ /dev/null @@ -1,17 +0,0 @@ -apiVersion: v1 -kind: Pod -metadata: - name: "{{ template "release.name" . }}-service-test" - labels: - app: {{ template "chart.name" . }} - release: {{ .Release.Name }} - chart: {{ template "chart.name_version" . }} - annotations: - "helm.sh/hook": test-success -spec: - containers: - - name: curl - image: {{ .Values.service.test.image}} - command: ['curl'] - args: ['-v', '-s', '-X', 'PUT', '{{ template "release.name" . }}:{{ .Values.service.port }}/status'] - restartPolicy: Never diff --git a/helm/mockserver/values.yaml b/helm/mockserver/values.yaml index 89213319c..99fed6de5 100644 --- a/helm/mockserver/values.yaml +++ b/helm/mockserver/values.yaml @@ -26,8 +26,6 @@ service: type: NodePort port: 1080 nodePort: "" - test: - image: radial/busyboxplus:curl ingress: enabled: false