diff --git a/charts/phpipam/Chart.yaml b/charts/phpipam/Chart.yaml index 7b83cfe..698b6da 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.6 +version: 1.0.5 type: application diff --git a/charts/phpipam/README.md b/charts/phpipam/README.md index 2352560..734f9e8 100644 --- a/charts/phpipam/README.md +++ b/charts/phpipam/README.md @@ -1,6 +1,6 @@ # phpipam -![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) +![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) 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 4544767..67062e8 100644 --- a/charts/phpipam/templates/ingress.yaml +++ b/charts/phpipam/templates/ingress.yaml @@ -9,13 +9,17 @@ 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 6ce7f27..7614b09 100644 --- a/charts/phpipam/templates/pvc.yaml +++ b/charts/phpipam/templates/pvc.yaml @@ -5,8 +5,6 @@ kind: PersistentVolumeClaim metadata: name: {{ .Chart.Name }}-mysql namespace: {{ .Release.Namespace }} - annotations: - helm.sh/resource-policy: keep spec: accessModes: - ReadWriteOnce