From dfffd2e9ee44efcb321d52cd19319a0d79d1eb0d Mon Sep 17 00:00:00 2001 From: Purelind Date: Wed, 27 Nov 2024 16:14:23 +0800 Subject: [PATCH] chore(prod/jenkins-beta): add a new file credential for ks3util (#1352) add a new file credential for ks3util ref https://github.com/jenkinsci/configuration-as-code-plugin/tree/master/demos/credentials#example --- apps/prod/jenkins-beta/release/values-JCasC.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/apps/prod/jenkins-beta/release/values-JCasC.yaml b/apps/prod/jenkins-beta/release/values-JCasC.yaml index 6cf4e1856..170a08e9d 100644 --- a/apps/prod/jenkins-beta/release/values-JCasC.yaml +++ b/apps/prod/jenkins-beta/release/values-JCasC.yaml @@ -39,6 +39,9 @@ controller: - { name: docs-cn, keyName: qiniu-sk } - { name: docs-cn, keyName: qiniu-bn } + # for ks3util + - { name: ks3util, keyName: config } + additionalSecrets: [] # - name: nameOfSecret # value: secretText @@ -88,6 +91,12 @@ controller: credentials: system: domainCredentials: + - credentials: + - file: + scope: GLOBAL + id: "ks3util-config" + fileName: "ks3util.conf" + secretBytes: "${ks3util-config}" - domain: name: github.com description: github ssh and open api