INNER CODE UNIT · JavaScript

ControllerLocalHostpathDriver

democratic-csi/democratic-csi · src/driver/controller-local-hostpath/index.js:11

class ControllerLocalHostpathDriver extends ControllerClientCommonDriver {
  constructor(ctx, options) {
    const i_caps = _.get(
      options,
      "service.identity.capabilities.service",
      false
    );

    const c_caps = _.get(options, "service.controller.capabilities", false);
    super(...arguments);

    if (!i_caps) {
      this.ctx.logger.debug("setting local-hostpath identity service caps");

      options.service.identity.capabilities.service = [
        //"UNKNOWN",
        "CONTROLLER_SERVICE",
        "VOLUME_ACCESSIBILITY_CONSTRAINTS",

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…