mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[stable/instana-agent] Update apiVersions for DaemonSet, PodSecurityPolicy (#17798)
Signed-off-by: Dahlia Bock <dlbock@gmail.com>
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
0b5909cf0d
commit
da4418f420
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user