import Component from '@ember/component';
import layout from './template';
import { observer } from '@ember/object';
import VolumeSource from 'shared/mixins/volume-source';

export default Component.extend(VolumeSource, {
  layout,

  inputDidUpdate: observer('config.{defaultMode,items,name,optional}', function () {
    this.sendUpdate();
  }),
});

import Component from '@ember/component';
import layout from './template';
import { observer } from '@ember/object';
import VolumeSource from 'shared/mixins/volume-source';

export default Component.extend(VolumeSource, {
  layout,

  field: 'configMap',
  fieldType: 'configMapVolumeSource',
  inputDidUpdate: observer('config.{defaultMode,items,name,optional}', function () {
    this.sendUpdate();
  }),
});

Fix config map volume issue
Fix config map volume issue

https://github.com/rancher/rancher/issues/12535
