k3s/test/integration
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
..
apiserver Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
auth Merge pull request #63653 from WanLinghao/token_expiry_limit 2018-06-27 00:31:08 -07:00
benchmark/jsonify Autogenerated: hack/update-bazel.sh 2018-02-16 13:43:01 -08:00
client Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
configmap Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
daemonset Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
defaulttolerationseconds Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
deployment Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
etcd Enable coordination api group 2018-06-27 13:30:13 +02:00
evictions Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
examples Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
framework Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
garbagecollector Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
ipamperf Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
master Add support for linux abstract socket namespace. 2018-06-25 09:41:14 -07:00
metrics Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
objectmeta Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
openshift Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
pods Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
quota Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
replicaset Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
replicationcontroller Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
scale Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
scheduler Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
scheduler_perf Merge pull request #64936 from wgliang/master.scheduler_perf_test 2018-06-22 19:03:16 -07:00
secrets Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
serviceaccount Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
statefulset Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
storageclasses Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
tls master count and lease endpoint tests 2018-04-27 13:03:31 -05:00
ttlcontroller Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
util Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
volume Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
BUILD Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
benchmark-controller.json Use pause manifest image 2018-04-06 11:00:50 +05:30
doc.go don't use build tags to mark integration tests 2017-04-28 14:19:39 -07:00
utils.go aesgcm - passing 2018-01-31 10:50:11 -08:00