fnproject / fn-helm

Helm Chart for Fn
Apache License 2.0
56 stars 24 forks source link

Set up a database using the mysql-operator #13

Closed jan-g closed 6 years ago

jan-g commented 6 years ago

This needs configuring as follows:

helm install -f examples/minikube/values.yaml \
    --set mysql.enabled=false \
    --set mysql_operator.enabled=true \
    --name=fn-dev-svc-v0-0-161 fn

The credentials will be pulled from the mysql.* value tree; behaviour is controlled by disabling the mysql chart and using the built-in operator support instead.

(This chart has mysql-operator as a pre-requisite.)

hhexo commented 6 years ago

It looks a bit odd that in order to enable the operator you have to "disable mysql"... can the condition just be based on one boolean?

(what happens if a user enables both?)

derekschultz commented 6 years ago

@jan-g should we close this or is there still reason to add MySQL Operator to the OSS Helm chart?