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

Installation tutorial is broken. #1

Open
AlejandroUPC opened this issue Jun 21, 2024 · 0 comments
Open

Installation tutorial is broken. #1

AlejandroUPC opened this issue Jun 21, 2024 · 0 comments

Comments

@AlejandroUPC
Copy link

AlejandroUPC commented Jun 21, 2024

Hi, first of all thanks for setting this up, it seems really cool.

When following the README.md tutorial and running the commands on an EKS cluster:

helm repo add metabase-operator-charts https://unagex.github.io/metabase-operator
helm repo update
helm install metabase-operator metabase-operator-charts/metabase-operator
kubectl apply -f https://raw.githubusercontent.com/unagex/metabase-operator/main/config/samples/v1_metabase.yaml

The installation will fail

error: error parsing https://github.com/unagex/metabase-operator/blob/main/config/samples/v1_metabase.yaml: error converting YAML to JSON: yaml: line 212: mapping values are not allowed in this context

Probably because some of the commented values, uncommenting the lines and using the following file will work:

apiVersion: unagex.com/v1
kind: Metabase
metadata:
  name: metabase-sample
spec:
  metabase:
    image: "metabase/metabase:latest"
    imagePullPolicy: "IfNotPresent"
    resources:
      requests:
        cpu: 1
        memory: 2Gi
  db:
    image: "postgres:latest"
    imagePullPolicy: "IfNotPresent"
    replicas: 1
    resources:
      requests:
        cpu: 1
        memory: 2Gi
    volume:
      # storageClassName: standard
      size: 10Gi

I am not very familiar with operators and go, so I am bit afraid to commit an MR, although the problem seems quite obvious and its just a YAML issue.

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

1 participant