diff --git a/charts/phpipam/Chart.yaml b/charts/phpipam/Chart.yaml index 698b6da..7b83cfe 100644 --- a/charts/phpipam/Chart.yaml +++ b/charts/phpipam/Chart.yaml @@ -5,5 +5,5 @@ name: phpipam home: https://phpipam.net sources: - https://github.com/dreamcommerce/phpipam-helm -version: 1.0.5 +version: 1.0.6 type: application diff --git a/charts/phpipam/README.md b/charts/phpipam/README.md index 734f9e8..2352560 100644 --- a/charts/phpipam/README.md +++ b/charts/phpipam/README.md @@ -1,6 +1,6 @@ # phpipam -![Version: 1.0.5](https://img.shields.io/badge/Version-1.0.5-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.7.3](https://img.shields.io/badge/AppVersion-1.7.3-informational?style=flat-square) +![Version: 1.0.6](https://img.shields.io/badge/Version-1.0.6-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.7.3](https://img.shields.io/badge/AppVersion-1.7.3-informational?style=flat-square) phpipam is an open-source web IP address management application (IPAM) diff --git a/charts/phpipam/templates/ingress.yaml b/charts/phpipam/templates/ingress.yaml index 67062e8..4544767 100644 --- a/charts/phpipam/templates/ingress.yaml +++ b/charts/phpipam/templates/ingress.yaml @@ -9,17 +9,13 @@ metadata: {{ toYaml .Values.ingress.annotations | nindent 4 }} {{ end }} spec: + {{- if .Values.ingress.tls }} tls: - {{- if .Values.ingress.tls }} {{- toYaml .Values.ingress.tls | nindent 4 }} - {{- else }} - - hosts: - {{- range .Values.ingress.hosts }} - - {{ .host }} - {{- end }} - secretName: "{{ .Release.Name }}-{{ .Chart.Name }}-cert" {{- end }} + {{- if .Values.ingress.className }} ingressClassName: {{ .Values.ingress.className }} + {{- end }} rules: {{- range .Values.ingress.hosts }} - host: {{ .host }} diff --git a/charts/phpipam/templates/pvc.yaml b/charts/phpipam/templates/pvc.yaml index 7614b09..6ce7f27 100644 --- a/charts/phpipam/templates/pvc.yaml +++ b/charts/phpipam/templates/pvc.yaml @@ -5,6 +5,8 @@ kind: PersistentVolumeClaim metadata: name: {{ .Chart.Name }}-mysql namespace: {{ .Release.Namespace }} + annotations: + helm.sh/resource-policy: keep spec: accessModes: - ReadWriteOnce