magnum/magnum/drivers/k8s_coreos_v1/templates/fragments
Johannes Grassler 2d4e617a52 Fix CVE-2016-7404
This commit addresses multiple potential vulnerabilities in
Magnum. It makes the following changes:

* Permissions for /etc/sysconfig/heat-params inside Magnum
  created instances are tightened to 0600 (used to be 0755).
* Certificate retrieval is modified to work without the need
  for a Keystone trust.
* The cluster's Keystone trust id is only passed into
  instances for clusters where that is actually needed. This
  prevents the trustee user from consuming the trust in cases
  where it is not needed.
* The configuration setting trust/cluster_user_trust (False by
  default) is introduced. It needs to be explicitely enabled
  by the cloud operator to allow clusters that need the
  trust_id to be passed into instances to work. Without this
  setting, attempts to create such clusters will fail.

Please note, that none of these changes apply to existing
clusters. They will have to be deleted and rebuilt to benefit
from these changes.

(cherry picked from commit e93d82e8b3)

Changes for backport:

* Moved cluster_user_trust setting to magnum/common/keystone.py
* Resolved merge conflicts.
* Fixed unit tests with configuration overrides.

Change-Id: I408d845ee4fd00d5bcd1e90f0a78f2bba3f2a57a
2017-02-24 17:47:14 +00:00
..
add-proxy.yaml Align k8s CoreOS with atomic: add proxy config 2016-08-16 11:01:15 +07:00
configure-etcd.yaml k8s_coreos_driver: cleanup file naming 2016-07-27 17:41:44 +08:00
create-kube-namespace.yaml k8s_coreos_driver: cleanup file naming 2016-07-27 17:41:44 +08:00
enable-kube-apiserver.yaml k8s_coreos_driver: cleanup file naming 2016-07-27 17:41:44 +08:00
enable-kube-controller-manager.yaml Create sysconfig mount for kubernetes controller mgr 2016-09-12 06:03:10 -04:00
enable-kube-podmaster.yaml k8s_coreos_driver: cleanup file naming 2016-07-27 17:41:44 +08:00
enable-kube-proxy-master.yaml k8s_coreos_driver: cleanup file naming 2016-07-27 17:41:44 +08:00
enable-kube-proxy-minion.yaml Fix an issue on kube-proxy in CoreOS bay 2016-08-14 01:56:37 +00:00
enable-kube-scheduler.yaml Add support for master elected component 2016-08-02 20:21:12 +05:30
enable-kubelet-master.yaml Register master node but make it non schedulable 2016-09-25 13:31:14 +00:00
enable-kubelet-minion.yaml Use kubelet-wrapper provided by CoreOS 2016-08-06 17:11:22 +05:30
enable-network-service.yaml k8s_coreos_driver: cleanup file naming 2016-07-27 17:41:44 +08:00
make-cert-client.yaml Fix CVE-2016-7404 2017-02-24 17:47:14 +00:00
make-cert.yaml Fix CVE-2016-7404 2017-02-24 17:47:14 +00:00
wc-notify.yaml k8s_coreos_driver: cleanup file naming 2016-07-27 17:41:44 +08:00
write-heat-params-master.yaml Fix CVE-2016-7404 2017-02-24 17:47:14 +00:00
write-heat-params.yaml Fix CVE-2016-7404 2017-02-24 17:47:14 +00:00
write-kubeconfig.yaml Fix the CoreOS fragment write-kubeconfig.yaml 2016-08-14 01:56:28 +00:00
write-network-config.yaml k8s_coreos_driver: cleanup file naming 2016-07-27 17:41:44 +08:00