Add external mysql option for pipeline and metadata#906
Conversation
Seems it's unrelated and this PR only add new overlays. |
|
/test kubeflow-manifests-presubmit |
18ef263 to
eb2b1b9
Compare
| @@ -0,0 +1,3 @@ | |||
| mysqlHost= | |||
| mysqlUser= | |||
There was a problem hiding this comment.
Temporarily put username and password to configmap. These will be used to replace placeholder in pipeline configmap. The challenge is the value from secret is encoded string and I can not find way to decode it easily.
secretGenerator can not use StringData and upstream issue is tracked here. kubernetes-sigs/kustomize#1444
eb2b1b9 to
dc2c00c
Compare
|
/assign @zhenghuiwang |
|
/lgtm The metadata part looks good. Do you plan to make it the default overlay for aws? |
|
/approve |
|
@zhenghuiwang |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: zhenghuiwang The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
…961) * Create overlay allowing the Load Balancer to be created with HTTPS with it handling no auth. Additionally making the scheme (internet facing/internal) configurable and adding external-dns annotation for clusters with it installed. Cleaned up some duplicated annotations as well (#653) * Upgrade aws component version (#890) * Upgrade aws components versions for v1.0 * Update tests for aws components * Add policy profile controller plugin need (#917) * Add external mysql option for pipeline and metadata (#906) * Add OWNERS file under test folder (#947) * Fixing loadBalancerScheme issue in ingress annotation (#952) * Fix AWS OIDC settings (#953)
|
@Jeffwan thanks for this PR. How could I customize the values in secrets.env? |
|
@xaniasd Customize the values in secrets.env? Do you mean how to apply overlays? You can do like this for metadata and pipeline. Make sure you fill secrets.env and params.env |
|
@Jeffwan no my question was about filling in secrets.env. I can customize parameters in params.env with the parameters map like so: - kustomizeConfig:
overlays:
- application
parameters:
- name: MY_HOST
value: dbAs far as I can see in kfctl code, this is not possible for secrets.env files (maybe for good reason too). So how can I change the password? |
|
@xaniasd Hi, https://github.com/kubeflow/kfctl/blob/master/pkg/apis/apps/kfdef/v1/application_types.go doesn't have field to set secrets. Currently, only few application use secrets and I think it could be a feature request. You can I was trying to integrate to |
|
@Jeffwan do you have plans to add support for external DB's in the |
|
There's some ongoing discussion there. Katib maintainers has some concerns on the base manifests since there's standalone users. But I think that's the trend, we should have similar pattern there. I will check it later. for the RDS documentation, please check this website after this PR merged |

Which issue is resolved by this Pull Request:
Resolves #905
Description of your changes:
Add two overlays to allow user to use external mysql servers.
Checklist:
cd manifests/testsmake generate-changed-onlymake testThis change is