Skip to content

[Helm] Random password regenerated indefinitely #1862

@maorfr

Description

@maorfr

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!

Metadata

Metadata

Assignees

Labels

language/helmIssue is related to a Helm operator projecttriage/duplicateIndicates an issue is a duplicate of other open issue.triage/supportIndicates an issue that is a support question.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions