about summary refs log tree commit diff
path: root/k8s/rest-api/templates/deployment.yaml
diff options
context:
space:
mode:
authorBaitinq <manuelpalenzuelamerino@gmail.com>2024-05-25 00:33:29 +0200
committerBaitinq <manuelpalenzuelamerino@gmail.com>2024-05-25 00:45:24 +0200
commit5fc94dd8904ee9e5027ef97c82bb8dedc876d6ea (patch)
tree1d4e455b52c2fd6551d53b28372c595193e9da3a /k8s/rest-api/templates/deployment.yaml
parentcleanup (diff)
downloadfs-tracer-backend-5fc94dd8904ee9e5027ef97c82bb8dedc876d6ea.tar.gz
fs-tracer-backend-5fc94dd8904ee9e5027ef97c82bb8dedc876d6ea.tar.bz2
fs-tracer-backend-5fc94dd8904ee9e5027ef97c82bb8dedc876d6ea.zip
rest-api: deploy with bazel
Diffstat (limited to 'k8s/rest-api/templates/deployment.yaml')
-rw-r--r--k8s/rest-api/templates/deployment.yaml5
1 files changed, 1 insertions, 4 deletions
diff --git a/k8s/rest-api/templates/deployment.yaml b/k8s/rest-api/templates/deployment.yaml
index 5951f59..f2b15d8 100644
--- a/k8s/rest-api/templates/deployment.yaml
+++ b/k8s/rest-api/templates/deployment.yaml
@@ -5,9 +5,7 @@ metadata:
   labels:
     {{- include "rest-api.labels" . | nindent 4 }}
 spec:
-  {{- if not .Values.autoscaling.enabled }}
   replicas: {{ .Values.replicaCount }}
-  {{- end }}
   selector:
     matchLabels:
       {{- include "rest-api.selectorLabels" . | nindent 6 }}
@@ -24,14 +22,13 @@ spec:
       imagePullSecrets:
         {{- toYaml . | nindent 8 }}
       {{- end }}
-      serviceAccountName: {{ include "rest-api.serviceAccountName" . }}
       securityContext:
         {{- toYaml .Values.podSecurityContext | nindent 8 }}
       containers:
         - name: {{ .Chart.Name }}
           securityContext:
             {{- toYaml .Values.securityContext | nindent 12 }}
-          image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
+          image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
           imagePullPolicy: {{ .Values.image.pullPolicy }}
           ports:
             - name: http