Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XM2C-127 make default backend in ingress in helm alfresco settable by values #83

Merged
merged 1 commit into from
Aug 10, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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