Skip to content

Commit

Permalink
XM2C-127 make default backend in ingress in helm alfresco settable b…
Browse files Browse the repository at this point in the history
…y values
  • Loading branch information
hechmi-dammak-xenit committed Aug 10, 2023
1 parent 2f6fb50 commit d082798
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 d082798

Please sign in to comment.