Skip to content

Commit

Permalink
Update install-mariadb-operator.sh
Browse files Browse the repository at this point in the history
crds were being installed into default namespace and the operator would not install because the repo was not listed
  • Loading branch information
aedan authored Jan 6, 2025
1 parent de1b7f0 commit fe772ad
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions bin/install-mariadb-operator.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,11 @@ helm repo add mariadb-operator https://helm.mariadb.com/mariadb-operator
helm repo update

# Install the CRDs that match the version defined
helm upgrade --install mariadb-operator-crds mariadb-operator/mariadb-operator-crds --version "${VERSION}"
helm upgrade --install --namespace=mariadb-system --create-namespace mariadb-operator-crds mariadb-operator/mariadb-operator-crds --version "${VERSION}"

# Helm command setup
HELM_CMD="helm upgrade --install mariadb-operator mariadb-operator \
HELM_CMD="helm upgrade --install mariadb-operator mariadb-operator/mariadb-operator \
--namespace=mariadb-system \
--create-namespace \
--timeout 120m \
--version ${VERSION} \
--post-renderer /etc/genestack/kustomize/kustomize.sh \
Expand Down

0 comments on commit fe772ad

Please sign in to comment.