Remove chart old podSecurityPolicy check

This commit is contained in:
Manuel Alejandro de Brito Fontes 2020-04-14 23:07:45 -04:00
parent d1de9051e8
commit 977178dea4
4 changed files with 4 additions and 15 deletions

View file

@ -114,17 +114,6 @@ Return the appropriate apiGroup for PodSecurityPolicy.
{{- end -}}
{{- end -}}
{{/*
Return the appropriate apiVersion for podSecurityPolicy.
*/}}
{{- define "podSecurityPolicy.apiVersion" -}}
{{- if semverCompare ">=1.10-0" .Capabilities.KubeVersion.GitVersion -}}
{{- print "policy/v1beta1" -}}
{{- else -}}
{{- print "extensions/v1beta1" -}}
{{- end -}}
{{- end -}}
{{/*
Check the ingress controller version tag is at most three versions behind the last release
*/}}