Load extensions

3.2.3. Load extensions#

This section describes, how to load an extension in Nubus for Kubernetes. Before you can continue with this step, you need to follow the steps outlined in General steps. You need the extension image available in a container registry.

To load an extension to Nubus, use the following steps:

  1. Add the extension to the list of extensions in global.extensions in your custom_values.ini deployment file, as shown in the template in Listing 3.3.

    Listing 3.3 Add extension to deployment file#
    global:
       extensions:
          - name: "my-extensions"
            image:
              registry: "artifacts.example.com"
              repository: "PATH_TO_REPOSITORY"
              imagePullPolicy: "IfNotPresent"
              tag: "1.1.10"
    
  2. To apply the changes to your Nubus release, run the commands in Listing 3.4.

    Listing 3.4 Apply customization to Nubus#
    $ export NAMESPACE_FOR_NUBUS="Set to your Kubernetes namespace"
    $ export RELEASE_NAME="The Helm Chart release name"
    $ export VERSION="Your version of Nubus"
    $ helm upgrade \
       "$RELEASE_NAME" \
       --namespace="$NAMESPACE_FOR_NUBUS" \
       oci://artifacts.software-univention.de/nubus/charts/nubus \
       --values custom_values.yaml \
       --version "$VERSION"