Skip to content

cut v0.5.1 - #151

Merged
brancz merged 1 commit into
prometheus-operator:masterfrom
brancz:cut-0.5.1
Feb 20, 2017
Merged

brancz merged 1 commit into
prometheus-operator:masterfrom
brancz:cut-0.5.1

Conversation

@brancz

@brancz brancz commented Feb 17, 2017

Copy link
Copy Markdown
Contributor

@fabxc

/cc @aerokite @tamalsaha

@fabxc

fabxc commented Feb 20, 2017

Copy link
Copy Markdown
Contributor

👍

@brancz
brancz merged commit b171480 into prometheus-operator:master Feb 20, 2017
@brancz
brancz deleted the cut-0.5.1 branch February 20, 2017 09:51
simonpasquier pushed a commit to simonpasquier/prometheus-operator that referenced this pull request Feb 3, 2022
…es-master

[bot] Bump openshift/prometheus-operator to v0.54.0
bicknell-effodio added a commit to bicknell-effodio/prometheus-operator that referenced this pull request May 20, 2026
Apply the review feedback from prometheus-operator#8577.

Design changes:

- Drop operator-managed internal user. The operator no longer generates
  credentials or owns a Secret with a stable name. Replaced with a
  user-supplied `web.internalUser` field referencing a Secret with three
  keys: username, password (plaintext), and an optional passwordBcrypt.
- When passwordBcrypt is absent, the operator bcrypts the plaintext at
  reconcile and caches the result keyed on a hash of the plaintext, so
  reconciles where the plaintext is unchanged reuse the cached bcrypt and
  produce byte-identical web-config Secrets.
- When passwordBcrypt is set, the operator verifies it matches the
  plaintext and writes it verbatim. On mismatch the operator falls back to
  default-mode bcrypting with a Warning event; the system stays functional.
- In-pod callers (probes, reloader, sidecar) read credentials from a
  mounted Secret volume so rotation propagates without pod restarts.
  Reloader uses --reload-basic-auth-password-file rather than an env var.
- Add Thanos version gate (>= 0.24.0) for the http-client-file flag.
- basicAuthUsers without internalUser is now a reconcile error.

Text changes:

- Workarounds list rewritten: drop the unsupported spec.secrets bullet,
  add the reverse-proxy sidecar pattern with a reference to Hades32's
  comment in prometheus-operator#4652, drop the "most popular" framing for which we have no
  data.
- Rename the "Ingress-level auth is no longer a defensible answer"
  subsection to "Proxy-based workarounds share a structural limitation".
  Treat the proxy-in-front pattern generically; trim the ingress-nginx
  retirement discussion to a single soft sentence with one citation; add
  an explicit acknowledgment that basic auth is not a complete security
  solution and layered defenses (NetworkPolicies, TLS) are encouraged.
- Validation section expanded with the new internal user rules and the
  reconcile-time bcrypt format heuristics. CEL enforces only the
  structural rule (basicAuthUsers requires internalUser); content-based
  checks are runtime events since CEL cannot read Secret values.
- Open questions trimmed to one item (exporter-toolkit prometheus-operator#151 follow-up).
  Status-condition/metric and CEL-on-Secret-values questions dropped.
- Add a new Alternatives entry documenting Secret-as-user-list as
  considered and rejected for v1, with rationale and forward-compat note.
- Take the suggested addition to the operator-side-bcrypt rejection
  bullet ("exposes the operator to potential security issues which
  maintainers don't want to deal with") and clarify that the bullet
  addresses the general case; the internal user's bounded operator-side
  bcrypt is a different question handled in "Internal user" above.

cspell:

- Add bcrypting, bcrypts, htpasswd to the dictionary for the new wording.

Signed-off-by: Leo Bicknell <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants