Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

chore(scaletest): use random deployment password#19516

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
ethanndickson merged 1 commit intomainfromethan/random-deployment-password
Aug 25, 2025
Merged
Changes fromall commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 12 additions & 1 deletionscaletest/terraform/action/k8s_coder_primary.tf
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -4,7 +4,7 @@ locals {
coder_admin_email = "admin@coder.com"
coder_admin_full_name = "Coder Admin"
coder_admin_user = "coder"
coder_admin_password ="SomeSecurePassword!"
coder_admin_password =random_password.coder_admin_password.result
coder_helm_repo = "https://helm.coder.com/v2"
coder_helm_chart = "coder"
coder_namespace = "coder"
Expand All@@ -18,6 +18,11 @@ resource "random_password" "provisionerd_psk" {
length = 26
}

resource "random_password" "coder_admin_password" {
length = 16
special = true
}

resource "kubernetes_namespace" "coder_primary" {
provider = kubernetes.primary

Expand DownExpand Up@@ -147,3 +152,9 @@ resource "helm_release" "provisionerd_primary" {

depends_on = [null_resource.license]
}

output "coder_admin_password" {
description = "Randomly generated Coder admin password"
value = random_password.coder_admin_password.result
# Deliberately not sensitive, so it appears in terraform apply logs
Copy link
Member

Choose a reason for hiding this comment

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

Once the actual run stuff is removed from this terraform config, it should probably be made sensitive

ethanndickson reacted with thumbs up emoji
Copy link
MemberAuthor

Choose a reason for hiding this comment

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

Yeah that sounds good

}
Loading

[8]ページ先頭

©2009-2025 Movatter.jp