Skip to content

fix(scaletest): deploy external provisionerd #8618

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 5 commits into from
Jul 20, 2023

Conversation

johnstcn
Copy link
Member

  • Adds an external provisionerd deployment (the lazy way, Helm support is in progress)
  • Plumbs through resource values for provisionerd deployment

Other minor fixes:

  • Explicitly set secret type so it doesn't get constantly re-created
  • Unspecify stable channel so we don't get unexpectedly upgraded

@johnstcn johnstcn added the scaletest Issues related to scale testing. label Jul 20, 2023
@johnstcn johnstcn self-assigned this Jul 20, 2023
@johnstcn johnstcn requested review from mafredri and mtojek July 20, 2023 09:50
# Ref: https://github.com/coder/coder/issues/8243
resource "local_file" "provisionerd_deployment" {
filename = "${path.module}/../.coderv2/provisionerd-deployment.yaml"
content = <<EOF
Copy link
Member

Choose a reason for hiding this comment

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

curious: can this be sourced from a regular YAML file?

Copy link
Member Author

Choose a reason for hiding this comment

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

I think you can include it as a template, but I find it more straightforward to just inline.

Copy link
Member

Choose a reason for hiding this comment

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

👍

My only concern is IDE support, but that is not affecting the product.

resource "local_file" "provisionerd_deployment" {
filename = "${path.module}/../.coderv2/provisionerd-deployment.yaml"
content = <<EOF
apiVersion: apps/v1
Copy link
Member

Choose a reason for hiding this comment

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

Consider formatting with prettier, just so it matches our other YAML?

@johnstcn johnstcn merged commit 68a4619 into main Jul 20, 2023
@johnstcn johnstcn deleted the cj/scaletest-standalone-provisionerd branch July 20, 2023 10:38
@github-actions github-actions bot locked and limited conversation to collaborators Jul 20, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
scaletest Issues related to scale testing.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants