Skip to content

Commit 02bffa7

Browse files
committed
helm: disable psp by default and update psp api
Resolves galexrt#16 Signed-off-by: Alexander Trost <[email protected]>
1 parent 062e02e commit 02bffa7

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

charts/node-exporter-textfiles/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ type: application
1515
# This is the chart version. This version number should be incremented each time you make changes
1616
# to the chart and its templates, including the app version.
1717
# Versions are expected to follow Semantic Versioning (https://semver.org/)
18-
version: 0.1.1
18+
version: 0.1.2
1919

2020
# This is the version number of the application being deployed. This version number should be
2121
# incremented each time you make changes to the application. Versions are not expected to

charts/node-exporter-textfiles/templates/podsecuritypolicy.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{{- if .Values.podSecurityPolicy.enabled }}
2-
apiVersion: extensions/v1beta1
2+
apiVersion: policy/v1beta1
33
kind: PodSecurityPolicy
44
metadata:
55
name: {{ include "node-exporter-textfiles.fullname" . }}

charts/node-exporter-textfiles/values.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,8 @@ textfiles:
8282
# memory: 128Mi
8383

8484
podSecurityPolicy:
85-
enabled: true
85+
# PodSecurityPolicies are going away in Kubernetes 1.25 and higher
86+
enabled: false
8687
annotations: {}
8788
spec:
8889
privileged: true

0 commit comments

Comments
 (0)