Skip to content

Commit

Permalink
kube:admin user
Browse files Browse the repository at this point in the history
  • Loading branch information
MuneebAijaz committed Dec 5, 2023
1 parent 8061c54 commit 8f4fe2e
Show file tree
Hide file tree
Showing 11 changed files with 26 additions and 23 deletions.
2 changes: 1 addition & 1 deletion content/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@

- Started to support Kubernetes along with OpenShift as platform type.
- Support of MTO's PostgreSQL instance as persistent storage for keycloak.
- Added `kube:admin` as default cluster admin within MTO.
- `kube:admin` is now bypassed by default to perform operations, earlier `kube:admin` needed to be mentioned in respective tenants to give it access over namespaces.

## v0.9.x

Expand Down
2 changes: 1 addition & 1 deletion content/how-to-guides/integration-config.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ apiVersion: tenantoperator.stakater.com/v1alpha1
kind: IntegrationConfig
metadata:
name: tenant-operator-config
namespace: stakater-tenant-operator
namespace: multi-tenant-operator
spec:
tenantRoles:
default:
Expand Down
5 changes: 4 additions & 1 deletion content/integration-config.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ apiVersion: tenantoperator.stakater.com/v1alpha1
kind: IntegrationConfig
metadata:
name: tenant-operator-config
namespace: stakater-tenant-operator
namespace: multi-tenant-operator
spec:
tenantRoles:
default:
Expand Down Expand Up @@ -253,6 +253,9 @@ users:

`clusterAdminGroups:` Contains names of the groups that are allowed to perform CRUD operations on namespaces present on the cluster. Users in the specified group(s) will be able to perform these operations without MTO getting in their way

!!! note
User `kube:admin` is bypassed by default to perform operations as a cluster admin, this includes operations on all of the namespaces.

### Privileged Namespaces

