Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installing on a Kubernetes Cluster instead on minikube fails #2

Open
MaKaNu opened this issue Jan 13, 2023 · 1 comment
Open

Installing on a Kubernetes Cluster instead on minikube fails #2

MaKaNu opened this issue Jan 13, 2023 · 1 comment

Comments

@MaKaNu
Copy link

MaKaNu commented Jan 13, 2023

I test a setup of Kubernetes with helm and have chosen to papermerge as my test programm. Why? Because it is a real life application which we might want to use with Kubernetes.

The value.yaml gives me the hint, that this helm chart was only tested with minikube?

If I try to install after I have set the secrets and disabled ingress in value.yaml, the installation fails.

What I expect to happen

helm install papermerge . -f ./values.yaml

to result in a installation of the pods.

What actually happens

The command returns the following error:

Error: INSTALLATION FAILED: template: papermerge/templates/configmap.yaml:13:35: executing "papermerge/templates/configmap.yaml" at <.Values.global.conf.redis.host>: nil pointer evaluating interface {}.host
@ReneHezser
Copy link

@MaKaNu if you are still struggling, you need to provide secrets and other information like the redis host.

worker:
  replicaCount: 1

global:
  conf:
    app:
      django_settings_module: config.settings
      superuser:
        username: "admin"
        email: "[email protected]"
      media_dir: "/mount/media"
    ingress:
      enabled: true
      host: papermerge.minikube
    db:
      type: "postgres"
      user: "postgres"
      name: "postgres"
    es:
      enabled: false
    redis:
      host: "127.0.0.1"
  secrets:
    app:
      secret_key: "abc"
      superuser:
        password: "abc"
    db:
      password: "abc"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants