Skip to content
Snippets Groups Projects
Commit 7fb3ea32 authored by Dominik Hebeler's avatar Dominik Hebeler
Browse files

fix used images

parent 7f5951eb
No related branches found
No related tags found
No related merge requests found
......@@ -96,4 +96,4 @@ deploy:
before_script:
- kubectl config use-context $CI_PROJECT_NAMESPACE/$CI_PROJECT_NAME:maps-deployment
script:
- helm -n $KUBE_NAMESPACE upgrade --install $DEPLOYMENT_CHART_NAME maps/
- helm -n $KUBE_NAMESPACE upgrade --install $DEPLOYMENT_CHART_NAME maps/ --set nginx.image.repository=$CI_REGISTRY_IMAGE/nginx --set nginx.image.tag=$IMAGE_TAG --set fpm.image.repository=$CI_REGISTRY_IMAGE/fpm --set fpm.image.tag=$IMAGE_TAG
......@@ -34,7 +34,7 @@ spec:
- name: fpm
securityContext:
{{- toYaml .Values.securityContext | nindent 12 }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
image: "{{ .Values.fpm.image.repository }}:{{ .Values.fpm.image.tag | default .Chart.AppVersion }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
ports:
- name: fpm
......@@ -55,7 +55,7 @@ spec:
- name: nginx
securityContext:
{{- toYaml .Values.securityContext | nindent 12 }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
image: "{{ .Values.nginx.image.repository }}:{{ .Values.nginx.image.tag | default .Chart.AppVersion }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
ports:
- name: http
......@@ -71,7 +71,7 @@ spec:
port: http
resources:
{{- toYaml .Values.resources | nindent 12 }}
{{- with .Values.fpm.volumeMounts }}
{{- with .Values.nginx.volumeMounts }}
volumeMounts:
{{- toYaml . | nindent 12 }}
{{- end }}
......
......@@ -4,12 +4,6 @@
replicaCount: 1
image:
repository: nginx
pullPolicy: IfNotPresent
# Overrides the image tag whose default is the chart appVersion.
tag: ""
imagePullSecrets: []
nameOverride: ""
fullnameOverride: ""
......@@ -87,6 +81,19 @@ volumes: []
fpm:
volumeMounts: []
image:
repository: nginx
pullPolicy: IfNotPresent
# Overrides the image tag whose default is the chart appVersion.
tag: ""
nginx:
volumeMounts: []
image:
repository: nginx
pullPolicy: IfNotPresent
# Overrides the image tag whose default is the chart appVersion.
tag: ""
nodeSelector: {}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment