-
New Feature
-
Resolution: Unresolved
-
Minor
I am using "helm" to install Jenkins over K8's.
Plugins are added in values.yaml file and being referenced at installation.
e.g. helm install -n jenkins stable/jenkins -f values.yaml --wait
I have to add google-login-plugin "clientId" and "clientSecret" values in the yaml file.
Reference - https://github.com/helm/charts/tree/master/stable/jenkins#adding-customized-securityrealm
Reference - https://github.com/helm/charts/blob/master/stable/jenkins/values.yaml#L39
Modifying "clientId" is simple, question is how to provide "clientSecret" in values.yaml ??
recampbell
Additional Information -
Jenkins UI encrypts the "clientSecret" using "[hudson.utils.Secret|https://github.com/jenkinsci/jenkins/blob/master/core/src/main/java/hudson/util/Secret.java]" class and encrypted value is stored in config.xml under Jenkins home folder.
Tried to perform encryption without [Jenkins Script Console|https://wiki.jenkins.io/display/JENKINS/Jenkins+Script+Console] but it's not a viable solution.
How "clientSecret" be provided in values.yaml ??