Skip to content

Commit 071b394

Browse files
authoredJun 16, 2021
Merge pull request prometheus-operator#1213 from metalmatze/blackbox-exporter-psp
Fix name for blackbox-exporter PodSecurityPolicy
2 parents 8d57b10 + 4ea366e commit 071b394

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed
 

‎jsonnet/kube-prometheus/addons/podsecuritypolicies.libsonnet

+5-1
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,11 @@ local restrictedPodSecurityPolicy = {
117117
},
118118
}
119119
else
120-
{};
120+
{
121+
metadata+: {
122+
name: 'blackbox-exporter-psp',
123+
},
124+
};
121125

122126
restrictedPodSecurityPolicy + blackboxExporterPspPrivileged,
123127
},

0 commit comments

Comments
 (0)
Please sign in to comment.