summaryrefslogtreecommitdiffstats
path: root/certService/helm/aaf-cert-service/templates
diff options
context:
space:
mode:
Diffstat (limited to 'certService/helm/aaf-cert-service/templates')
-rw-r--r--certService/helm/aaf-cert-service/templates/deployment.yaml34
-rw-r--r--certService/helm/aaf-cert-service/templates/service.yaml11
2 files changed, 45 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 }}
diff --git a/certService/helm/aaf-cert-service/templates/service.yaml b/certService/helm/aaf-cert-service/templates/service.yaml
new file mode 100644
index 00000000..fba7e5fa
--- /dev/null
+++ b/certService/helm/aaf-cert-service/templates/service.yaml
@@ -0,0 +1,11 @@
+apiVersion: v1
+kind: Service
+metadata:
+ name: {{ .Chart.Name }}-service
+spec:
+ type: {{ .Values.service.type }}
+ selector:
+ app: {{ .Values.appLabel }}
+ ports:
+ - protocol: TCP
+ port: {{ .Values.containerPort }} \ No newline at end of file