elasticsearch-security-operator

command module
v0.0.0-...-3120ddf Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2021 License: Apache-2.0 Imports: 12 Imported by: 0

README

Elasticsearch-security-operator

Go Report Card [Go Report Card

This operator provides full lifecycle of Elasticsearch users,roles,rolemapping and alerts.

Configuration

You can pass configuration with environment variables or file with following parameters:

Key Environment variable Value
endpoint ELASTICSEARCH_ENDPOINT Elasticsearch endpoint
alertAPIPath ELASTICSEARCH_ALERT_API_PATH Path to alerts api endpoint (for example _opendistro/_alerting/monitors)
roleAPIPath ELASTICSEARCH_ROLE_API_PATH Path to roles api endpoint (for example _opendistro/_security/api/roles)
userAPIPath ELASTICSEARCH_USER_API_PATH Path to users api endpoint (for example _opendistro/_security/api/internalusers)
tenantAPIPath ELASTICSEARCH_TENANT_API_PATH Path to tenants api endpoint (for example _opendistro/_security/api/tenants)
roleMappingAPIPath ELASTICSEARCH_ROLEMAPPING_API_PATH Path to role mappings api endpoint (for example _opendistro/_security/api/rolesmapping)
extraCACertFile EXTRA_CA_CERT_FILE Path to file with custom CA certificate(s)
username ELASTICSEARCH_USERNAME User with appropriate permissions
password ELASTICSEARCH_PASSWORD User password

Build

Requirements

Export VERSION variable and execute

make docker-build

Deploy

Specify configs in deploy/helm/values.yaml and deploy with

helm -n elasticsearch-security-operator upgrade -i elasticsearch-security-operator ./deploy/helm

Samples of custom resources can be found in config/samples

TODO:

  • Refactor alert controller
  • Refactor controller's methods

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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