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

Refactor into pkg using an options input and add Loki App #119

Merged
merged 1 commit into from
Jun 8, 2020

Conversation

Waterdrips
Copy link
Contributor

Signed-off-by: Alistair Hey alistair@heyal.co.uk

Refactor into pkg for creating apps using a "options" block passed into the specific apps.

See #21

Add Loki app, first part of #115

Description

Refactor some of the common stuff out into pkg, creating a "InstallerOptions" struct that would be passed to the pkg function that does the install. This would allow other programs to use these functions to install the apps (once migrated)

The Loki app has also been added

Motivation and Context

How Has This Been Tested?

Installed Loki, Loki with Grafana, OpenFaaS, cert-manager, ingress-nginx, minio

and verified they installed without errors

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I've read the CONTRIBUTION guide
  • I have signed-off my commits with git commit -s
  • I have added tests to cover my changes.
  • All new and existing tests passed.

@alexellis
Copy link
Owner

CI is failing?

Signed-off-by: Alistair Hey <alistair@heyal.co.uk>
@Waterdrips
Copy link
Contributor Author

CI is failing?

missed committing after fmt. Apologies

Copy link
Owner

@alexellis alexellis left a comment

Choose a reason for hiding this comment

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

Approved.

@alexellis alexellis merged commit 3b6845b into alexellis:master Jun 8, 2020
@alexellis
Copy link
Owner

@Waterdrips could you work on the Loki app for the openfaas component from @LucasRoesler? I would probably suggest calling it openfaas-loki

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