Deployment

Helm registry

Authorize to Sarkan OCI registry using Helm:

helm registry login 'registry.indevops.com'

Installation

  1. Generate a new values.yml file from the defaults:

    helm show values oci://registry.indevops.com/saunafs-operator/saunafs-operator \
        --version "<VERSION>" > values.yml
    
  2. Edit the values.yml and configure it to match your cluster and requirements. You will need to configure the registry using valid credentials.

  3. Deploy to the Kubernetes cluster:

    helm install "saunafs-operator" \
        oci://registry.indevops.com/saunafs-operator/saunafs-operator --version "<VERSION>" \
        --create-namespace -n "saunafs-operator" \
        -f ./values.yml
    
  4. Wait until all pods are running:

    kubectl --namespace saunafs-operator rollout status daemonset saunafs-operator
    kubectl --namespace saunafs-operator rollout status deployment saunafs-cgi
    

Upgrading

  1. Check for new configuration options since the last upgrade:

    helm show values oci://registry.indevops.com/saunafs-operator/saunafs-operator --version "<VERSION>" > values.yml
    
  2. Edit the values.yml and configure it to match your cluster and requirements. You will need to configure the registry using valid credentials.

  3. Use following command to upgrade the driver:

    helm upgrade "saunafs-operator" \
        oci://registry.indevops.com/saunafs-operator/saunafs-operator --version "<VERSION>" \
        -n "saunafs-operator" -f ./values.yml