Skip to content
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

Adds mithrilctl initial implementation #24

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

alexandrealvino
Copy link
Contributor

@alexandrealvino alexandrealvino commented Jul 14, 2022

  • Documentation updated

Description of change
Adds initial implementation of mithrilctl.

mithrilctl features:

  • Mithril SDS installation by leveraging helm charts from the repository.
  • Visualization of installed Mithril resources manifests.

Jira task

Depends on PR#25

Signed-off-by: Alexandre Alvino alexandre.alvino@hpe.com

Signed-off-by: Alexandre Alvino <alexandre.alvino@hpe.com>
Signed-off-by: Alexandre Alvino <alexandre.alvino@hpe.com>
Signed-off-by: Alexandre Alvino <alexandre.alvino@hpe.com>
failureFormat := " \033[31mx\x1b[0m %s\n"

if err != nil {
fmt.Fprintf(spinner.Writer, failureFormat, "Deploying SPIRE 🗝️")
Copy link
Contributor

Choose a reason for hiding this comment

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

If we get an error, why does it print "Deploying SPIRE"?

Copy link
Contributor

@n-th n-th left a comment

Choose a reason for hiding this comment

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

Nice job, I recommend reorganizing the imports in the order: std, third-party and local dependencies separately.

Comment on lines +18 to +19
spiref, _ := cmd.Flags().GetBool("spire")
istiof, _ := cmd.Flags().GetBool("istio")
Copy link
Contributor

Choose a reason for hiding this comment

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

spireFlag and istioFlag?

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.

None yet

2 participants