-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Description
Bug Report
What did you do?
As a part of a hack day, we created a Jenkins operator from the stable/jenkins chart, with a couple of modifications. After installing the operator, we noticed that the jenkins admin password, which is defined to be generated randomly, is regenerated indefinitely.
Repository can be found here: https://github.com/jenkins-operator/jenkins-operator
Line in template causing the problem: https://github.com/jenkins-operator/jenkins-operator/blob/master/helm-charts/jenkins/templates/secret.yaml#L18
Currently the repository contains a hard coded admin password (set to "admin" of course 🥇).
What did you expect to see?
We expected the password to be generated once and remain consistent.
What did you see instead? Under which circumstances?
The password was changing every few moments, probably due to a reconciliation loop.
Environment
- operator-sdk version:
operator-sdk version: v0.8.2, commit: 28bd2b0
- go version:
go version go1.11.5 linux/amd64
- Kubernetes version information:
minishift v1.33.0+ba29431
-
Kubernetes cluster kind: MiniShift
-
Are you writing your operator in ansible, helm, or go?
Helm
Thank you very much!