Move tenant to default system ns
Delete auto network when tenant is deleted
Implements: blueprint cni-controller
Change-Id: I886d9ee4892297461c7a1d2eb02570c8c14bd581
- Adds stackube proxy which listens on endpoints, services and
namespaces, creates load balancer rules for clusterIP service
- Switch to govendor for managing vendors
- Add hack scripts for verifying govet and gofmt
Change-Id: I8594c16d294f46ae0d3dec6dae6fa491e7891b8b
Implements: blueprint stackube-proxy
Create tenant and network for 3 namespaces:
default, kube-system, kube-public
They will share "default" tenant and "kube-default-default-network"
Change-Id: I4cb195d544a5a8d6d3fdd356a3a89582daaafdbf
Implements: blueprint auth-controller
This PR reworks auth controller to use informer framework.
It also fix the problem of tenant and user not created.
Change-Id: I017032f2eb4d83440319729d9f1fb13351f4d72b
Closes-Bug: 1702841
Signed-off-by: Pengfei Ni <feiskyer@gmail.com>
Usage of ./stackube-controller:
--alsologtostderr log to standard error as well as files
--cloudconfig string path to stackube config file (default "/etc/stackube.conf")
--kubeconfig string path to kubernetes admin config file (default "/etc/kubernetes/admin.conf")
--log-backtrace-at traceLocation when logging hits line file:N, emit a stack trace (default :0)
--log-dir string If non-empty, write log files in this directory
--log-flush-frequency duration Maximum number of seconds between log flushes (default 5s)
--logtostderr log to standard error instead of files (default true)
--stderrthreshold severity logs at or above this threshold go to stderr (default 2)
-v, --v Level log level for V logs
--vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging
Change-Id: I2dfa762c3e076c7e41b49b4f27c3868bed03eba8
Signed-off-by: Pengfei Ni <feiskyer@gmail.com>
Update including
* Fix tenants users v2.0 URL in Ocata version of openstack
* Support password option of create user in identity v2
* Add ListUsers by tenantID method in identity v2
Change-Id: Ie2e34d9196907fab5048e468d9ddfbf7e4c6d78e
Signed-off-by: mozhuli <21621232@zju.edu.cn>
This PR update github.com/gophercloud/gophercloud vendor
and delete extra vendor
Change-Id: I073d7fe5211b0b2321266ece545e0c4b1fc07b0d
Signed-off-by: mozhuli <21621232@zju.edu.cn>
The plugin install components including
* OpenStack Keystone, Neutron and Cinder with Ceph backend
* Kubernetes with frakti container runtime
* Kubernetes auth via keystone
Implements: blueprint kubernetes-deploy
Change-Id: Ib2ad60b71bc51bdedaefd7014c83ed7ba56414e3
Signed-off-by: Pengfei Ni <feiskyer@gmail.com>
This is for aligning with Golang CTI proposed proposed in
https://review.openstack.org/410355.
Change-Id: I04c25e8bde1bcb6c17b12284b67eb3e9953d94fe
Signed-off-by: Pengfei Ni <feiskyer@gmail.com>