`privilegedNamespaces:` Contains the list of `namespaces` ignored by MTO. MTO will not manage the `namespaces` in this list. Values in this list are regex patterns.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ apiVersion: tenantoperator.stakater.com/v1alpha1
kind: IntegrationConfig
metadata:
name: tenant-operator-config
namespace: stakater-tenant-operator
namespace: multi-tenant-operator
spec:
openshift:
project:
Expand Down
4 changes: 2 additions & 2 deletions content/reference-guides/custom-roles.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ apiVersion: tenantoperator.stakater.com/v1alpha1
kind: IntegrationConfig
metadata:
name: tenant-operator-config
namespace: stakater-tenant-operator
namespace: multi-tenant-operator
spec:
tenantRoles:
default:
Expand All @@ -35,7 +35,7 @@ apiVersion: tenantoperator.stakater.com/v1alpha1
kind: IntegrationConfig
metadata:
name: tenant-operator-config
namespace: stakater-tenant-operator
namespace: multi-tenant-operator
spec:
tenantRoles:
default:
Expand Down
8 changes: 4 additions & 4 deletions content/reference-guides/integrationconfig.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ apiVersion: tenantoperator.stakater.com/v1alpha1
kind: IntegrationConfig
metadata:
name: tenant-operator-config
namespace: stakater-tenant-operator
namespace: multi-tenant-operator
spec:
openshift:
privilegedNamespaces:
Expand All @@ -44,7 +44,7 @@ apiVersion: tenantoperator.stakater.com/v1alpha1
kind: IntegrationConfig
metadata:
name: tenant-operator-config
namespace: stakater-tenant-operator
namespace: multi-tenant-operator
spec:
openshift:
privilegedServiceAccounts:
Expand All @@ -62,7 +62,7 @@ apiVersion: tenantoperator.stakater.com/v1alpha1
kind: IntegrationConfig
metadata:
name: tenant-operator-config
namespace: stakater-tenant-operator
namespace: multi-tenant-operator
spec:
openshift:
privilegedServiceAccounts:
Expand All @@ -85,7 +85,7 @@ apiVersion: tenantoperator.stakater.com/v1alpha1
kind: IntegrationConfig
metadata:
name: tenant-operator-config
namespace: stakater-tenant-operator
namespace: multi-tenant-operator
spec:
vault:
enabled: true
Expand Down
6 changes: 3 additions & 3 deletions content/tutorials/argocd/enabling-multi-tenancy-argocd.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ apiVersion: tenantoperator.stakater.com/v1alpha1
kind: IntegrationConfig
metadata:
name: tenant-operator-config
namespace: stakater-tenant-operator
namespace: multi-tenant-operator
spec:
...
argocd:
Expand Down Expand Up @@ -138,7 +138,7 @@ apiVersion: tenantoperator.stakater.com/v1alpha1
kind: IntegrationConfig
metadata:
name: tenant-operator-config
namespace: stakater-tenant-operator
namespace: multi-tenant-operator
spec:
...
argocd:
Expand Down Expand Up @@ -178,7 +178,7 @@ apiVersion: tenantoperator.stakater.com/v1alpha1
kind: IntegrationConfig
metadata:
name: tenant-operator-config
namespace: stakater-tenant-operator
namespace: multi-tenant-operator
spec:
...
argocd:
Expand Down
6 changes: 3 additions & 3 deletions content/usecases/argocd.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ apiVersion: tenantoperator.stakater.com/v1alpha1
kind: IntegrationConfig
metadata:
name: tenant-operator-config
namespace: stakater-tenant-operator
namespace: multi-tenant-operator
spec:
...
argocd:
Expand Down Expand Up @@ -116,7 +116,7 @@ apiVersion: tenantoperator.stakater.com/v1alpha1
kind: IntegrationConfig
metadata:
name: tenant-operator-config
namespace: stakater-tenant-operator
namespace: multi-tenant-operator
spec:
...
argocd:
Expand Down Expand Up @@ -156,7 +156,7 @@ apiVersion: tenantoperator.stakater.com/v1alpha1
kind: IntegrationConfig
metadata:
name: tenant-operator-config
namespace: stakater-tenant-operator
namespace: multi-tenant-operator
spec:
...
argocd:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ apiVersion: tenantoperator.stakater.com/v1alpha1
kind: IntegrationConfig
metadata:
name: tenant-operator-config
namespace: stakater-tenant-operator
namespace: multi-tenant-operator
spec:
openshift:
project:
Expand Down
4 changes: 2 additions & 2 deletions content/usecases/custom-roles.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ apiVersion: tenantoperator.stakater.com/v1alpha1
kind: IntegrationConfig
metadata:
name: tenant-operator-config
namespace: stakater-tenant-operator
namespace: multi-tenant-operator
spec:
tenantRoles:
default:
Expand All @@ -35,7 +35,7 @@ apiVersion: tenantoperator.stakater.com/v1alpha1
kind: IntegrationConfig
metadata:
name: tenant-operator-config
namespace: stakater-tenant-operator
namespace: multi-tenant-operator
spec:
tenantRoles:
default:
Expand Down
8 changes: 4 additions & 4 deletions content/usecases/integrationconfig.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ apiVersion: tenantoperator.stakater.com/v1alpha1
kind: IntegrationConfig
metadata:
name: tenant-operator-config
namespace: stakater-tenant-operator
namespace: multi-tenant-operator
spec:
openshift:
privilegedNamespaces:
Expand All @@ -44,7 +44,7 @@ apiVersion: tenantoperator.stakater.com/v1alpha1
kind: IntegrationConfig
metadata:
name: tenant-operator-config
namespace: stakater-tenant-operator
namespace: multi-tenant-operator
spec:
openshift:
privilegedServiceAccounts:
Expand All @@ -62,7 +62,7 @@ apiVersion: tenantoperator.stakater.com/v1alpha1
kind: IntegrationConfig
metadata:
name: tenant-operator-config
namespace: stakater-tenant-operator
namespace: multi-tenant-operator
spec:
openshift:
privilegedServiceAccounts:
Expand All @@ -85,7 +85,7 @@ apiVersion: tenantoperator.stakater.com/v1alpha1
kind: IntegrationConfig
metadata:
name: tenant-operator-config
namespace: stakater-tenant-operator
namespace: multi-tenant-operator
spec:
vault:
enabled: true
Expand Down

0 comments on commit 8f4fe2e

Please sign in to comment.