net';  // some helper functions
local kube = import 'kube.libsonnet';
local config = std.extVar('kr8'); // config is all the config from params.jsonnet

// remove Secret objects and add a namespace
[
  for object in helpers.list(
    // object list is converted to hash of named objects, then they can be modified by name
    helpers.named(helpers.helmInput) + {
      ['Deployment/' + config.release_name]+: helpers.patchContainer({
        // Injects an extra arg, which wasn't originally in the helm chart
   