Files
gitops-argocd/helm-chart/templates/deployment.yaml
Barahalikar Siddharth 116695d8d5 Create deployment.yaml
2022-06-10 00:53:52 +05:30

25 lines
677 B
YAML

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 }}