Skip to content

Installation tutorial is broken. #1

@AlejandroUPC

Description

@AlejandroUPC

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions