Merge pull request #1039 from paulfantom/unify-config

jsonnet: unify internal configuration field name
This commit is contained in:
Paweł Krupa
2021-04-16 15:05:26 +02:00
committed by GitHub
14 changed files with 297 additions and 295 deletions

View File

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