Skip to content
This repository has been archived by the owner on Feb 5, 2024. It is now read-only.

Operators #45

Merged
merged 52 commits into from
Apr 30, 2020
Merged

Operators #45

merged 52 commits into from
Apr 30, 2020

Conversation

AurelienGasser
Copy link
Contributor

@AurelienGasser AurelienGasser commented Apr 14, 2020

@AurelienGasser
Copy link
Contributor Author

cc @natct10 @chrisalexandrepena This is where we're going to be working on the operators

@AurelienGasser
Copy link
Contributor Author

@ClementGautier Thanks for the first review. I added more doc, could you please give this another look?

Copy link
Contributor

@ClementGautier ClementGautier left a comment

Choose a reason for hiding this comment

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

It's a good enough for now I think. I'd like the README to describe more the operational processes than how it works internally (even if this information is useful for debugging purpose) for example like this:

# foo
Introduction

## Configuration
List of all variables, the expected value format and what it does.

## Usage
### Add an organization to the system channel
### Add an organization to the application channel
### Update the chaincode

Could you at least describe how to perform a chaincode upgrade ? I guess I need to add the chaincode so it's installed and modify the appChannel.chaincodeVersion but I don't know if that works out of the box.

Copy link
Member

@AlexandrePicosson AlexandrePicosson left a comment

Choose a reason for hiding this comment

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

This is nice and add scalability to this component.

@AurelienGasser
Copy link
Contributor Author

@ClementGautier @AlexandrePicosson Thanks for your review!

This is ready for another review.

Regarding the chaincode upgrade instructions, I created an issue as it's out of scope for this PR: #50

ClementGautier
ClementGautier previously approved these changes Apr 29, 2020
Copy link
Contributor

@ClementGautier ClementGautier left a comment

Choose a reason for hiding this comment

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

Good job ! I approve like this. Last question: this chart is, basically, an umbrella chart. As we forked the charts for the orderer and the peers: is it planned to move some logic into the sub-charts ? I mean some resources could be put in hlf-ord, some other on hlf-peer and some other into hlf-ca. It could reduce some complexity in the code (at least the condition which define if we deploy a peer or an orderer).

@AurelienGasser
Copy link
Contributor Author

@ClementGautier Thanks for the review.

is it planned to move some logic into the sub-charts ?

There's no plan that I'm aware of, but +1 on the idea.

(at least the condition which define if we deploy a peer or an orderer)

Could you please expand on that? I'm not sure what you mean.

@AurelienGasser
Copy link
Contributor Author

Side note: we have enabled the github flag "don't dismiss reviews when there's a new commit" on other Substra repos, is there any reason not to do it on this repo too?

@ClementGautier
Copy link
Contributor

is there any reason not to do it on this repo too

No, it's legacy I guess, there was no guideline at the time I configured the branch protection. (btw I'm not admin anymore and can't change it myself)

Could you please expand on that? I'm not sure what you mean.

Sure, I just meant that it would result in less code to move those operators on there respective sub-chart as it would make some templating conditions useless. For example this one : {{- if and .Values.orderer.enabled .Values.ca.enabled }}

@AurelienGasser
Copy link
Contributor Author

move those operators on there respective sub-chart

Gotcha. Note for the future, cc @Kelvin-M

@AurelienGasser AurelienGasser merged commit 107862a into master Apr 30, 2020
@AurelienGasser AurelienGasser deleted the operators branch April 30, 2020 15:13
mblottiere pushed a commit that referenced this pull request Sep 5, 2022
* chore(deps): use couchdb-helm chart instead of hlf-couchdb

* fix: use owkin chart
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Error when trying to run skaffold with a 3 org setup
4 participants