Skip to content

Commit

Permalink
Merge pull request #83 from xenit-eu/XM2C-127
Browse files Browse the repository at this point in the history
 XM2C-127 make default backend in ingress in helm alfresco settable by values
  • Loading branch information
hechmi-dammak-xenit authored Aug 10, 2023
2 parents 2f6fb50 + d082798 commit 6103864
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 5 deletions.
15 changes: 13 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -265,12 +265,23 @@ For more information take a look at
backend:
service:
name: service-name
port:
number: service-port
port:
number: service-port
```

* Description: used to add more path to ingress under the same host name for new services

#### `ingress.defaultBackend.service`

* Required: true
* Default: acs-service
* Description: the default service name that ingress will point to

#### `ingress.defaultBackend.port`

* Required: true
* Default: 30000
* Description: the default service port that ingress will point to
### ACS

#### `acs.replicas`
Expand Down
4 changes: 2 additions & 2 deletions xenit-alfresco/templates/ingress/alfresco-ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ spec:
{{- end }}
defaultBackend:
service:
name: acs-service
name: {{ .Values.ingress.defaultBackend.service }}
port:
number: 30000
number: {{ .Values.ingress.defaultBackend.port }}
rules:
- host: {{ required "A host where your alfresco services can be reached on must be specified in values.ingress.host" .Values.ingress.host }}
http:
Expand Down
4 changes: 3 additions & 1 deletion xenit-alfresco/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@ ingress:
ingressAnnotations:
kubernetes.io/ingress.class: "nginx"
cert-manager.io/cluster-issuer: "letsencrypt-production"

defaultBackend:
service: acs-service
port: 30000
acs:
replicas: 1
image:
Expand Down

0 comments on commit 6103864

Please sign in to comment.