diff --git a/xenit-aps/templates/activiti/activiti-deployment.yaml b/xenit-aps/templates/activiti/activiti-deployment.yaml index 711de2d..0ef7a7e 100644 --- a/xenit-aps/templates/activiti/activiti-deployment.yaml +++ b/xenit-aps/templates/activiti/activiti-deployment.yaml @@ -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 }} diff --git a/xenit-aps/templates/ingress/ingress.yaml b/xenit-aps/templates/ingress/ingress.yaml index 804694b..71e41e2 100644 --- a/xenit-aps/templates/ingress/ingress.yaml +++ b/xenit-aps/templates/ingress/ingress.yaml @@ -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 }} @@ -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 diff --git a/xenit-aps/values.yaml b/xenit-aps/values.yaml index c8809be..100aec2 100644 --- a/xenit-aps/values.yaml +++ b/xenit-aps/values.yaml @@ -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