allow hostNetwork setting on OPA pod (#23430)

Signed-off-by: Scott Cabrinha <cabrinhascott@gmail.com>
This commit is contained in:
Scott Cabrinha
2020-08-03 11:19:40 -07:00
committed by GitHub
parent fd67b6f09a
commit b51616ae2b
4 changed files with 9 additions and 2 deletions
+1 -1
View File
@@ -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:
+1
View File
@@ -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` |
+3 -1
View File
@@ -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 }}
+4
View File
@@ -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