mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
allow hostNetwork setting on OPA pod (#23430)
Signed-off-by: Scott Cabrinha <cabrinhascott@gmail.com>
This commit is contained in:
@@ -6,7 +6,7 @@ keywords:
|
||||
- opa
|
||||
- admission control
|
||||
- policy
|
||||
version: 1.14.0
|
||||
version: 1.14.1
|
||||
home: https://www.openpolicyagent.org
|
||||
icon: https://raw.githubusercontent.com/open-policy-agent/opa/master/logo/logo.png
|
||||
sources:
|
||||
|
||||
@@ -69,6 +69,7 @@ Reference](https://www.openpolicyagent.org/docs/configuration.html).
|
||||
| `podDisruptionBudget.enabled` | Enables creation of a PodDisruptionBudget for OPA. | `false` |
|
||||
| `podDisruptionBudget.minAvailable` | Sets the minimum number of pods to be available. Cannot be set at the same time as maxUnavailable. | `1` |
|
||||
| `podDisruptionBudget.maxUnavailable` | Sets the maximum number of pods to be unavailable. Cannot be set at the same time as minAvailable. | Unset |
|
||||
| `hostNetwork.enabled` | Use hostNetwork setting on OPA pod | `false` |
|
||||
| `image` | OPA image to deploy. | `openpolicyagent/opa` |
|
||||
| `imageTag` | OPA image tag to deploy. | See [values.yaml](values.yaml) |
|
||||
| `port` | Port in the pod to which OPA will bind itself. | `443` |
|
||||
|
||||
@@ -72,7 +72,9 @@ spec:
|
||||
- name: bootstrap
|
||||
mountPath: /bootstrap
|
||||
{{- end }}
|
||||
|
||||
{{- if .Values.hostNetwork.enabled }}
|
||||
hostNetwork: true
|
||||
{{- end }}
|
||||
containers:
|
||||
- name: opa
|
||||
image: {{ .Values.image }}:{{ .Values.imageTag }}
|
||||
|
||||
@@ -100,6 +100,10 @@ authz:
|
||||
# Mostly useful for debugging.
|
||||
enabled: true
|
||||
|
||||
# Use hostNetwork setting on OPA pod
|
||||
hostNetwork:
|
||||
enabled: false
|
||||
|
||||
# Docker image and tag to deploy.
|
||||
image: openpolicyagent/opa
|
||||
imageTag: 0.15.1
|
||||
|
||||
Reference in New Issue
Block a user