Skip to content

mariadb-operator has default setting "clusterName" that causes installs to fail on non-default named clusters #56

@shahzaib-bhatia

Description

@shahzaib-bhatia

Describe the bug
The mariadb-operator has a setting "clusterName: cluster.local" which is later used for galera nodes for their wsrep connection urls.
If this is not changed for a cluster with a different name galera will fail to come up due to name resolution failure.

Workaround when following wiki:

kubectl kustomize --enable-helm /opt/genestack/kustomize/mariadb-operator | sed "s/cluster\.local/${CLUSTER_NAME}/g"| kubectl --namespace mariadb-system apply --server-side --force-conflicts -f -
# persist changes
sed -i "s/^clusterName: .*$/clusterName: ${CLUSTER_NAME}/" /opt/genestack/kustomize/mariadb-operator/charts/mariadb-operator/values.yaml

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