[stable/instana-agent] Update apiVersions for DaemonSet, PodSecurityPolicy (#17798)

Signed-off-by: Dahlia Bock <dlbock@gmail.com>
This commit is contained in:
Dahlia B
2019-10-09 07:49:51 -07:00
committed by Kubernetes Prow Robot
parent 0b5909cf0d
commit da4418f420
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
apiVersion: v1
name: instana-agent
version: 1.0.15
version: 1.0.16
appVersion: 1.0
description: Instana Agent for Kubernetes
home: https://www.instana.com/
@@ -42,7 +42,7 @@ rules:
- "endpoints"
verbs: ["create", "update", "patch"]
{{- if .Values.podSecurityPolicy.enable}}
- apiGroups: ["extensions"]
- apiGroups: ["policy"]
resources: ["podsecuritypolicies"]
verbs: ["use"]
resourceNames:
@@ -1,6 +1,6 @@
{{- if .Values.agent.key -}}
{{- if or .Values.zone.name .Values.cluster.name -}}
apiVersion: apps/v1beta2
apiVersion: apps/v1
kind: DaemonSet
metadata:
name: {{ template "instana-agent.fullname" . }}
@@ -1,7 +1,7 @@
{{- if .Values.rbac.create -}}
{{- if (and .Values.podSecurityPolicy.enable (not .Values.podSecurityPolicy.name)) -}}
kind: PodSecurityPolicy
apiVersion: extensions/v1beta1
apiVersion: policy/v1beta1
metadata:
name: {{ template "instana-agent.podSecurityPolicyName" . }}
labels: