From 111e24e39b113479e7ede71999c3d9039d734dbe Mon Sep 17 00:00:00 2001 From: Denis Pudov Date: Tue, 9 Jul 2024 17:24:29 +0300 Subject: [PATCH] fix(helm-chart): adjust to entrypoint within dockerfile Signed-off-by: Fred Heinecke --- examples/chart/event-handler/templates/deployment.yaml | 2 +- .../tests/__snapshot__/deployment_test.yaml.snap | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/chart/event-handler/templates/deployment.yaml b/examples/chart/event-handler/templates/deployment.yaml index 2cc2b8bc705cf..368b0015ab7a1 100644 --- a/examples/chart/event-handler/templates/deployment.yaml +++ b/examples/chart/event-handler/templates/deployment.yaml @@ -35,7 +35,7 @@ spec: image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}" imagePullPolicy: {{ .Values.image.pullPolicy }} command: - - /usr/local/bin/teleport-event-handler + - /usr/local/bin/teleport-plugin - start - "--config" - "/etc/teleport-event-handler.toml" diff --git a/examples/chart/event-handler/tests/__snapshot__/deployment_test.yaml.snap b/examples/chart/event-handler/tests/__snapshot__/deployment_test.yaml.snap index 40822ff6114f3..d7a6dc7a36b7a 100644 --- a/examples/chart/event-handler/tests/__snapshot__/deployment_test.yaml.snap +++ b/examples/chart/event-handler/tests/__snapshot__/deployment_test.yaml.snap @@ -24,7 +24,7 @@ should match the snapshot: spec: containers: - command: - - /usr/local/bin/teleport-event-handler + - /usr/local/bin/teleport-plugin - start - --config - /etc/teleport-event-handler.toml @@ -73,7 +73,7 @@ should mount tls.existingCASecretName and set environment when set in values: 1: | containers: - command: - - /usr/local/bin/teleport-event-handler + - /usr/local/bin/teleport-plugin - start - --config - /etc/teleport-event-handler.toml