8000 feat(charts): add ml-operator as a standalone chart by lewisdaly · Pull Request #417 · mojaloop/helm · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

feat(charts): add ml-operator as a standalone chart #417

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 33 commits into from
Jul 19, 2021

Conversation

lewisdaly
Copy link
Contributor

This is a first pass at adding the ml-operator to the Mojaloop helm charts. Mostly I've copied and pasted what we had in the ml-operator repo.

Followup (outside this PR)

  • double check service account permissions - we should only give the operator the permissions it needs!
  • add a values.yml file
  • clarify the method we are using to add secrets. I really didn't want to have to copy and paste the secret into a values.yml file, this seems to defeat the purpose of having secrets for me. I'm open for suggestions on how to do this however

@lewisdaly
Copy link
Contributor Author

@mdebarros any thoughts on this?

Copy link
Member
@mdebarros mdebarros left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@lewisdaly, see my review comments.

I would also recommend creating separating your charts for each of your components (i.e. ml-operator and the image-watcher). I think it would be cleaner to maintain them separately, and rather have a parent composite chart where they can be deployed together.

Alternatively, if you do want them to run together, then I would suggest rather having them as part of the same deployment (i.e. two containers within the same pod).

Also, take note of the Redis dependency. I am happy its included as long as there is a config option to disable it and use an externally hosted Redis. <-- Note: We don't do this with the TTK, but I would say the TTK is "not" mission critical, and loss of data in that context is not really an issue. Regardless its a change we will need to make in future. With the ml-operator, I feel that having a reliable HA Redis would be important to the operations team.

Happy to jump on a call to discuss this in more detail.

Let me know your thoughts.

@lewisdaly lewisdaly requested a review from mdebarros July 2, 2021 04:48
@lewisdaly
Copy link
Contributor Author

@mdebarros I've made a bunch of fixes to the charts. I ended up combining everything into 1 pod for now, just to keep things simple.

Copy link
Member
@mdebarros mdebarros left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, except for the ingress name.

Let me know if you have any issues with my suggested change.

Co-authored-by: Miguel de Barros <miguel@debarros.me>
@lewisdaly
Copy link
Contributor Author

thanks @mdebarros , I've committed that suggestion

@lewisdaly lewisdaly requested a review from mdebarros July 7, 2021 10:31
mdebarros
mdebarros previously approved these changes Jul 7, 2021
Copy link
Member
@mdebarros mdebarros left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

Co-authored-by: Miguel de Barros <miguel@debarros.me>
mdebarros
mdebarros previously approved these changes Jul 8, 2021
Copy link
Member
@mdebarros mdebarros left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

@lewisdaly lewisdaly requested a review from mdebarros July 8, 2021 13:02
@lewisdaly
Copy link
Contributor Author

@mdebarros once more with vigour please!

Copy link
Member
@mdebarros mdebarros left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good except for the typo.

Co-authored-by: Miguel de Barros <miguel@debarros.me>
Copy link
Member
@mdebarros mdebarros left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

@lewisdaly lewisdaly requested a review from mdebarros July 19, 2021 11:05
@lewisdaly lewisdaly merged commit 668585a into mojaloop:master Jul 19, 2021
@lewisdaly lewisdaly deleted the feat/ml-operator branch July 19, 2021 11:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0