Skip to content

Commit 0a44896

Browse files
committed
docs(installer): say a CA-only cert secret must be Opaque
kubernetes.io/tls requires both tls.crt and tls.key, so a Secret that carries only ca.crt is rejected under that type. Assisted-by: LLM Signed-off-by: Kirill Ilin <[email protected]>
1 parent fbfc270 commit 0a44896

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

‎packages/core/installer/values.yaml‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,9 @@ cozystackOperator:
6565
platformSourceSecret: ''
6666
# Name of the Secret in cozy-system namespace with TLS material for an OCI
6767
# platform source: `ca.crt` for a registry whose certificate is issued by a
68-
# private CA, and/or `tls.crt`+`tls.key` for client certificate auth (type
69-
# Opaque or kubernetes.io/tls). When non-empty, sets spec.certSecretRef on the
68+
# private CA, and/or `tls.crt`+`tls.key` for client certificate auth. A
69+
# CA-only Secret must be type Opaque: kubernetes.io/tls requires `tls.crt`
70+
# and `tls.key`. When non-empty, sets spec.certSecretRef on the
7071
# generated OCIRepository; the operator rewrites that object on every start,
7172
# so a certSecretRef patched onto it by hand does not survive a restart.
7273
# The cozystack-packages source copies the spec, so it inherits the CA too.

0 commit comments

Comments
 (0)