diff --git a/stable/opa/Chart.yaml b/stable/opa/Chart.yaml index 87a64d11b2..c0a66b5aca 100644 --- a/stable/opa/Chart.yaml +++ b/stable/opa/Chart.yaml @@ -6,7 +6,7 @@ keywords: - opa - admission control - policy -version: 1.14.1 +version: 1.14.2 home: https://www.openpolicyagent.org icon: https://raw.githubusercontent.com/open-policy-agent/opa/master/logo/logo.png sources: diff --git a/stable/opa/README.md b/stable/opa/README.md index e2b66f1112..c481a25810 100644 --- a/stable/opa/README.md +++ b/stable/opa/README.md @@ -95,6 +95,7 @@ Reference](https://www.openpolicyagent.org/docs/configuration.html). | `timeoutSeconds` | Timeout for a webhook call in seconds. | `` | | `securityContext` | Security context for the containers | `{enabled: false, runAsNonRoot: true, runAsUser: 1}` | | `deploymentStrategy` | Specify deployment spec rollout strategy | `{}` | +| `extraArgs` | Additional arguments to be added to the opa container | `[]` | | `extraContainers` | Additional containers to be added to the deployment | `[]` | | `extraVolumes` | Additional volumes to be added to the deployment | `[]` | | `extraPorts` | Additional ports to OPA service. Useful to expose `extraContainer` ports. | `[]` | diff --git a/stable/opa/templates/deployment.yaml b/stable/opa/templates/deployment.yaml index 59509a5b4d..fb983363c2 100644 --- a/stable/opa/templates/deployment.yaml +++ b/stable/opa/templates/deployment.yaml @@ -104,6 +104,9 @@ spec: {{- end }} {{- if or .Values.authz.enabled .Values.bootstrapPolicies }} - "/bootstrap" +{{- end }} +{{- range .Values.extraArgs }} + - {{ . }} {{- end }} volumeMounts: - name: certs diff --git a/stable/opa/values.yaml b/stable/opa/values.yaml index ac117b026c..e1aee2a283 100644 --- a/stable/opa/values.yaml +++ b/stable/opa/values.yaml @@ -114,6 +114,8 @@ imagePullPolicy: IfNotPresent # and livenessProbe port: 443 +extraArgs: [] + mgmt: enabled: true image: openpolicyagent/kube-mgmt