1
0
mirror of https://github.com/rancher/types.git synced 2025-07-17 06:51:02 +00:00
Mirror from GitHub
Go to file
rajashree dc55e60da1 Make service account creds required for google oauth
In the absence of service account creds, non-admin users from google's
hosted domain cannot lookup groups, even their own groups (Restriction
from google api). So even during login we can't find out what groups the
user belongs to. Admins of hosted google domain do not have the same restriction.
So they can still search for and add groups that non-admin google users
belong to. This will cause lot of inconsistencies, since admins can add
a user's groups, but user still won't have access to rancher. So making
service account credentials a required field will avoid all this, and
searching users/groups will work equally for all google users.

Hostname should not be updatable once auth is setup, since the
principalIds assigned to users after they log into rancher contain
their google addresses which have the hostname.
2019-06-21 10:55:50 -07:00
apis Make service account creds required for google oauth 2019-06-21 10:55:50 -07:00
client generated code 2019-06-21 09:55:42 -07:00
compose Generated Changes 2019-06-10 15:37:51 -07:00
config Add HPA type to schema 2019-05-31 07:57:20 -07:00
factory Add support for storageClass and cleanup some storage types 2018-02-14 11:17:33 -07:00
generator UserAttribute backend 2018-06-19 09:51:38 -07:00
image Mirror to rancher support for minio 2019-04-26 11:52:01 -07:00
mapper Add HPA type to schema 2019-05-31 07:57:20 -07:00
package Initial Commit 2017-11-10 13:51:47 -07:00
peermanager Add peer manager 2018-09-18 18:17:26 -07:00
scripts Switch to go1.11 2018-09-25 12:31:36 -07:00
status Add HPA type to schema 2019-05-31 07:57:20 -07:00
user Add GetUserFromCache to user manager interface 2019-02-14 11:04:54 -08:00
vendor Update vendor and generate code 2019-05-28 18:58:21 -07:00
.dockerignore Initial Commit 2017-11-10 13:51:47 -07:00
.drone.yml update drone syntax for 1.x 2019-03-19 20:59:37 -07:00
.gitignore alwaysPullImages and cadvisor port default 2019-01-07 09:28:05 -08:00
Dockerfile.dapper Use release branch for goimports 2019-06-12 13:26:53 -07:00
LICENSE Initial Commit 2017-11-10 13:51:47 -07:00
main.go Add HPA type to schema 2019-05-31 07:57:20 -07:00
Makefile Switch to go1.11 2018-09-25 12:31:36 -07:00
README.md Running go generate 2018-03-07 10:53:57 -08:00
vendor.conf Update vendor and generate code 2019-05-28 18:58:21 -07:00

Rancher API Types

API Types for Rancher 2.0

Building

make

Running the code generator

Run go generate in the root of the project

License

Copyright (c) 2014-2017 Rancher Labs, Inc.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.