Commit ea381d91 by aiwantaozi Committed by Craig Jellick

Upgrade rancher-logging chart api version to be k8s v1.16 compatible

Problem: Daemonset api version extensions/v1beta1 is deperated in 1.16 Solution: Use the capabilities API versions defined in template Issue: https://github.com/rancher/rancher/issues/21770
parent 62130b6a
...@@ -18,7 +18,6 @@ spec: ...@@ -18,7 +18,6 @@ spec:
selector: selector:
matchLabels: matchLabels:
app: {{ template "fluentd-tester.name" . }} app: {{ template "fluentd-tester.name" . }}
chart: {{ template "fluentd-tester.version" . }}
release: {{ .Release.Name }} release: {{ .Release.Name }}
template: template:
metadata: metadata:
......
...@@ -18,7 +18,6 @@ spec: ...@@ -18,7 +18,6 @@ spec:
selector: selector:
matchLabels: matchLabels:
app: {{ template "fluentd.name" . }} app: {{ template "fluentd.name" . }}
chart: {{ template "fluentd.version" . }}
release: {{ .Release.Name }} release: {{ .Release.Name }}
template: template:
metadata: metadata:
......
apiVersion: extensions/v1beta1 apiVersion: {{ template "daemonset_api_version" . }}
kind: DaemonSet kind: DaemonSet
metadata: metadata:
name: {{ template "log-aggregator.fullname" . }} name: {{ template "log-aggregator.fullname" . }}
...@@ -18,7 +18,6 @@ spec: ...@@ -18,7 +18,6 @@ spec:
selector: selector:
matchLabels: matchLabels:
app: {{ template "log-aggregator.name" . }} app: {{ template "log-aggregator.name" . }}
chart: {{ template "log-aggregator.version" . }}
release: {{ .Release.Name }} release: {{ .Release.Name }}
template: template:
metadata: metadata:
......
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