Security
Security Variables
Variable Name | Type | Required | Default | Description |
---|---|---|---|---|
roleBasedAccessControlCreate | bool | No | True | create RBAC resources |
podSecurityPolicyCreate | bool | No | False | create PSP resources |
serviceAccount | string | No | - | Set ServiceAccount |
securityContext | SecurityContext | No | {} | SecurityContext holds security configuration that will be applied to a container. |
podSecurityContext | PodSecurityContext | No | {} | PodSecurityContext holds pod-level security attributes and common container settings. Some |
Using RBAC Authorization
By default, RBAC is enabled.
Deploy with Kubernetes Manifests
Create logging
resource with RBAC
Example Manifest Generated by the operator
Fluentd Role & RoleBinding Output
Fluentbit ClusterRole & ClusterRoleBinding Output
Service Account (SA)
Deploy with Kubernetes Manifests
Create logging
resource with Service Account
Enabling Pod Security Policies (PSP)
This option depends on the roleBasedAccessControlCreate enabled status because the psp require rbac roles also.
Deploy with Kubernetes Manifests
Create logging
resource with PSP
Example Manifest Generated by the operator
Fluentd PSP+Role Output
Fluentbit PSP+ClusterRole Output
Security Context
Deploy with Kubernetes Manifests
Create logging
resource with PSP
Example Manifest Generated by the operator
Last modified March 12, 2024: Merge pull request #229 from kube-logging/pagefind-restructure (c4cf8da)