kubernetes/test/e2e
Kubernetes Submit Queue 0f2c6fc7fc Merge pull request #37009 from sjenning/fix-perms-with-fsgroup
Automatic merge from submit-queue (batch tested with PRs 38294, 37009, 36778, 38130, 37835)

fix permissions when using fsGroup

Currently, when an fsGroup is specified, the permissions of the defaultMode are not respected and all files created by the atomic writer have mode 777.  This is because in `SetVolumeOwnership()` the `filepath.Walk` includes the symlinks created by the atomic writer.  The symlinks have mode 777 when read from `info.Mode()`.  However, when the are chmod'ed later, the chmod applies to the file the symlink points to, not the symlink itself, resulting in the wrong mode for the underlying file.

This PR skips chmod/chown for symlinks in the walk since those operations are carried out on the underlying file which will be included elsewhere in the walk.

xref https://bugzilla.redhat.com/show_bug.cgi?id=1384458

@derekwaynecarr @pmorie
2016-12-07 10:45:16 -08:00
..
chaosmonkey autogenerated 2016-10-21 17:32:32 -07:00
common fix permissions when using fsGroup 2016-12-06 14:04:16 -06:00
framework Fix skip logic in e2e framework 2016-12-07 12:07:27 +01:00
generated - Moved gobindata, refactored ReadOrDie refs 2016-12-02 12:57:03 -05:00
perftype autogenerated 2016-10-21 17:32:32 -07:00
testing-manifests Remove initialized annotation from statefulset examples 2016-11-23 10:40:42 -08:00
addon_update.go test/e2e 2016-11-23 15:53:09 -08:00
apparmor.go Add cluster-level AppArmor E2E test 2016-12-02 10:37:28 -08:00
autoscaling_utils.go test/e2e 2016-11-23 15:53:09 -08:00
batch_v1_jobs.go test/e2e 2016-11-23 15:53:09 -08:00
BUILD Test owners update. 2016-12-05 10:33:16 -08:00
cadvisor.go test/e2e 2016-11-23 15:53:09 -08:00
cluster_logging_es.go test/e2e 2016-11-23 15:53:09 -08:00
cluster_logging_gcl.go Make logging for gcl e2e test more verbose 2016-11-29 18:19:56 +01:00
cluster_logging_utils.go test/e2e 2016-11-23 15:53:09 -08:00
cluster_size_autoscaling.go Skip not registered nodes in labeling in CA e2e tests 2016-12-06 20:32:24 +01:00
cluster_upgrade.go test/e2e 2016-11-23 15:53:09 -08:00
cronjob.go generated: refactor 2016-11-23 22:30:47 -06:00
daemon_restart.go test/e2e 2016-11-23 15:53:09 -08:00
daemon_set.go refactor: update bazel, codec, and gofmt 2016-12-03 19:10:53 -05:00
dashboard.go Replace client with clientset in code 2016-10-23 22:00:35 +02:00
density.go Make it possible to run Load test using Deployments or ReplicaSets 2016-12-06 12:22:58 +01:00
deployment.go Merge pull request #38221 from kubernetes/revert-38157-disable-overlapping-deployment 2016-12-06 21:14:35 -08:00
disruption.go refactor: update bazel, codec, and gofmt 2016-12-03 19:10:53 -05:00
dns.go refactor: update bazel, codec, and gofmt 2016-12-03 19:10:53 -05:00
dns_autoscaling.go Fixes flake: wait for dns pods terminating after test completed 2016-11-30 21:04:04 -08:00
dns_configmap.go refactor: update bazel, codec, and gofmt 2016-12-03 19:10:53 -05:00
e2e-example-config.json Add viper support to core e2es 2016-09-15 18:38:01 -04:00
e2e.go - Moved gobindata, refactored ReadOrDie refs 2016-12-02 12:57:03 -05:00
e2e_test.go Add viper support to core e2es 2016-09-15 18:38:01 -04:00
empty.go Stricter timeouts for nodePort curling 2016-11-03 22:31:39 -07:00
empty_dir_wrapper.go test/e2e 2016-11-23 15:53:09 -08:00
etcd_failure.go test/e2e 2016-11-23 15:53:09 -08:00
events.go test/e2e 2016-11-23 15:53:09 -08:00
example_cluster_dns.go Make it possible to run Load test using Deployments or ReplicaSets 2016-12-06 12:22:58 +01:00
example_k8petstore.go test/e2e 2016-11-23 15:53:09 -08:00
examples.go New ns param for NewClusterVerification 2016-12-05 16:27:07 -05:00
federated-ingress.go Updating federation e2e tests to verify cascading deletion 2016-11-18 14:44:06 -08:00
federated-namespace.go test/e2e 2016-11-23 15:53:09 -08:00
federated-secret.go test/e2e 2016-11-23 15:53:09 -08:00
federated-service.go Added a comment about the reasoning. 2016-12-05 10:33:16 -08:00
federation-apiserver.go Replace client with clientset in code 2016-10-23 22:00:35 +02:00
federation-authn.go Replace client with clientset in code 2016-10-23 22:00:35 +02:00
federation-daemonset.go Updating federation e2e tests to verify cascading deletion 2016-11-18 14:44:06 -08:00
federation-deployment.go refactor: update bazel, codec, and gofmt 2016-12-03 19:10:53 -05:00
federation-event.go Replace client with clientset in code 2016-10-23 22:00:35 +02:00
federation-replicaset.go refactor: update bazel, codec, and gofmt 2016-12-03 19:10:53 -05:00
federation-util-14.go Fix package aliases to follow golang convention 2016-11-30 15:40:50 +08:00
federation-util.go test/e2e 2016-11-23 15:53:09 -08:00
garbage_collector.go refactor: update bazel, codec, and gofmt 2016-12-03 19:10:53 -05:00
generated_clientset.go test/e2e 2016-11-23 15:53:09 -08:00
gke_local_ssd.go refactor: update bazel, codec, and gofmt 2016-12-03 19:10:53 -05:00
gke_node_pools.go Use clientset in GetReadySchedulableNodesOrDie 2016-10-19 15:55:39 +02:00
google_compute.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
ha_master.go Revert "Removed "feature" tag" 2016-11-24 11:52:31 +01:00
horizontal_pod_autoscaling.go test/e2e 2016-11-23 15:53:09 -08:00
ingress.go Replace client with clientset in code 2016-10-23 22:00:35 +02:00
ingress_utils.go Merge pull request #37418 from bprashanth/ing_cleanup 2016-12-02 03:31:38 -08:00
initial_resources.go test/e2e 2016-11-23 15:53:09 -08:00
job.go test/e2e 2016-11-23 15:53:09 -08:00
kibana_logging.go test/e2e 2016-11-23 15:53:09 -08:00
kube_proxy.go test/e2e 2016-11-23 15:53:09 -08:00
kubectl.go New ns param for NewClusterVerification 2016-12-05 16:27:07 -05:00
kubelet.go test/e2e 2016-11-23 15:53:09 -08:00
kubelet_perf.go test/e2e 2016-11-23 15:53:09 -08:00
limit_range.go test/e2e 2016-11-23 15:53:09 -08:00
load.go Make it possible to run Load test using Deployments or ReplicaSets 2016-12-06 12:22:58 +01:00
logging_soak.go New ns param for NewClusterVerification 2016-12-05 16:27:07 -05:00
mesos.go refactor: update bazel, codec, and gofmt 2016-12-03 19:10:53 -05:00
metrics_grabber_test.go test/e2e 2016-11-23 15:53:09 -08:00
monitoring.go test/e2e 2016-11-23 15:53:09 -08:00
namespace.go test/e2e 2016-11-23 15:53:09 -08:00
network_partition.go Revert "Skip StatefulSet e2e tests if this resource is not found" 2016-12-02 15:50:19 -08:00
networking.go Replace client with clientset in code 2016-10-23 22:00:35 +02:00
networking_perf.go New ns param for NewClusterVerification 2016-12-05 16:27:07 -05:00
node_problem_detector.go test/e2e 2016-11-23 15:53:09 -08:00
nodeoutofdisk.go test/e2e 2016-11-23 15:53:09 -08:00
opaque_resource.go test/e2e 2016-11-23 15:53:09 -08:00
pd.go refactor: update bazel, codec, and gofmt 2016-12-03 19:10:53 -05:00
persistent_volumes.go refactor: update bazel, codec, and gofmt 2016-12-03 19:10:53 -05:00
petset.go refactor: update bazel, codec, and gofmt 2016-12-03 19:10:53 -05:00
pod_gc.go test/e2e 2016-11-23 15:53:09 -08:00
pods.go test/e2e 2016-11-23 15:53:09 -08:00
portforward.go e2e: mark 3rd portforwarding test as flaky 2016-12-07 12:42:46 +01:00
pre_stop.go test/e2e 2016-11-23 15:53:09 -08:00
proxy.go test/e2e 2016-11-23 15:53:09 -08:00
rc.go test/e2e 2016-11-23 15:53:09 -08:00
reboot.go Adds termination hook in reboot test for debugging 2016-11-29 10:10:38 -08:00
replica_set.go refactor: update bazel, codec, and gofmt 2016-12-03 19:10:53 -05:00
rescheduler.go test/e2e 2016-11-23 15:53:09 -08:00
resize_nodes.go refactor: update bazel, codec, and gofmt 2016-12-03 19:10:53 -05:00
resource_quota.go test/e2e 2016-11-23 15:53:09 -08:00
restart.go test/e2e 2016-11-23 15:53:09 -08:00
scheduler_predicates.go test/e2e 2016-11-23 15:53:09 -08:00
security_context.go test/e2e 2016-11-23 15:53:09 -08:00
service.go Move some lb tests to the slow suite 2016-12-05 15:35:55 -08:00
service_accounts.go test/e2e 2016-11-23 15:53:09 -08:00
service_latency.go test/e2e 2016-11-23 15:53:09 -08:00
serviceloadbalancers.go Make it possible to run Load test using Deployments or ReplicaSets 2016-12-06 12:22:58 +01:00
ssh.go Use clientset in GetReadySchedulableNodesOrDie 2016-10-19 15:55:39 +02:00
third-party.go make thirdparty codec able to decode DeleteOptions 2016-12-05 15:54:02 -08:00
ubernetes_lite.go refactor: update bazel, codec, and gofmt 2016-12-03 19:10:53 -05:00
util_iperf.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
volume_provisioning.go refactor: update bazel, codec, and gofmt 2016-12-03 19:10:53 -05:00
volumes.go refactor: update bazel, codec, and gofmt 2016-12-03 19:10:53 -05:00