From 741e3fb63bf755b8ec3d38222c18315194d19faa Mon Sep 17 00:00:00 2001 From: duynguyen Date: Sun, 12 Apr 2026 23:26:38 +0700 Subject: [PATCH] chore: update jenkins values to use existing-secret for admin credentials --- manifest/jenkins/values.yaml | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/manifest/jenkins/values.yaml b/manifest/jenkins/values.yaml index 9c2b145..98a65ca 100644 --- a/manifest/jenkins/values.yaml +++ b/manifest/jenkins/values.yaml @@ -89,19 +89,11 @@ controller: # @default -- password: - # -- The key in the existing admin secret containing the username - userKey: jenkins-admin-user - # -- The key in the existing admin secret containing the password - passwordKey: jenkins-admin-password - # The default configuration uses this secret to configure an admin user # If you don't need that user or use a different security realm, then you can disable it # -- Must stay true so the controller mounts the admin Secret; when existingSecret is set, the chart does not create that Secret (supply it yourself or via externalSecret). createSecret: false - # -- If set, chart does not create the admin Secret; you must create it (e.g. kubectl) or use externalSecret (requires ESO CRDs on the cluster). - existingSecret: "" - # -- Emits external-secrets.io/v1beta1 ExternalSecret (needs External Secrets Operator installed). Helm cannot talk to Vault without it or another sync mechanism. externalSecret: enabled: true @@ -116,6 +108,15 @@ controller: property: password # Must match secretKey below; exposed to the template as .password secretKey: password + + # -- If set, chart does not create the admin Secret; you must create it (e.g. kubectl) or use externalSecret (requires ESO CRDs on the cluster). + existingSecret: "jenkins-admin" + # -- The key in the existing admin secret containing the username + userKey: jenkins-admin-user + # -- The key in the existing admin secret containing the password + passwordKey: jenkins-admin-password + + # -- Email address for the administrator of the Jenkins instance jenkinsAdminEmail: