From 116695d8d5d4cc43aed9431f685441d23fb1070d Mon Sep 17 00:00:00 2001 From: Barahalikar Siddharth Date: Fri, 10 Jun 2022 00:53:52 +0530 Subject: [PATCH] Create deployment.yaml --- helm-chart/templates/deployment.yaml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 helm-chart/templates/deployment.yaml diff --git a/helm-chart/templates/deployment.yaml b/helm-chart/templates/deployment.yaml new file mode 100644 index 0000000..5ea949b --- /dev/null +++ b/helm-chart/templates/deployment.yaml @@ -0,0 +1,24 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + name: {{ .Release.Name }}-helm + labels: + {{- include "random-shapes.labels" . | nindent 4 }} +spec: + replicas: {{ .Values.replicaCount }} + selector: + matchLabels: + {{- include "random-shapes.selectorLabels" . | nindent 6 }} + template: + metadata: + {{- with .Values.podAnnotations }} + annotations: + {{- toYaml . | nindent 8 }} + {{- end }} + labels: + {{- include "random-shapes.selectorLabels" . | nindent 8 }} + spec: + containers: + - name: {{ .Chart.Name }} + image: "{{ .Values.image.repository }}" + imagePullPolicy: {{ .Values.image.pullPolicy }}