diff --git a/stable/hackmd/Chart.yaml b/stable/hackmd/Chart.yaml index d92a75748683..246f1a18ebe6 100644 --- a/stable/hackmd/Chart.yaml +++ b/stable/hackmd/Chart.yaml @@ -1,6 +1,6 @@ name: hackmd apiVersion: v1 -version: "1.2.1" +version: "1.2.2" appVersion: "1.3.0-alpine" description: Realtime collaborative markdown notes on all platforms. icon: https://hackmd.io/favicon.png diff --git a/stable/hackmd/templates/deployment.yaml b/stable/hackmd/templates/deployment.yaml index bf05a0fc9b1b..a8b6871ad162 100644 --- a/stable/hackmd/templates/deployment.yaml +++ b/stable/hackmd/templates/deployment.yaml @@ -1,4 +1,4 @@ -apiVersion: apps/v1beta2 +apiVersion: apps/v1 kind: Deployment metadata: name: {{ template "hackmd.fullname" . }} diff --git a/stable/hackmd/templates/ingress.yaml b/stable/hackmd/templates/ingress.yaml index c721c52c9955..d44bd1b3b58a 100644 --- a/stable/hackmd/templates/ingress.yaml +++ b/stable/hackmd/templates/ingress.yaml @@ -2,7 +2,7 @@ {{- $fullName := include "hackmd.fullname" . -}} {{- $servicePort := .Values.service.port -}} {{- $ingressPath := .Values.ingress.path -}} -apiVersion: extensions/v1beta1 +apiVersion: apps/v1 kind: Ingress metadata: name: {{ $fullName }} @@ -16,6 +16,9 @@ metadata: {{ toYaml . | indent 4 }} {{- end }} spec: + selector: + matchLabels: + app: {{ template "hackmd.name" . }} {{- if .Values.ingress.tls }} tls: {{- range .Values.ingress.tls }}