Skip to content

Commit 567e0e4

Browse files
authored
Merge pull request #182 from xenit-eu/NYS2AWS-147-nginx-custom-image-support
[NYS2AWS-147] added support for custom NGINX image
2 parents e6e2c3c + eca8bcf commit 567e0e4

File tree

4 files changed

+29
-2
lines changed

4 files changed

+29
-2
lines changed

CHANGELOG.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,11 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
chronology things are added/fixed/changed and - where possible - links to the PRs involved.
77

88
### Changes
9+
[v0.8.13]
10+
* Added support for custom NGINX container image.
11+
912
[v0.8.12]
10-
* Added support for custom ActiveMQ init. container images.
13+
* Added support for custom ActiveMQ init. container image.
1114

1215
[v0.8.11]
1316
* uncouple port for inbound email on acs pod and acs service

README.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -277,6 +277,25 @@ nginx rules to redirect the normal pages to a 503 maintenance page.
277277
This property adds the `cert-manager.io/cluster-issuer` annotation to the ingress.
278278
If you don't want a certificate, set this to an empty string.
279279
280+
### `ingress.nginx.image.registry`
281+
282+
* Required: false
283+
* Default: `docker.io`
284+
* Description: The registry where the docker container can be found in
285+
286+
287+
### `ingress.nginx.image.repository`
288+
289+
* Required: false
290+
* Default: `nginx`
291+
* Description: The repository of the docker image that will be used
292+
293+
### `ingress.nginx.image.tag`
294+
295+
* Required: false
296+
* Default: `alpine`
297+
* Description: The tag of the docker image that will be used
298+
280299
#### `ingress.ingressAnnotations`
281300
282301
* Required: false

xenit-alfresco/templates/ingress/nginx-default-deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ spec:
2121
spec:
2222
containers:
2323
- name: nginx
24-
image: nginx:alpine
24+
image: {{ .Values.ingress.nginx.image.registry }}/{{ .Values.ingress.nginx.image.repository }}:{{ .Values.ingress.nginx.image.tag }}
2525
ports:
2626
- containerPort: 80
2727
volumeMounts:

xenit-alfresco/values.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,11 @@ ingress:
2424
clusterIssuer: "letsencrypt-production"
2525
ingressClass: "nginx"
2626
protocol: 'https'
27+
nginx:
28+
image:
29+
registry: 'docker.io'
30+
repository: 'nginx'
31+
tag: 'alpine'
2732
ingressAnnotations:
2833
kubernetes.io/ingress.class: "nginx"
2934
defaultPath:

0 commit comments

Comments
 (0)