Skip to content

Conversation

@grkvlt
Copy link
Member

@grkvlt grkvlt commented Oct 7, 2016

No description provided.

@grkvlt grkvlt force-pushed the kubernetes-tls branch 4 times, most recently from 7a04f47 to a709038 Compare October 7, 2016 11:29
Usernames and passwords in a CSV file. Used for Kubernetes API server basic authentication
default:
"classpath://io.brooklyn.clocker.kubernetes:kubernetes/basic_auth.csv"
"classpath://io.brooklyn.clocker.kubernetes:kubernetes/policy.jsonl"
Copy link
Member

Choose a reason for hiding this comment

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

Why is this file called .jsonl? Is that a typo?

Copy link
Member Author

Choose a reason for hiding this comment

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

It's an awful format called JSON List which is a series of concatenated JSON objects!

sudo mkdir /etc/kubernetes/certs
sudo chown ${USER} /etc/kubernetes/certs
source ${INSTALL_DIR}/certificate-functions.sh
getcert ${CA_REQUEST_ROOT_URL}/cacert/ca.pem /etc/kubernetes/certs/ca.pem
Copy link
Member

Choose a reason for hiding this comment

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

I'm a bit uncomfortable about this. It means the blueprint can't be used with an enterprise's existing CA server, if it does not support this REST api. I wonder if that could be customized by supplying your own certificate-functions.sh (but that script is not customizable).

This is probably a much bigger conversation though.

Copy link
Member Author

Choose a reason for hiding this comment

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

Agree, but that is a change that should be applied to all entities in Clocker that use TLS and the CA server

@grkvlt grkvlt force-pushed the kubernetes-tls branch 5 times, most recently from ee4b8d5 to c1a484c Compare November 25, 2016 16:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants