permission-controller

command module
v0.0.0-...-ac28c45 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 12, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

README

TO BE REMOVED

Overview

The Permission Controller listens for new Namespaces and creates a RoleBinding for the users of the specified group to the kyma-admin role within these Namespaces. The Controller uses a blocking mechanism which defines the Namespaces in which the users of the defined group are not assigned the kyma-admin role. When the Controller is deployed in a cluster, it checks all existing Namespaces and assigns the roles accordingly.

Prerequisites

  • working Kubernetes cluster
  • go 1.12 or higher
  • docker

Development

The development process uses the formulae declared in the generic and component-specific Makefiles.

Verify your changes and run tests

Before each commit, use the verify formula to test your changes:

make verify
Build a Docker image

Use the the build-image formula to build a Docker image of the controller:

make build-image
Run on a Kubernetes cluster using local sources

Use the run formula to run the controller using local sources:

make run EXCLUDED_NAMESPACES={EXCLUDED_NAMESPACES} SUBJECT_GROUPS={SUBJECT_GROUPS} STATIC_CONNECTOR={STATIC_CONNECTOR}

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL