Skip to content

Commit

Permalink
fix error in k8s v1.6
Browse files Browse the repository at this point in the history
Signed-off-by: Mervyn Zhang <sads@live.com>
  • Loading branch information
mervynhang authored and mervynzhang committed Oct 29, 2019
1 parent 8e4efcd commit eb1665b
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 5 deletions.
2 changes: 1 addition & 1 deletion stable/sentry/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v1
description: Sentry is a cross-platform crash reporting and aggregation platform.
name: sentry
version: 3.1.1
version: 3.1.2
appVersion: 9.1.2
keywords:
- debugging
Expand Down
7 changes: 6 additions & 1 deletion stable/sentry/templates/cron-deployment.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: extensions/v1beta1
apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ template "sentry.fullname" . }}-cron
Expand All @@ -8,6 +8,11 @@ metadata:
release: "{{ .Release.Name }}"
heritage: "{{ .Release.Service }}"
spec:
selector:
matchLabels:
app: {{ template "sentry.fullname" . }}
release: "{{ .Release.Name }}"
role: cron
replicas: {{ .Values.cron.replicacount }}
template:
metadata:
Expand Down
7 changes: 6 additions & 1 deletion stable/sentry/templates/metrics-deployment.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{{- if .Values.metrics.enabled }}
apiVersion: extensions/v1beta1
apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ template "sentry.fullname" . }}-metrics
Expand All @@ -9,6 +9,11 @@ metadata:
release: "{{ .Release.Name }}"
heritage: "{{ .Release.Service }}"
spec:
selector:
matchLabels:
app: {{ template "sentry.fullname" . }}
release: "{{ .Release.Name }}"
role: metrics
template:
metadata:
labels:
Expand Down
7 changes: 6 additions & 1 deletion stable/sentry/templates/web-deployment.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: extensions/v1beta1
apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ template "sentry.fullname" . }}-web
Expand All @@ -8,6 +8,11 @@ metadata:
release: "{{ .Release.Name }}"
heritage: "{{ .Release.Service }}"
spec:
selector:
matchLabels:
app: {{ template "sentry.fullname" . }}
release: "{{ .Release.Name }}"
role: web
replicas: {{ .Values.web.replicacount }}
template:
metadata:
Expand Down
7 changes: 6 additions & 1 deletion stable/sentry/templates/workers-deployment.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: extensions/v1beta1
apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ template "sentry.fullname" . }}-worker
Expand All @@ -8,6 +8,11 @@ metadata:
release: "{{ .Release.Name }}"
heritage: "{{ .Release.Service }}"
spec:
selector:
matchLabels:
app: {{ template "sentry.fullname" . }}
release: "{{ .Release.Name }}"
role: worker
replicas: {{ .Values.worker.replicacount }}
template:
metadata:
Expand Down

0 comments on commit eb1665b

Please sign in to comment.