Skip to content

Commit 3f8e7a6

Browse files
authored
Merge pull request #184 from mrueg/drop-psp
Drop PodSecurityPolicies
2 parents 1a046e1 + 1404b66 commit 3f8e7a6

File tree

3 files changed

+7
-55
lines changed

3 files changed

+7
-55
lines changed

charts/coredns/Chart.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
apiVersion: v2
22
name: coredns
3-
version: 1.36.2
3+
version: 1.37.0
44
appVersion: 1.11.4
55
home: https://coredns.io
66
icon: https://coredns.io/images/CoreDNS_Colour_Horizontal.png
@@ -19,5 +19,5 @@ maintainers:
1919
type: application
2020
annotations:
2121
artifacthub.io/changes: |
22-
- kind: changed
23-
description: Bump to v1.11.4
22+
- kind: removed
23+
description: Drop support for PodSecurityPolicy

charts/coredns/templates/podsecuritypolicy.yaml

-47
This file was deleted.

charts/coredns/values.yaml

+4-5
Original file line numberDiff line numberDiff line change
@@ -76,11 +76,6 @@ serviceAccount:
7676
rbac:
7777
# If true, create & use RBAC resources
7878
create: true
79-
# If true, create and use PodSecurityPolicy
80-
pspEnable: false
81-
# The name of the ServiceAccount to use.
82-
# If not set and create is true, a name is generated using the fullname template
83-
# name:
8479

8580
clusterRole:
8681
# By default a name is generated using the fullname template.
@@ -99,9 +94,13 @@ podSecurityContext: {}
9994
# Configure SecurityContext for Pod.
10095
# Ensure that required linux capability to bind port number below 1024 is assigned (`CAP_NET_BIND_SERVICE`).
10196
securityContext:
97+
allowPrivilegeEscalation: false
10298
capabilities:
10399
add:
104100
- NET_BIND_SERVICE
101+
drop:
102+
- ALL
103+
readOnlyRootFilesystem: true
105104

106105
# Default zone is what Kubernetes recommends:
107106
# https://kubernetes.io/docs/tasks/administer-cluster/dns-custom-nameservers/#coredns-configmap-options

0 commit comments

Comments
 (0)