hunk.code_window: export function kubeEnvVarValidationSchema(): SchemaOf<EnvVar[]> {
     return array(
       object({
         name: string()
           .required('Name is required')
           .matches(
             /^[a-zA-Z][a-zA-Z0-9_.-]*$/,
  
hunk.labels: keep keep keep keep replace keep keep
hunk.after_edit:         .required('Environment variable name is required')
  
hunk.file_path: app/react/kubernetes/applications/ApplicationForm/kubeEnvVarValidationSchema.ts
hunk.type: replace
file: angular.module('portainer.kubernetes').component('kubernetesVolumeView', {
    templateUrl: './volume.html',
    controller: 'KubernetesVolumeController',
    controllerAs: 'ctrl',
    bindings: {
      $transition$: '<',
      endpoint: '<',
    },
  });
  