Skip to content

Modifications for k8s to run #892

Open
munapower wants to merge 9 commits intohyperledger:mainfrom
munapower:changeK8S
Open

Modifications for k8s to run #892
munapower wants to merge 9 commits intohyperledger:mainfrom
munapower:changeK8S

Conversation

@munapower
Copy link
Copy Markdown
Contributor

@munapower munapower commented Jan 10, 2026

What this PR does / why we need it:
fixes k8s sample
Which issue(s) this PR fixes:

Fixes #926

Special notes for your reviewer:

Does this PR introduce a user-facing changes and/or breaks backward compatability?:

yes, changes to readme

@mbrandenburger mbrandenburger added the comp/samples This issue is related to our FPC samples label Feb 10, 2026
@munapower munapower self-assigned this Feb 17, 2026
Signed-off-by: munapower <mmunaro@hotmail.com>
Signed-off-by: munapower <mmunaro@hotmail.com>
Signed-off-by: munapower <mmunaro@hotmail.com>
…loyment descriptor specific for Mac M1

Signed-off-by: munapower <mmunaro@hotmail.com>
Signed-off-by: munapower <mmunaro@hotmail.com>
Signed-off-by: munapower <mmunaro@hotmail.com>
Signed-off-by: munapower <mmunaro@hotmail.com>
…e containers

Signed-off-by: munapower <mmunaro@hotmail.com>
Signed-off-by: munapower <mmunaro@hotmail.com>
@munapower munapower marked this pull request as ready for review March 28, 2026 22:17
@munapower munapower requested a review from a team as a code owner March 28, 2026 22:17
Copy link
Copy Markdown
Contributor

@mbrandenburger mbrandenburger left a comment

Choose a reason for hiding this comment

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

Thank you @munapower for creating this PR! I think this PR goes into the right direction and even brings some color into our terminals :)

Once, the example is running again - please remove the commented out lines which are not needed anymore.

Comment on lines -24 to +38
FABRIC_BIN_DIR="${FABRIC_BIN_DIR:-${FABRIC_PATH}/build/bin}"
FABRIC_BIN_DIR="${FPC_PATH}/fabric/_internal/bin"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

should it be better FABRIC_BIN_DIR="${FABRIC_BIN_DIR:-${FPC_PATH}/fabric/_internal/bin}"

Comment on lines +6 to +14
C_RESET='\033[0m'
C_RED='\033[0;31m'
C_GREEN='\033[0;32m'
C_BLUE='\033[0;34m'
C_YELLOW='\033[1;33m'
# successln echos in green color
function successln() {
println "${C_GREEN}${1}${C_RESET}"
}
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I like a bit of color :)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

we are just using green in this script?

Comment on lines -35 to +51
rm -rf ${cryptoConfigDir}
rm -rf ${channelArtifactsDir}
rm -rf ${packageDir}
rm -rf $cryptoConfigDir
rm -rf $channelArtifactsDir
rm -rf $packageDir
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I guess we are not really have a strong consistent use of variable with an without {}. However, if we would like to remove them here, shouldn't we do it in the entire script? WDYT?

Comment on lines +102 to +104
minikube image load fpc/ercc:latest
minikube image load fpc/fpccc:latest
minikube image load fpc/fpcclient:latest
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Do we need to update our minicube version as well in order to use image load instead of cache add?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp/samples This issue is related to our FPC samples

Projects

None yet

Development

Successfully merging this pull request may close these issues.

K8S Sample not working

2 participants