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

Update dashboard config fields #240

Merged
merged 2 commits into from
Dec 14, 2020

Conversation

wilsonianb
Copy link
Contributor

@wilsonianb wilsonianb commented Dec 10, 2020

Signed-off-by: Brandon Wilson [email protected]

Description

Supports additional ofc dashboard configuration fields added in openfaas/openfaas-cloud#706

How Has This Been Tested?

Followed ofc-bootstrap user guide using these changes along with this patch to install ofc on k3s.
Ran each of the following once with scm as github and again as gitlab:

ofc-bootstrap apply --file init.yaml
ofc-bootstrap apply --file init.yaml  --skip-sealedsecrets

The deployed dashboard includes the correct icons and links based on the configuration

Checklist:

I have:

  • checked my changes follow the style of the existing code / OpenFaaS repos
  • updated the documentation and/or roadmap in README.md
  • read the CONTRIBUTION guide
  • signed-off my commits with git commit -s
  • added unit tests

Signed-off-by: Brandon Wilson <[email protected]>
@alexellis alexellis requested a review from Waterdrips December 13, 2020 16:03
@@ -239,6 +239,7 @@ scm: github
## Populate from GitHub App
github:
app_id: "24304"
public_link: "https://github.com/apps/o6s-io"
Copy link
Contributor

Choose a reason for hiding this comment

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

We need a docs update to ask a user to configure this when configuring the app

Copy link
Member

Choose a reason for hiding this comment

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

What happens if it's left blank?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The dashboard icon wouldn't be displayed.

Copy link
Member

@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 c4da635 into openfaas:master Dec 14, 2020
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.

3 participants