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

feat: ArgoRollouts dashboard now supporting rootpath #2075

Merged
merged 11 commits into from
Jun 13, 2022

Conversation

schakrad
Copy link
Contributor

@schakrad schakrad commented Jun 3, 2022

Checklist:

  • Either (a) I've created an enhancement proposal and discussed it with the community, (b) this is a bug fix, or (c) this is a chore.
  • The title of the PR is (a) conventional, (b) states what changed, and (c) suffixes the related issues number. E.g. "fix(controller): Updates such and such. Fixes #1234".
  • I've signed my commits with DCO
  • I have written unit and/or e2e tests for my change. PRs without these are unlikely to be merged.
  • My builds are green. Try syncing with master if they are not.
  • My organization is added to USERS.md.

Before

The dashboard was always shown on localhost:3100/rollouts
Screen Shot 2022-06-03 at 7 33 05 PM

After

Added the option rootpath in the dashboard controller
The dashbaord is shown on localhost:3100/{rootpath}

Screen Shot 2022-06-03 at 7 31 12 PM

Screen Shot 2022-06-03 at 7 31 31 PM

Screen Shot 2022-06-03 at 7 31 47 PM

when the rootpath is not specified, it takes the value rollouts as the rootpath
The default value of rootpath is "rollouts"

Screen Shot 2022-06-03 at 7 32 30 PM

Screen Shot 2022-06-03 at 7 33 05 PM

Screen Shot 2022-06-03 at 7 33 32 PM

@codecov
Copy link

codecov bot commented Jun 3, 2022

Codecov Report

Merging #2075 (6b11b04) into master (3f5960e) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #2075   +/-   ##
=======================================
  Coverage   82.43%   82.43%           
=======================================
  Files         120      120           
  Lines       17440    17440           
=======================================
  Hits        14376    14376           
  Misses       2352     2352           
  Partials      712      712           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3f5960e...6b11b04. Read the comment docs.

@schakrad schakrad marked this pull request as ready for review June 3, 2022 23:51
server/server.go Outdated Show resolved Hide resolved
@harikrongali
Copy link
Contributor

lgtm apart from above comment

schakrad added 2 commits June 3, 2022 21:30
Signed-off-by: “schakradari” <[email protected]>
Signed-off-by: “schakradari” <[email protected]>
Copy link
Member

@perenesenko perenesenko left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Member

@rbreeze rbreeze left a comment

Choose a reason for hiding this comment

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

LGTM

@sonarcloud
Copy link

sonarcloud bot commented Jun 8, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
20.2% 20.2% Duplication

@perenesenko perenesenko merged commit a6dbe0e into argoproj:master Jun 13, 2022
jenciso pushed a commit to jenciso/argo-rollouts that referenced this pull request Oct 25, 2022
* fix: add workaround to fix 'stream terminated by RST_STREAM with error code: PROTOCOL_ERROR'

Signed-off-by: Alexander Matyushentsev <[email protected]>

* ArgoRollouts dashboard should support rootpath

Signed-off-by: “schakradari” <[email protected]>

* fixed camelCase naming

Signed-off-by: “schakradari” <[email protected]>

* fixed Lint error

Signed-off-by: “schakradari” <[email protected]>

Co-authored-by: Alexander Matyushentsev <[email protected]>
Co-authored-by: Remington Breeze <[email protected]>
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.

5 participants