diff --git a/examples/ingress-one-to-many.jsonnet b/examples/ingress-one-to-many.jsonnet index 7b0bc2e7aead511d42c338369f257d5be5af6a51..f5774af480c2b9133c4e052e3550c865d1d3aeec 100644 --- a/examples/ingress-one-to-many.jsonnet +++ b/examples/ingress-one-to-many.jsonnet @@ -67,13 +67,14 @@ local kp = httpIngressPath.mixin.backend.withServicePort('http') )] ), - }, + { + }, + } + { // Create basic auth secret - replace 'auth' file with your own ingress+:: { 'basic-auth-secret': secret.new('basic-auth', { auth: std.base64(importstr 'auth') }) + secret.mixin.metadata.withNamespace($._config.namespace), - }, + }, }; { [name + '-ingress']: kp.ingress[name] for name in std.objectFields(kp.ingress) }