feat: support k8s 1.16 when deployed as DaemonSet

update API resource version and remove deprecated one.

Signed-off-by: maxgio92
<massimiliano.giovagnoli.1992@gmail.com>
This commit is contained in:
Massimiliano 2020-02-09 19:49:22 +01:00 committed by poiana
parent 6c0e5297fa
commit f515ffc439
4 changed files with 17 additions and 4 deletions

View File

@ -1,4 +1,4 @@
apiVersion: extensions/v1beta1 apiVersion: apps/v1
kind: Deployment kind: Deployment
metadata: metadata:
name: falco-event-generator-deployment name: falco-event-generator-deployment

View File

@ -1,4 +1,4 @@
apiVersion: extensions/v1beta1 apiVersion: apps/v1
kind: DaemonSet kind: DaemonSet
metadata: metadata:
name: falco-daemonset name: falco-daemonset
@ -6,6 +6,10 @@ metadata:
app: falco-example app: falco-example
role: security role: security
spec: spec:
selector:
matchLabels:
app: falco-example
role: security
template: template:
metadata: metadata:
labels: labels:

View File

@ -1,4 +1,4 @@
apiVersion: extensions/v1beta1 apiVersion: apps/v1
kind: DaemonSet kind: DaemonSet
metadata: metadata:
name: falco-daemonset name: falco-daemonset
@ -6,6 +6,10 @@ metadata:
app: falco-example app: falco-example
role: security role: security
spec: spec:
selector:
matchLabels:
app: falco-example
role: security
template: template:
metadata: metadata:
labels: labels:

View File

@ -1,4 +1,4 @@
apiVersion: extensions/v1beta1 apiVersion: apps/v1
kind: DaemonSet kind: DaemonSet
metadata: metadata:
name: falco name: falco
@ -6,6 +6,11 @@ metadata:
name: falco-daemonset name: falco-daemonset
app: demo app: demo
spec: spec:
selector:
matchLabels:
name: falco
app: demo
role: security
template: template:
metadata: metadata:
labels: labels: