diff --git a/hugo/templates/hugo-ingress.yaml b/hugo/templates/hugo-ingress.yaml index af03ed2..3290409 100644 --- a/hugo/templates/hugo-ingress.yaml +++ b/hugo/templates/hugo-ingress.yaml @@ -2,7 +2,7 @@ apiVersion: networking.k8s.io/v1 kind: Ingress metadata: - name: odoo-ingress + name: hugo-ingress annotations: {{- if .Values.ingress.clusterIssuerRef }} cert-manager.io/cluster-issuer: {{ .Values.ingress.clusterIssuerRef }} @@ -23,4 +23,10 @@ spec: name: hugo port: number: 1313 + {{- if .Values.ingress.clusterIssuerRef }} + tls: + - hosts: + - {{.Values.ingress.host }} + secretName: hugo-ingress-cert + {{- end }} {{- end }} diff --git a/odoo/templates/odoo-ingress.yaml b/odoo/templates/odoo-ingress.yaml index b75c73d..b627d13 100644 --- a/odoo/templates/odoo-ingress.yaml +++ b/odoo/templates/odoo-ingress.yaml @@ -42,6 +42,6 @@ spec: {{- if .Values.ingress.customDomain }} - {{ .Values.ingress.customDomain }} {{- end }} - secretName: ingress-cert + secretName: odoo-ingress-cert {{- end }} {{- end }} diff --git a/task b/task index 3e6d78f..de8054f 100755 --- a/task +++ b/task @@ -369,10 +369,10 @@ function install-chart() { } function install-hugo() { - if docker images -q "janikvonrotz/janikvonrotz.ch:latest" > /dev/null; then - echo "Load local Hugo image." - kind load docker-image "janikvonrotz/janikvonrotz.ch:latest" - fi + # if docker images -q "janikvonrotz/janikvonrotz.ch:latest" > /dev/null; then + # echo "Load local Hugo image." + # kind load docker-image "janikvonrotz/janikvonrotz.ch:latest" + # fi echo "Install hugo chart as release $RELEASE_NAME." helm install "$RELEASE_NAME" hugo \ @@ -380,10 +380,10 @@ function install-hugo() { } function install-odoo() { - if docker images -q "mintsystem/odoo:18.0.20250725" > /dev/null; then - echo "Load local Odoo image." - kind load docker-image "mintsystem/odoo:18.0.20250725" - fi + # if docker images -q "mintsystem/odoo:18.0.20250725" > /dev/null; then + # echo "Load local Odoo image." + # kind load docker-image "mintsystem/odoo:18.0.20250725" + # fi echo "Install odoo chart as release $RELEASE_NAME." helm install "$RELEASE_NAME" odoo \