feat(ingress): update ingress resources and disable local image loading

This commit is contained in:
Mint Bot committed 2025-08-05 13:37:20 +02:00
1 parent a84cb08ee1
commit 03016a2632
3 files changed
+16 -10

No files matched your search

+7 -1
View File
@@ -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 }}
+1 -1
View File
@@ -42,6 +42,6 @@ spec:
{{- if .Values.ingress.customDomain }}
- {{ .Values.ingress.customDomain }}
{{- end }}
secretName: ingress-cert
secretName: odoo-ingress-cert
{{- end }}
{{- end }}
+8 -8
View File
@@ -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 \