File tree Expand file tree Collapse file tree 3 files changed +24
-13
lines changed
Expand file tree Collapse file tree 3 files changed +24
-13
lines changed Original file line number Diff line number Diff line change @@ -44,10 +44,11 @@ spec:
4444 type : RuntimeDefault
4545 {{- end }}
4646 ports :
47- - name : pdp
48- containerPort : 7000
49- - name : opa
50- containerPort : 8181
47+ - containerPort : {{ .Values.pdp.port }}
48+ {{- range .Values.pdp.additionalPorts }}
49+ - name : {{ .name }}
50+ containerPort : {{ .targetPort }}
51+ {{- end }}
5152 env :
5253 - name : PDP_API_KEY
5354 valueFrom :
Original file line number Diff line number Diff line change @@ -14,11 +14,13 @@ spec:
1414 selector :
1515 {{- include "pdp.selectorLabels" . | nindent 4 }}
1616 ports :
17- - name : pdp
18- port : {{ .Values.pdp.pdpPort }}
19- targetPort : 7000
17+ - name : http
2018 protocol : TCP
21- - name : opa
22- port : {{ .Values.pdp.opaPort }}
23- targetPort : 8181
19+ port : {{ .Values.pdp.port }}
20+ targetPort : 7000
21+ {{- range .Values.pdp.additionalPorts }}
22+ - name : {{ .name }}
23+ port : {{ .port }}
24+ targetPort : {{ .targetPort }}
2425 protocol : TCP
26+ {{- end }}
Original file line number Diff line number Diff line change 66 []
77 # - name: custom_env
88 # value: "custom_env"
9+ #
10+ # Example - enable Envoy gRPC ext_authz on port 9191 (requires PDP >= 0.9.10):
11+ # - name: PDP_OPA_PLUGINS
12+ # value: '{"permit_graph":{},"envoy_ext_authz_grpc":{"addr":":9191","path":"permit/root"}}'
913 ApiKey : " <your PDP API Key>"
1014
1115 # Use an existing secret for the API key instead of creating one
1216 # If defined, the chart will not create a secret and will use this existing secret
1317 # existingApiKeySecret:
1418 # name: "my-existing-secret"
1519 # key: "api-key"
16- # Service ports (external ports exposed by the Kubernetes Service)
17- pdpPort : 7766 # maps to container port 7000 (PDP API)
18- opaPort : 8181 # maps to container port 8181 (OPA)
20+ port : 7766
21+ # Example - expose Envoy gRPC ext_authz port (requires PDP_OPA_PLUGINS env var above):
22+ # additionalPorts:
23+ # - name: grpc
24+ # port: 9191
25+ # targetPort: 9191
26+ additionalPorts : []
1927 replicas : 1
2028 image :
2129 repository : permitio/pdp-v2
You can’t perform that action at this time.
0 commit comments