Skip to content

Conversation

ccremer
Copy link
Owner

@ccremer ccremer commented Sep 17, 2022

Summary

  • Add CLI command that runs a webserver in Go and serves the assets built by Vite/Svelte.
  • Bundles the UI in the release binary
  • Adds automation to add the UI bundle in the GitHub release
  • If the webserver is run without the embedded assets (e.g. install with go install), it resorts to serving assets from local filesystem.

Checklist

  • Categorize the PR by setting a good title and adding one of the labels:
    kind:bug, kind:enhancement, kind:documentation, kind:change, kind:breaking, kind:dependency
    as they show up in the changelog
  • PR contains the label area:operator
  • Link this PR to related issues
  • I have not made any changes in the charts/ directory.

@ccremer ccremer changed the title Dist UI Bundle the UI in the Go binary Sep 17, 2022
@ccremer ccremer marked this pull request as ready for review September 17, 2022 20:07
@ccremer ccremer merged commit b4d20ef into master Sep 17, 2022
@ccremer ccremer deleted the dist-ui branch September 17, 2022 20:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant