Skip to content

Exception: Missing mandatory cluster name #462

@Ridam26

Description

@Ridam26

I am getting cluster name issue when I try to install the helm chart of k8s resource recommender in my OKE cluster

I have updated the values.yaml with my cluster name

CLUSTER_NAME: my cluster name

and also updated the env in deployment

            - name: CLUSTER_NAME
              value: {{ .Values.CLUSTER_NAME | quote }}

Note: I just added the above filed to avoid the cluster name error. If I keep the helm chart same as it is also it getting me the below error

Traceback (most recent call last):
  File "/app/enforcer/enforcer_main.py", line 54, in <module>
    dal = SupabaseDal()
          ^^^^^^^^^^^^^
  File "/app/enforcer/dal/supabase_dal.py", line 44, in __init__
    self.enabled = self.__init_config()
                   ^^^^^^^^^^^^^^^^^^^^
  File "/app/enforcer/dal/supabase_dal.py", line 163, in __init_config
    raise Exception("Missing mandatory cluster name")
Exception: Missing mandatory cluster name

Please help on it

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions