File tree Expand file tree Collapse file tree 4 files changed +21
-6
lines changed Expand file tree Collapse file tree 4 files changed +21
-6
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,9 @@ RUN git clone --single-branch --branch master https://github.com/di2ag/gene-spec
1313# Upgrade pip
1414RUN pip3 install --upgrade pip
1515
16+ # Upgrade pip
17+ RUN pip3 install --upgrade pip
18+
1619# install dependencies
1720COPY ./requirements.txt .
1821RUN pip3 wheel --no-cache-dir --no-deps --wheel-dir /usr/src/chp_api/wheels -r requirements.txt
@@ -48,7 +51,7 @@ ARG DEBIAN_FRONTEND=noninterative
4851# copy repo to new image
4952COPY --from=intermediate /usr/src/chp_api/wheels /wheels
5053COPY --from=intermediate /usr/src/chp_api/requirements.txt .
51- # Running this command to ensure version 1 of pydantic is being used until reasoner-pydantic is updated.
54+ # Running this command to ensure version 1 of pydantic is being used until reasoner-pydantic is updated.
5255RUN pip3 install pydantic==1.10.12
5356RUN pip3 install --no-cache /wheels/*
5457
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ type: application
1515# This is the chart version. This version number should be incremented each time you make changes
1616# to the chart and its templates, including the app version.
1717# Versions are expected to follow Semantic Versioning (https://semver.org/)
18- version : 0.1.0
18+ version : 0.1.1
1919
2020# This is the version number of the application being deployed. This version number should be
2121# incremented each time you make changes to the application. Versions are not expected to
Original file line number Diff line number Diff line change 2121 {{- toYaml .Values.podSecurityContext | nindent 8 }}
2222 containers :
2323 - name : {{ .Chart.Name }}
24+ {{- with .Values.chp_api.resources }}
25+ resources :
26+ {{- toYaml . | nindent 12 }}
27+ {{- end }}
2428 securityContext :
2529 {{- toYaml .Values.securityContext | nindent 12 }}
2630 image : " {{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
8993 - name : OTEL_EXPORTER_JAEGER_AGENT_PORT
9094 value : " {{ .Values.app.OtelExporterJaegerAgentPort }}"
9195 - name : {{ .Chart.Name }}-nginx
96+ {{- with .Values.chp_api_nginx.resources }}
97+ resources :
98+ {{- toYaml . | nindent 12 }}
99+ {{- end }}
92100 securityContext :
93101 {{- toYaml .Values.securityContextNginx | nindent 12 }}
94102 image : " {{ .Values.image.repository }}:{{ .Values.image.nginxTag | default .Chart.AppVersion }}"
@@ -102,6 +110,10 @@ spec:
102110 mountPath : /etc/nginx/conf.d/default.conf
103111 subPath : nginx.conf
104112 - name : {{ .Chart.Name }}-staticfs
113+ {{- with .Values.chp_api_staticfs.resources }}
114+ resources :
115+ {{- toYaml . | nindent 12 }}
116+ {{- end }}
105117 securityContext :
106118 {{- toYaml .Values.securityContextStaticfs | nindent 12 }}
107119 image : " {{ .Values.image.repository }}:{{ .Values.image.staticfsTag | default .Chart.AppVersion }}"
Original file line number Diff line number Diff line change @@ -80,7 +80,7 @@ ingress:
8080
8181tolerations :
8282 - key : " transltr"
83- value : " chp-api "
83+ value : " managed-app "
8484 operator : " Equal"
8585 effect : " NoSchedule"
8686
@@ -93,14 +93,14 @@ affinity:
9393 - key : app
9494 operator : In
9595 values :
96- - chp-api
96+ - managed-app
9797 topologyKey : " kubernetes.io/hostname"
98- # this ensures pod only runs on node with label application=chp-api
98+ # this ensures pod only runs on node with label application=managed-app
9999 nodeAffinity :
100100 requiredDuringSchedulingIgnoredDuringExecution :
101101 nodeSelectorTerms :
102102 - matchExpressions :
103103 - key : application
104104 operator : In
105105 values :
106- - chp-api
106+ - managed-app
You can’t perform that action at this time.
0 commit comments