rancher-partner-charts/charts/kubecost/cost-analyzer/1.70.0/templates/awsstore-deployment-templat...

26 lines
603 B
YAML

{{- if .Values.awsstore }}
apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ template "cost-analyzer.fullname" . }}-awsstore
labels:
{{ include "cost-analyzer.commonLabels" . | nindent 4 }}
spec:
selector:
matchLabels:
app: awsstore
strategy:
rollingUpdate:
maxSurge: 1
maxUnavailable: 1
type: RollingUpdate
template:
metadata:
labels:
app: awsstore
spec:
serviceAccountName: awsstore-serviceaccount
containers:
- image: {{ .Values.awsstore.imageNameAndVersion }}
name: awsstore
{{- end }}