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

Commit

Permalink
use apps/v1 (#17716)
Browse files Browse the repository at this point in the history
Signed-off-by: onokatio <onokatio@gmail.com>
  • Loading branch information
onokatio(おのかちお) authored and k8s-ci-robot committed Dec 10, 2019
1 parent dcd6b37 commit c5722c4
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
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

0 comments on commit c5722c4

Please sign in to comment.