From 0b9bbde4c6fdd491d741557d2fdbbf5c8434fb27 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patryk=20Ma=C5=82ek?= Date: Mon, 23 Dec 2024 15:32:28 +0100 Subject: [PATCH] ci: run kube-linter for all charts (#1202) --- Makefile | 8 ++++---- charts/gateway-operator/templates/deployment.yaml | 4 ++++ 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 9d3f49739..93234e64f 100644 --- a/Makefile +++ b/Makefile @@ -42,11 +42,11 @@ shellcheck: mise tools: kube-linter chartsnap shellcheck .PHONY: lint -lint: tools lint.charts.kong lint.shellcheck +lint: tools lint.charts lint.shellcheck -.PHONY: lint.charts.kong -lint.charts.kong: - $(KUBE_LINTER) lint charts/kong +.PHONY: lint.charts +lint.charts: + $(KUBE_LINTER) lint charts/ .PHONY: lint.shellcheck lint.shellcheck: shellcheck diff --git a/charts/gateway-operator/templates/deployment.yaml b/charts/gateway-operator/templates/deployment.yaml index 9a5013c75..0466ec977 100644 --- a/charts/gateway-operator/templates/deployment.yaml +++ b/charts/gateway-operator/templates/deployment.yaml @@ -69,6 +69,10 @@ spec: capabilities: drop: - ALL + ports: + - containerPort: 8081 + name: probe + protocol: TCP volumeMounts: {{- include "kong.volumeMounts" . | nindent 8 }} - args: