diff --git a/opensource/templates/nginx/nginx-deployment.yaml b/opensource/templates/nginx/nginx-deployment.yaml index 8482f85..0e26d0d 100644 --- a/opensource/templates/nginx/nginx-deployment.yaml +++ b/opensource/templates/nginx/nginx-deployment.yaml @@ -16,7 +16,7 @@ spec: spec: containers: - name: {{ .Release.Name }}-nginx - image: bitnami/nginx:latest + image: {{ .Values.mediaProvider.nginx.imageName }} ports: - containerPort: 8080 volumeMounts: diff --git a/opensource/templates/nginx/nginx-purge-deployment.yaml b/opensource/templates/nginx/nginx-purge-deployment.yaml index 68a7987..1277f22 100644 --- a/opensource/templates/nginx/nginx-purge-deployment.yaml +++ b/opensource/templates/nginx/nginx-purge-deployment.yaml @@ -16,7 +16,7 @@ spec: spec: containers: - name: {{ .Release.Name }}-nginx-purge - image: emcniece/nginx-cache-purge:1.13-alpine + image: {{.Values.mediaProvider.nginxPurge.imageName}} ports: - containerPort: 8081 volumeMounts: diff --git a/opensource/values.yaml b/opensource/values.yaml index 998da91..d3e291b 100644 --- a/opensource/values.yaml +++ b/opensource/values.yaml @@ -50,7 +50,10 @@ mediaProvider: pvPathImage: '/images' service: 'http://media-service' nginx: + imageName: bitnami/nginx:latest service: 'http://nginx' + nginxPurge: + imageName: emcniece/nginx-cache-purge:1.13-alpine thumbor: service: 'http://thumbor-service' routes: