Files
opencloud/ocis
Florian Schade f38a9f4385 Introduce Policies-Service (#5716)
* add policies service
add policies proxy middleware
add policies event service
add policies grpc service
prepare ci and git environments (ci, make, readme, doc)

* add webfinger to the drone conf

* fix docs
remove not used virus scan postprocessing step

* relocate example rego file
implicitly enable and disable proxy and postprocessing policy checking by setting the query.
update configuration descriptions

* move policies
update readme

* use converter func to convert pp environment to actual environment
expose and test custom rego functions
add engine unit tests
add opa unit tests
update policies readme

Co-authored-by: Martin <github@diemattels.at>

* relocate sample policies to the deployments folder
change and document policies service port

* update index.md and small fix

* add health command
add version command
add debug server

---------

Co-authored-by: Martin <github@diemattels.at>
2023-03-14 16:08:22 +01:00
..
2022-05-04 14:49:59 +02:00
2023-03-03 16:12:53 +01:00
2023-03-14 16:08:22 +01:00
2022-05-13 11:16:40 +00:00
2022-11-03 09:42:47 +01:00
2020-09-18 13:15:21 +02:00

ocis

The ocis package contains the Infinite Scale runtime and the commands for the Infinite Scale cli.

Service registry

This package also configures the service registry which will be used to look up the service addresses. It defaults to mDNS. Keep that in mind when using systems with mDNS disabled by default (i.e. SUSE).

Available registries are:

  • nats
  • kubernetes
  • etcd
  • consul
  • memory
  • mdns (default)

To configure which registry to use, you have to set the environment variable MICRO_REGISTRY, and for all except memory and mdns you also have to set the registry address via MICRO_REGISTRY_ADDRESS.

etcd

To authenticate the connection to the etcd registry, you have to set ETCD_USERNAME and ETCD_PASSWORD.