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:
Add the extension to the list of extensions in
global.extensions
in yourcustom_values.ini
deployment file, as shown in the template in Listing 3.3.global: extensions: - name: "my-extensions" image: registry: "artifacts.example.com" repository: "PATH_TO_REPOSITORY" imagePullPolicy: "IfNotPresent" tag: "1.1.10"
To apply the changes to your Nubus release, run the commands in Listing 3.4.
$ 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"