How to add additional npm plugin to already deployed Pulp through Pulp Operator?

Hello,

I have deployed Pulp3 through Pulp Operator 1.0.0-alpha.6 ( latest version in the GitHub repo ) in Kubernetes v1.25.6

I want to add an additional plugin (npm plugin) to my current pulp deployment but cannot find out how. Is there a settings I am missing or something ?

Pulpcore version 3.24.1

Centos 9 stream

Current pulp.yml file.

apiVersion: repo-manager.pulpproject.org/v1alpha1
kind: Pulp
metadata:
  name: pulp
  namespace: pulp-operator-system
spec:
  file_storage_access_mode: "ReadWriteOnce"
  file_storage_size: "100Gi"
  redis_storage_class: csi-rbd-sc
  postgres_storage_class: csi-rbd-sc
  file_storage_storage_class: csi-rbd-sc
  pulp_settings:
    api_root: "/pulp/"
    allowed_export_paths:
      - /tmp
    allowed_import_paths:
      - /tmp
  storage_type: File
  api:
    replicas: 1
  content:
    replicas: 1
    resource_requirements:
      requests:
        cpu: 150m
        memory: 256Mi
      limits:
        cpu: 800m
        memory: 1Gi
  worker:
    replicas: 1
    resource_requirements:
      requests:
        cpu: 150m
        memory: 256Mi
      limits:
        cpu: 800m
        memory: 1Gi
  web:
    replicas: 1

Hi @AJJA,

“Is there a settings I am missing or something ?”

No, your config seems to be right and you didn’t miss anything.

The npm plugin is not GA’ed yet, the team is still working on it and some tests are pending. As soon as we get a stable version released we will add it to the “stable” container image deployed by the operator.

If you’d like to test the npm plugin you can update Pulp CR to use our “nightly” image:

kubectl -npulp-operator-system patch pulp pulp --type=merge -p '{"spec": {"image_version": "nightly", "image_web_version": "nightly"}}'

The operator does not have a procedure to add or remove plugins, they are built in the container image.

3 Likes