Fix incorrect rendering (#19838)

Signed-off-by: Alex Perez-Pujol <alexperezpujol@disroot.org>
This commit is contained in:
Àlex Pérez
2020-01-02 12:53:41 -08:00
committed by Kubernetes Prow Robot
parent 3fe663f1e2
commit da66326e37
2 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
apiVersion: v1
name: coredns
version: 1.8.1
version: 1.8.2
appVersion: 1.6.6
description: CoreDNS is a DNS server that chains plugins and provides Kubernetes DNS Services
keywords:
@@ -1,9 +1,9 @@
{{- if .Values.rbac.pspEnable }}
{{- if .Capabilities.APIVersions.Has "extensions/v1beta1" -}}
apiVersion: extensions/v1beta1
{{- else if .Capabilities.APIVersions.Has "policy/v1beta1" -}}
{{ if .Capabilities.APIVersions.Has "policy/v1beta1" }}
apiVersion: policy/v1beta1
{{- end -}}
{{ else }}
apiVersion: extensions/v1beta1
{{ end -}}
kind: PodSecurityPolicy
metadata:
name: {{ template "coredns.fullname" . }}