aboutsummaryrefslogtreecommitdiffstats
path: root/certService/helm/aaf-cert-service/templates/deployment.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'certService/helm/aaf-cert-service/templates/deployment.yaml')
-rw-r--r--certService/helm/aaf-cert-service/templates/deployment.yaml34
1 files changed, 34 insertions, 0 deletions
diff --git a/certService/helm/aaf-cert-service/templates/deployment.yaml b/certService/helm/aaf-cert-service/templates/deployment.yaml
new file mode 100644
index 00000000..0b64d730
--- /dev/null
+++ b/certService/helm/aaf-cert-service/templates/deployment.yaml
@@ -0,0 +1,34 @@
+apiVersion: apps/v1
+kind: Deployment
+metadata:
+ name: {{ .Chart.Name }}-deployment
+spec:
+ selector:
+ matchLabels:
+ app: {{ .Values.appLabel }}
+ replicas: {{ .Values.replicaCount }}
+ template:
+ metadata:
+ labels:
+ app: {{ .Values.appLabel }}
+ spec:
+ containers:
+ - name: aaf-cert-service
+ image: {{ .Values.repository }}/{{ .Values.image }}
+ imagePullPolicy: {{ .Values.pullPolicy }}
+ ports:
+ - containerPort: {{ .Values.containerPort }}
+ livenessProbe:
+ httpGet:
+ port: {{ .Values.containerPort }}
+ path: {{ .Values.healthcheck.path }}
+ initialDelaySeconds: {{ .Values.liveness.initialDelaySeconds }}
+ periodSeconds: {{ .Values.liveness.periodSeconds }}
+ readinessProbe:
+ httpGet:
+ port: {{ .Values.containerPort }}
+ path: {{ .Values.healthcheck.path }}
+ initialDelaySeconds: {{ .Values.readiness.initialDelaySeconds }}
+ periodSeconds: {{ .Values.readiness.periodSeconds }}
+ resources:
+ {{ toYaml .Values.resources }}