Skip to content
This repository has been archived by the owner on Feb 22, 2022. It is now read-only.

[stable/hackmd] Support kubernetes >= 1.16 #17716

Merged
merged 1 commit into from
Dec 10, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion stable/hackmd/Chart.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion stable/hackmd/templates/deployment.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: apps/v1beta2
apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ template "hackmd.fullname" . }}
Expand Down
5 changes: 4 additions & 1 deletion stable/hackmd/templates/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand All @@ -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 }}
Expand Down