Skip to content

Commit

Permalink
fix: be more forgiving on the longpolling implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
theangryangel committed Jan 15, 2023
1 parent e08d7fe commit 2173e34
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion charts/odoo/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ maintainers:
# YYYYMMVERSION (i.e. 20220701 for the 1st version in July 2022, 20220702 for
# the 2nd in July 2022, 20220801 for the 1st version in August 2022, etc.)
# as the patch part of the version string.
version: 1.0.20230101
version: 1.0.20230102
2 changes: 1 addition & 1 deletion charts/odoo/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

An opinionated "Bring Your Own Image" Doodba (Odoo) Helm chart for Kubernetes

![Version: 1.0.20230101](https://img.shields.io/badge/Version-1.0.20230101-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square)
![Version: 1.0.20230102](https://img.shields.io/badge/Version-1.0.20230102-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square)

Opinionated odoo Bring Your Own Image chart designed for running [Doodba](https://github.com/Tecnativa/doodba) based Odoo deployments with Glodo defaults.

Expand Down
2 changes: 1 addition & 1 deletion charts/odoo/templates/longpolling/deployment.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{{- if and .Values.web.enabled .Values.longpolling.enabled -}}
{{- if and .Values.web.enabled .Values.longpolling .Values.longpolling.enabled -}}
apiVersion: apps/v1
kind: Deployment
metadata:
Expand Down
2 changes: 1 addition & 1 deletion charts/odoo/templates/longpolling/service.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{{- if and .Values.web.enabled .Values.longpolling.enabled }}
{{- if and .Values.web.enabled .Values.longpolling .Values.longpolling.enabled }}
apiVersion: v1
kind: Service
metadata:
Expand Down
2 changes: 1 addition & 1 deletion charts/odoo/templates/web/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ spec:

- backend:
service:
{{- if .Values.longpolling.enabled }}
{{- if and .Values.longpolling .Values.longpolling.enabled }}
name: {{ include "odoo.longpolling.fullname" . }}
{{- else }}
name: {{ $fullname }}
Expand Down
2 changes: 1 addition & 1 deletion charts/odoo/templates/web/ingressroute.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ spec:
namespace: {{ .Release.Namespace }}
{{- end }}
services:
{{- if .Values.longpolling.enabled }}
{{- if and .Values.longpolling .Values.longpolling.enabled }}
- name: {{ include "odoo.longpolling.fullname" . }}
port: 8072
{{- else }}
Expand Down

0 comments on commit 2173e34

Please sign in to comment.