mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
Fix incorrect rendering (#19838)
Signed-off-by: Alex Perez-Pujol <alexperezpujol@disroot.org>
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
3fe663f1e2
commit
da66326e37
@@ -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" . }}
|
||||
|
||||
Reference in New Issue
Block a user