Skip to content

Conversation

@jubrad
Copy link
Contributor

@jubrad jubrad commented Dec 4, 2025

Motivation

Currently we don't validate the cert on the balancer side. It'll still generated an used to encrypt but since there's no validation it's susceptible to MIM.

Tips for reviewer

Checklist

  • This PR has adequate test coverage / QA involvement has been duly considered. (trigger-ci for additional test/nightly runs)
  • This PR has an associated up-to-date design doc, is a design doc (template), or is sufficiently small to not require a design.
  • If this PR evolves an existing $T ⇔ Proto$T mapping (possibly in a backwards-incompatible way), then it is tagged with a T-proto label.
  • If this PR will require changes to cloud orchestration or tests, there is a companion cloud PR to account for those changes that is tagged with the release-blocker label (example).
  • If this PR includes major user-facing behavior changes, I have pinged the relevant PM to schedule a changelog post.

@jubrad jubrad requested review from a team as code owners December 4, 2025 16:15
/// The cert-manager Issuer or ClusterIssuer to use for database internal communication.
/// The `issuerRef` field is required.
/// This currently is only used for environmentd, but will eventually support clusterd.
// Implementation in progress:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i think it makes sense to have the "implementation in progress" notes as a normal (non-doc) comment, but can we also add a big "do not use" warning as a doc comment here as well, so it shows up in our generated docs?

@jubrad jubrad force-pushed the materialize-cert-crd-doc-update branch from e1a3252 to 21777ac Compare December 4, 2025 16:49
/// The cert-manager Issuer or ClusterIssuer to use for database internal communication.
/// The `issuerRef` field is required.
/// This currently is only used for environmentd, but will eventually support clusterd.
/// Implementation in progress:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i don't think we need in progress notes in our public docs? can we just say "not yet implemented" in the public doc comment like console_external_certificate_spec does, and leave the progress notes as a non-doc comment?

@jubrad jubrad force-pushed the materialize-cert-crd-doc-update branch from 21777ac to 0d45755 Compare December 4, 2025 21:04
@jubrad jubrad enabled auto-merge December 4, 2025 21:37
@jubrad jubrad disabled auto-merge December 4, 2025 21:38
@jubrad jubrad force-pushed the materialize-cert-crd-doc-update branch from 0d45755 to d3bd887 Compare December 4, 2025 21:39
"name": "internalCertificateSpec",
"type": "MaterializeCertSpec",
"description": "The cert-manager Issuer or ClusterIssuer to use for database internal communication.\nThe `issuerRef` field is required.\nThis currently is only used for environmentd, but will eventually support clusterd.",
"description": "The cert-manager Issuer or ClusterIssuer to use for database internal communication.\nThe `issuerRef` field is required.\nThis currently is only used for environmentd, but will eventually support clusterd.\nNot yet implemented.",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Heh ... that "Not yet implemented" -- Is it referring to the clusterd part? Because it's in a standalone sentence ... it makes it sound like the whole thing is not yet implemented. Kind of like, if we had added a Deprecated afterwards ... it'd be more for the whole thing.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh ... actually, reading the description... exactly, what is not implemented?

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.

3 participants