hunk.code_window:     buildUniquenessTest(
         () => 'This environment variable is already defined.',
         'name'
       )
     );
   }
hunk.labels: keep replace keep keep keep keep
hunk.after_edit:       () => 'This environment variable is already defined',
  
hunk.file_path: app/react/kubernetes/applications/ApplicationForm/kubeEnvVarValidationSchema.ts
hunk.type: replace
file: angular.module('portainer.docker').component('porImageRegistry', {
    templateUrl: './por-image-registry.html',
    controller: 'porImageRegistryController',
    bindings: {
      model: '=', // must be of type PorImageRegistryModel
      autoComplete: '<',
      labelClass: '@',
      inputClass: '@',
      endpoint: '<',
      isAdmin: '<',
      checkRateLimits: '<',
      onImageChange: '&',
      setValidity: '<',
      namespace: '<',
    },
    require: {
      form: '^form',
    },
    transclude: true,
  });
  