k3s/test
Kubernetes Submit Queue 75c8b56dcb
Merge pull request #64575 from immutableT/in-memory-domain-socket
Automatic merge from submit-queue (batch tested with PRs 64575, 65120, 65463, 65434, 65522). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

Add support for Linux Abstract Socket Namespace for KMS provider plugin.

**What this PR does / why we need it**:
Currently, kube-apiserver and kms-plugin interact via a Unix Domain Socket. The current implementation, assumes that such a Domain Socket is supported via a socket file, which is in turn is supported via a volume shared between kube-apiserver and kms-plugin containers.
However, Linux supports Abstract Socket Namespace, where a socket does not need to be back-up by a file. In golang, such sockets are created by prefixing a socket's name with @.

Benefits of using Linux Abstract Socket Namespace:
1. Don't need to worry about possible collisions with existing files.
2. Simpler configuration of master's manifest - no need to setup a shared volume between kube-apiserver and kms-plugin containers.
3. Don't need to remember to unlink the socket when KMS Plugin shuts down.
4. Creates a possibility to run KMS Plugin without access to file system.

This PR adds the ability to define a KMS endpoint as: unix:///@kms-provider.sock

**Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
Fixes #

**Special notes for your reviewer**:

**Release note**:

```release-note
NONE
```
2018-06-28 02:20:09 -07:00
..
conformance Promote watch e2e test to conformance 2018-05-30 00:13:57 -07:00
e2e Merge pull request #65492 from agau4779/add_neg_annotation 2018-06-27 02:15:04 -07:00
e2e_kubeadm Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
e2e_node Merge pull request #49410 from jasonbrooks/patch-1 2018-06-26 02:52:11 -07:00
fixtures Merge pull request #62657 from matthyx/master 2018-05-02 19:44:32 -07:00
images Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
integration Merge pull request #64575 from immutableT/in-memory-domain-socket 2018-06-28 02:20:09 -07:00
kubemark Update all script to use /usr/bin/env bash in shebang 2018-04-19 13:20:13 +02:00
list
soak Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
typecheck Deduplicate identical typecheck errors between platforms. 2018-03-28 19:42:48 -07:00
utils Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
BUILD Generated artefacts 2018-04-30 10:00:13 -04:00
OWNERS
test_owners.csv Move pkg/scheduler/schedulercache -> pkg/scheduler/cache 2018-05-31 22:55:34 +08:00
test_owners.json