Commit c36ec7c4 authored by Florian Schwab's avatar Florian Schwab Committed by David McKay

update deprecated deployment api version from extensions/v1beta1 to

apps/v1
parent a5c1bf26
{{- $bl := empty .Values.influxURL }} {{- $bl := empty .Values.influxURL }}
{{- if not $bl }} {{- if not $bl }}
apiVersion: extensions/v1beta1 apiVersion: apps/v1
kind: Deployment kind: Deployment
metadata: metadata:
name: {{ template "kapacitor.fullname" . }} name: {{ template "kapacitor.fullname" . }}
...@@ -11,6 +11,9 @@ metadata: ...@@ -11,6 +11,9 @@ metadata:
app: {{ template "kapacitor.fullname" . }} app: {{ template "kapacitor.fullname" . }}
spec: spec:
replicas: 1 replicas: 1
selector:
matchLabels:
app: {{ template "kapacitor.fullname" . }}
template: template:
metadata: metadata:
labels: labels:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment