RocketChat / Rocket.Chat

The communications platform that puts data protection first.
https://rocket.chat/
Other
39.3k stars 10.07k forks source link

configmap "rocketchat-rocketchat-scripts" not found #30602

Open agardnerIT opened 9 months ago

agardnerIT commented 9 months ago

Folllowing the kubernetes install guide and I get this error in the pre-install job:

MountVolume.SetUp failed for volume "mongodb-script" : configmap "rocketchat-rocketchat-scripts" not found

Argo Application Definition

apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
  annotations:
    argocd.argoproj.io/sync-wave: "1"
  labels:
    dt.owner: "platform_team"
  name: rocketchat
  namespace: argocd
spec:
  source:
    repoURL: 'https://rocketchat.github.io/helm-charts'
    targetRevision: 6.4.1
    chart: rocketchat
    helm:
      values: |
        mongodb:
          auth:
            passwords:
              - rocketchat
            rootPassword: rocketchatroot
  destination:
    namespace: rocketchat
    server: 'https://kubernetes.default.svc'
  project: default
  syncPolicy:
    automated:
      prune: true
      selfHeal: true
    retry:
      limit: 5
      backoff:
        duration: 5s
        maxDuration: 3m0s
        factor: 2
    syncOptions:
      - CreateNamespace=true
ad-it commented 7 months ago

Hello, I'm experiencing the same behaviour. The only difference - I install it from my private repository, version 6.4.4. During helm install... there is no such issue. Will need to check the chart, but would be good to have it installed in the same way no matter whether you use argo or helm.

alb-dev commented 4 months ago

If noticed the same problem. It seems like the job tries to run before the configmap is created.

thercd commented 3 months ago

Me too, someone has a solution?

mrpotato3 commented 3 months ago

+1

ixxeL2097 commented 3 months ago

same issue for me. Indeed the Job is running before configMap is created and thus cannot find it