hunk.code_window:       apiService = this.KubernetesDeploymentService;
       } else if (app.ApplicationType === KubernetesApplicationTypes.DaemonSet) {
         apiService = this.KubernetesDaemonSetService;
       } else if (app.ApplicationType === KubernetesApplicationTypes.StatefulSet) {
         apiService = this.KubernetesStatefulSetService;
       } else if (app.ApplicationType === KubernetesApplicationTypes.Pod) {
         apiService = this.KubernetesPodService;
       } else {
         throw new PortainerError('Unable to determine which association to use to retrieve API Service');
       }
  
hunk.labels: keep keep keep keep keep replace keep keep keep keep
hunk.after_edit:     } else if (app instanceof KubernetesPod || (app instanceof KubernetesApplication && app.ApplicationType === KubernetesApplicationTypes.Pod)) {
  
hunk.file_path: app/kubernetes/services/applicationService.js
hunk.type: replace
file: import { KubernetesCommonMetadataPayload } from 'Kubernetes/models/common/payloads';
  
  /**
   * Payload for CREATE
   */
  const _KubernetesConfigMapCreatePayload = Object.freeze({
    metadata: new KubernetesCommonMetadataPayload(),
    data: {},
    binaryData: {},
  });
  export class KubernetesConfigMapCreatePayload {
    constructor() {
      Object.assign(this, JSON.parse(JSON.stringify(_KubernetesConfigMapCreatePayload)));
    }
  }
  
  /**
   * Payload for UPDATE
   */
  const _KubernetesConfigMapUpdatePayload = Object.freeze({
    metadata: new KubernetesCommonMetadataPayload(),
    data: {},
    binaryData: {},
  });
  export class KubernetesConfigMapUpdatePayload {
    constructor() {
      Object.assign(this, JSON.parse(JSON.stringify(_KubernetesConfigMapUpdatePayload)));
    }
  }
  