hunk.code_window:                 <FormControl
                     inputId="edge_enforce_id"
                     label="Enforce use of Portainer generated Edge ID"
                     size="medium"
                     tooltip="This setting only applies to manually created environments."
                     errors={errors.EnforceEdgeID}
                   >
  
hunk.labels: keep keep keep keep replace keep keep keep
hunk.after_edit:                   size="small"
  
hunk.file_path: app/portainer/settings/edge-compute/EdgeComputeSettings/EdgeComputeSettings.tsx
hunk.type: replace
file: import { KubernetesConfigurationTypes } from 'Kubernetes/models/configuration/models';
  
  angular.module('portainer.kubernetes').filter('kubernetesConfigurationTypeText', function () {
    'use strict';
    return function (type) {
      switch (type) {
        case KubernetesConfigurationTypes.SECRET:
          return 'Secret';
        case KubernetesConfigurationTypes.CONFIGMAP:
          return 'ConfigMap';
      }
    };
  });
  