jsonnet: unify internal configuration field name

Signed-off-by: paulfantom <pawel@krupa.net.pl>
This commit is contained in:
paulfantom
2021-03-16 19:14:55 +01:00
parent ed884b0399
commit 0bf34a24f8
14 changed files with 297 additions and 295 deletions

View File

@@ -101,7 +101,7 @@ local restrictedPodSecurityPolicy = {
podSecurityPolicy:
local blackboxExporterPspPrivileged =
if $.blackboxExporter.config.privileged then
if $.blackboxExporter._config.privileged then
{
metadata+: {
name: 'blackbox-exporter-psp',
@@ -209,8 +209,8 @@ local restrictedPodSecurityPolicy = {
hostPID: true,
hostPorts: [
{
max: $.nodeExporter.config.port,
min: $.nodeExporter.config.port,
max: $.nodeExporter._config.port,
min: $.nodeExporter._config.port,
},
],
readOnlyRootFilesystem: true,