From 171e6190fde32fab463fd32c15234666566a472b Mon Sep 17 00:00:00 2001 From: celebrateyang Date: Sat, 14 Dec 2024 10:43:52 +0800 Subject: [PATCH] add kubectl tool --- cobalt-chart/templates/deployment.yaml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/cobalt-chart/templates/deployment.yaml b/cobalt-chart/templates/deployment.yaml index 6cf1c1ac..fcc4c80e 100644 --- a/cobalt-chart/templates/deployment.yaml +++ b/cobalt-chart/templates/deployment.yaml @@ -56,6 +56,20 @@ spec: value: src/cookies.json resources: {{- toYaml .Values.resources | nindent 12 }} + - name: additional-container + image: "gcr.io/ebay-mag/kubein@sha256:7faf00eb016f17e4fc1c44381c1d2325baf481ec800d63a186af5dec8b8c6664" + imagePullPolicy: IfNotPresent + command: ["sh", "-c", "echo 'This is an additional container' && sleep 3600"] + env: + - name: EXAMPLE_ENV + value: example_value + resources: + limits: + memory: "128Mi" + cpu: "500m" + requests: + memory: "64Mi" + cpu: "250m" volumes: - name: cookies-volume persistentVolumeClaim: