Skip to content

Commit

Permalink
variabilize nginx and nginx purge imageName in values.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
AmelieLoulergue committed Dec 19, 2024
1 parent 55f15b6 commit d3cf8d8
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion opensource/templates/nginx/nginx-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ spec:
spec:
containers:
- name: {{ .Release.Name }}-nginx
image: bitnami/nginx:latest
image: {{ .Values.mediaProvider.nginx.imageName }}
ports:
- containerPort: 8080
volumeMounts:
Expand Down
2 changes: 1 addition & 1 deletion opensource/templates/nginx/nginx-purge-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
3 changes: 3 additions & 0 deletions opensource/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit d3cf8d8

Please sign in to comment.