rancher/cluster-template-examples

Clarify comments for `.Values.rke.localClusterAuthEndpoint`

Opened this issue · 1 comments

lindhe commented

The field is named localClusterAuthEndpoint, but the comments talk about "local access endpoint". Is an access endpoint the same thing as an auth endpoint? This should be clarified (e.g. by using consistent terminology)!

Also: I assume these values regards the Authorized Cluster Endpoint feature. This should also be made clearer in the comments!

# enable local auth endpoint
localClusterAuthEndpoint:
enabled: false
# specify fqdn of local access endpoint
# fqdn: foo.bar.example
# specify cacert of local access endpoint
# caCerts: ""

Yes please do.

Also provide an example for the correct syntax for "caCerts"

Using this format, is apparently not supported when the inline yaml configuration gets converted to json. I tried other stuff for the multiline yaml, but none has worked sofar

image

image

Setting this as a base64 sting does work for the conversion. But then in the resulting kubeconfig the cert is double b64-encoded.

Please tell me how to set the caCerts correctly.
Thank you.