Skip to content

Commit

Permalink
add debug port to activiti
Browse files Browse the repository at this point in the history
  • Loading branch information
hechmi-dammak-xenit committed Sep 10, 2024
1 parent 09fe1d9 commit a65a335
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 6 deletions.
4 changes: 4 additions & 0 deletions xenit-aps/templates/activiti/activiti-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,10 @@ spec:
ports:
- containerPort: 8080
protocol: TCP
{{- if .Values.activiti.debug }}
- containerPort: 8000
protocol: TCP
{{- end }}
{{- if .Values.activiti.resources }}
resources:
{{ toYaml .Values.activiti.resources | nindent 12 }}
Expand Down
8 changes: 4 additions & 4 deletions xenit-aps/templates/ingress/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ spec:
# Provide a unique secret to store the SSL credentials
secretName: tls-activiti-{{ .Release.Name }}-secret
{{- end }}
{{- if not .Values.ingress.defaultBackend.mapToRootOnly }}
{{- if .Values.ingress.defaultBackend }}
defaultBackend:
service:
name: {{ .Values.ingress.defaultBackend.service }}
Expand All @@ -28,14 +28,14 @@ spec:
- host: {{ required "A host where your activiti services can be reached on must be specified in values.ingress.host" .Values.ingress.host }}
http:
paths:
{{- if .Values.ingress.defaultBackend }}
{{- if .Values.ingress.defaultPath }}
- path: /
pathType: Prefix
backend:
service:
name: {{ .Values.ingress.defaultBackend.service }}
name: {{ .Values.ingress.defaultPath.service }}
port:
number: {{ .Values.ingress.defaultBackend.port }}
number: {{ .Values.ingress.defaultPath.port }}
{{- end }}
{{- if .Values.activiti.ingress.enabled }}
- path: /activiti-app
Expand Down
4 changes: 2 additions & 2 deletions xenit-aps/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,14 +42,14 @@ ingress:
protocol: 'http'
ingressAnnotations:
kubernetes.io/ingress.class: "nginx"
defaultBackend:
mapToRootOnly: true
defaultPath:
service: nginx-default-service
port: 30403
blockedPaths:
enabled: false

activiti:
debug: false
license:
enabled: false
path: /home/alfresco/.activiti/enterprise-license/activiti.lic
Expand Down

0 comments on commit a65a335

Please sign in to comment.