Skip to content

Revert service-waiter (components) for dashboard #19026

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

Merged
merged 1 commit into from
Nov 7, 2023
Merged

Conversation

mustard-mh
Copy link
Contributor

@mustard-mh mustard-mh commented Nov 7, 2023

Description

Revert #18995

Until we have way to control skip service-waiter (like feature flag)

See also internal chat

Summary generated by Copilot

🤖 Generated by Copilot at f2f3aa5

Refactor the installer and the service-waiter components to improve security, readability, maintainability, and scalability. Remove unused dependencies and code, use a cluster role and a pod security policy for the dashboard component, and replace the init containers with the service-waiter component. Delete components/service-waiter/cmd/component.go and install/installer/pkg/components/dashboard/role.go as they are no longer needed.

Related Issue(s)

Fixes #

How to test

  1. kubectl describe pod dashboard-... check that there are not any more any init containers + dashboard deployed without issues
  2. do hot deployment of server, restart dashboard, still should work

Documentation

Preview status

Gitpod was successfully deployed to your preview environment.

Build Options

Build
  • /werft with-werft
    Run the build with werft instead of GHA
  • leeway-no-cache
  • /werft no-test
    Run Leeway with --dont-test
Publish
  • /werft publish-to-npm
  • /werft publish-to-jb-marketplace
Installer
  • analytics=segment
  • with-dedicated-emulation
  • workspace-feature-flags
    Add desired feature flags to the end of the line above, space separated
Preview Environment / Integration Tests
  • /werft with-local-preview
    If enabled this will build install/preview
  • /werft with-preview
  • /werft with-large-vm
  • /werft with-gce-vm
    If enabled this will create the environment on GCE infra
  • with-integration-tests=all
    Valid options are all, workspace, webapp, ide, jetbrains, vscode, ssh. If enabled, with-preview and with-large-vm will be enabled.
  • with-monitoring

/hold

@mustard-mh mustard-mh requested a review from a team as a code owner November 7, 2023 12:48
@mustard-mh mustard-mh changed the title Hw/revert waiter Revert service-waiter Nov 7, 2023
@mustard-mh mustard-mh changed the title Revert service-waiter Revert service-waiter for components Nov 7, 2023
@roboquat roboquat added size/XS and removed size/XL labels Nov 7, 2023
@mustard-mh mustard-mh changed the title Revert service-waiter for components Revert service-waiter (components) for dashboard Nov 7, 2023
Copy link
Member

@akosyakov akosyakov left a comment

Choose a reason for hiding this comment

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

@mustard-mh pre approved, but please check start of preview envs once please

@laushinka
Copy link
Contributor

How do we test this on a preview env?

@akosyakov
Copy link
Member

  • kubectl describe pod dashboard-... check that there are not any more any init containers + dashboard deployed without issues
  • do hot deployment of server, restart dashboard, still should work

@mustard-mh
Copy link
Contributor Author

double checked there's not initContainer in deploy/dashboard

@laushinka Feel free to unhold if you test it right if you want

@akosyakov
Copy link
Member

I tested already rollouts, let's unhold.

@laushinka
Copy link
Contributor

@laushinka Feel free to unhold if you test it right if you want

It's ok, you've both tested it 👍🏽

@roboquat roboquat merged commit cf78ae0 into main Nov 7, 2023
@roboquat roboquat deleted the hw/revert-waiter branch November 7, 2023 13:31
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.

4 participants