-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathvalues.yaml
More file actions
71 lines (66 loc) · 1.95 KB
/
Copy pathvalues.yaml
File metadata and controls
71 lines (66 loc) · 1.95 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
labels: {}
annotations: {}
pdp:
pdpEnvs:
[]
# - name: custom_env
# value: "custom_env"
#
# Example - enable Envoy gRPC ext_authz on port 9191 (requires PDP >= 0.9.10):
# - name: PDP_OPA_PLUGINS
# value: '{"permit_graph":{},"envoy_ext_authz_grpc":{"addr":":9191","path":"permit/root"}}'
ApiKey: "<your PDP API Key>"
# Use an existing secret for the API key instead of creating one
# If defined, the chart will not create a secret and will use this existing secret
# existingApiKeySecret:
# name: "my-existing-secret"
# key: "api-key"
port: 7766
# Example - expose Envoy gRPC ext_authz port (requires PDP_OPA_PLUGINS env var above):
# additionalPorts:
# - name: grpc
# port: 9191
# targetPort: 9191
additionalPorts: []
replicas: 1
image:
repository: permitio/pdp-v2
tag: latest
pullPolicy: Always
logs_forwarder:
enabled: false
debug_mode: false
type: "stdout" # 'stdout' or 'elasticsearch'
# Log rotation settings (only applies when enabled=true)
rotation: "250 MB" # File size threshold for rotation
retention: "3 days" # How long to keep rotated log files
elasticsearch:
host: "<elasticsearch host>"
cloud_auth: "<{user}:{password}>"
port: 443
index: "<elasticsearch index>"
debug_mode: false
podDisruptionBudget:
# Automatically enabled when replicas > 1
# Set minAvailable OR maxUnavailable (not both)
minAvailable: 1
# maxUnavailable: 1
resources:
requests:
cpu: "256m"
memory: "512Mi"
limits:
memory: "1Gi"
# OpenShift configuration
openshift:
enabled: false # Set to true for OpenShift deployments
serviceAccount:
create: true
name: "permitio-pdp-sa"
sccName: "restricted-v2" # OpenShift Security Context Constraint
# Security context (SCC will override user/group settings automatically)
securityContext:
runAsNonRoot: true
runAsUser: 1001
runAsGroup: 1001
fsGroup: 1001