Open Source Mender Server Tutorial

I am working on getting the open source mender tutorial up and running but I keep running into errors. Mender Server | Mender documentation

I have started a MinIO pod, which seems to be up and running just fine:

sudo kubectl get all
NAME        READY   STATUS    RESTARTS   AGE
pod/minio   1/1     Running   0          6s

I have set up an access key, created a bucket (“test-bucket”), and also set environment variable MINIO_DOMAIN=minio.example.net

Next, I followed the instructions in the link above to set up the mender helm chart. Please see my helm chart below, with tokens and secrets commented out

global:
  enterprise: false
  image:
    tag: mender-3.7.8
  mongodb:
    URL: ""
  nats:
    URL: ""
  s3:
    AWS_URI: "https://mender.example.com"
    AWS_BUCKET: test-bucket
    AWS_ACCESS_KEY_ID: <removed for security reasons>
    AWS_SECRET_ACCESS_KEY: <removed for security reasons>
  url: "https://mender.example.com"

# This enables bitnami/mongodb sub-chart
mongodb:
  enabled: true
  auth:
    enabled: true
    rootPassword: <removed for security reasons>
    replicaSetKey: <removed for security reasons>

# This enabled nats sub-chart
nats:
  enabled: true

api_gateway:
  env:
    SSL: false

device_auth:
  certs:
    key: |-
      -----BEGIN PRIVATE KEY-----
      <removed for security reasons>
      -----END PRIVATE KEY-----

useradm:
  certs:
    key: |-
      -----BEGIN PRIVATE KEY-----
      <removed for security reasons>
      -----END PRIVATE KEY-----
ingress:
  enabled: true
  annotations:
    nginx.ingress.kubernetes.io/proxy-body-size: "0"
    nginx.ingress.kubernetes.io/proxy-buffering: "off"
    nginx.ingress.kubernetes.io/proxy-read-timeout: "600"
    nginx.ingress.kubernetes.io/proxy-send-timeout: "600"
  path: /
  ingressClassName: nginx
  hosts:
    - mender.example.com
  tls:
  # this secret must exists or it can be created from a working cert-manager instance
   - secretName: mender-ingress-tls
     hosts:
       - mender.example.com

When I do the command below via the tutorial, I get the errors below related to nats, and I never see the nats pods listed when I do “sudo kubectl get all”

helm upgrade --install mender mender/mender  --version 5.11.2 -f mender-3.7.8.yml 

Warnings about nats:

Release "mender" does not exist. Installing it now.
coalesce.go:286: warning: cannot overwrite table with non table for mender.nats.nats.image (map[pullPolicy:IfNotPresent repository:nats tag:2.9.20-alpine])
coalesce.go:286: warning: cannot overwrite table with non table for mender.nats.nats.image (map[pullPolicy:IfNotPresent repository:nats tag:2.9.20-alpine])
coalesce.go:286: warning: cannot overwrite table with non table for mender.nats.nats.image (map[pullPolicy:IfNotPresent repository:nats tag:2.9.20-alpine])

Error

sudo kubectl get all
NAME                                     READY   STATUS    RESTARTS   AGE
pod/mender-deployments-migration-5cjxq   0/1     Error     0          33s
pod/mender-mongodb-0                     1/1     Running   0          17s
pod/mender-mongodb-1                     0/1     Running   0          5s
pod/mender-redis-master-0                1/1     Running   0          34s
pod/mender-redis-replicas-0              1/1     Running   0          34s
pod/mender-redis-replicas-1              0/1     Running   0          3s
pod/minio                                1/1     Running   0          45s
sudo kubectl logs pod/mender-deployments-migration-5cjxq 
time="2025-01-22T19:43:53Z" level=warning msg="'presign.secret' not configured. Generating a random secret." caller="config.Setup@config.go:246"
failed to connect to db: Error reaching mongo server: server selection error: context deadline exceeded, current topology: { Type: ReplicaSetNoPrimary, Servers: [{ Addr: mender-mongodb-0.mender-mongodb-headless.default.svc.cluster.local:27017, Type: RSSecondary, Average RTT: 672594 }, { Addr: mender-mongodb-1.mender-mongodb-headless.default.svc.cluster.local:27017, Type: RSSecondary, Average RTT: 1089670 }, { Addr: mender-mongodb-arbiter-0.mender-mongodb-arbiter-headless.default.svc.cluster.local:27017, Type: Unknown, Last error: dial tcp: lookup mender-mongodb-arbiter-0.mender-mongodb-arbiter-headless.default.svc.cluster.local on 10.43.0.10:53: no such host }, ] }

Any and all help would be really appreciated, thank you!