Add NeuVector chart version 2.4.2

pull/2395/head
selvamt94 2023-02-08 12:13:57 -08:00
parent 72d34af507
commit aa5ca49867
11 changed files with 85 additions and 59 deletions

View File

@ -15,4 +15,21 @@ Additional Notes:
+ Previous deployments from Rancher, such as from our Partners chart repository or the primary NeuVector Helm chart, must be completely removed in order to update to the new integrated feature chart. See https://github.com/rancher/rancher/issues/37447. + Previous deployments from Rancher, such as from our Partners chart repository or the primary NeuVector Helm chart, must be completely removed in order to update to the new integrated feature chart. See https://github.com/rancher/rancher/issues/37447.
+ Configure correct container runtime and runtime path under container runtime. Enable only one runtime. + Configure correct container runtime and runtime path under container runtime. Enable only one runtime.
+ For deploying on hardened RKE2 and K3s clusters, enable PSP and set user id from other configuration for Manager, Scanner and Updater deployments. User id can be any number other than 0. + For deploying on hardened RKE2 and K3s clusters, enable PSP and set user id from other configuration for Manager, Scanner and Updater deployments. User id can be any number other than 0.
+ For deploying on hardened RKE cluster, enable PSP from other configuration. + For deploying on hardened RKE cluster, enable PSP from security settings.
## Upgrading to Kubernetes v1.25+
Starting in Kubernetes v1.25, [Pod Security Policies](https://kubernetes.io/docs/concepts/security/pod-security-policy/) have been removed from the Kubernetes API.
As a result, **before upgrading to Kubernetes v1.25** (or on a fresh install in a Kubernetes v1.25+ cluster), users are expected to perform an in-place upgrade of this chart with `global.cattle.psp.enabled` set to `false` if it has been previously set to `true`.
**Note:**
In this chart release, any previous field that was associated with any PSP resources have been removed in favor of a single global field: `global.cattle.psp.enabled`.
**Note:**
If you upgrade your cluster to Kubernetes v1.25+ before removing PSPs via a `helm upgrade` (even if you manually clean up resources), **it will leave the Helm release in a broken state within the cluster such that further Helm operations will not work (`helm uninstall`, `helm upgrade`, etc.).**
If your charts get stuck in this state, please consult the Rancher docs on how to clean up your Helm release secrets.
Upon setting `global.cattle.psp.enabled` to false, the chart will remove any PSP resources deployed on its behalf from the cluster. This is the default setting for this chart.
As a replacement for PSPs, [Pod Security Admission](https://kubernetes.io/docs/concepts/security/pod-security-admission/) should be used. Please consult the Rancher docs for more details on how to configure your chart release namespaces to work with the new Pod Security Admission and apply Pod Security Standards.

View File

@ -308,28 +308,29 @@ questions:
- "NodePort" - "NodePort"
- "ClusterIP" - "ClusterIP"
- "LoadBalancer" - "LoadBalancer"
#Other Configuration #Security Settings
- variable: psp - variable: global.cattle.psp.enabled
default: "false"
description: "Flag to enable or disable the installation of PodSecurityPolicies by this chart in the target cluster. If the cluster is running Kubernetes 1.25+, you must update this value to false."
label: "Enable PodSecurityPolicies"
default: "false" default: "false"
description: NeuVector Pod Security Policy when psp policy is enabled
type: boolean type: boolean
label: Pod Security Policy group: "Security Settings"
group: "Other Configuration"
- variable: manager.runAsUser - variable: manager.runAsUser
default: "" default: ""
description: Specify the run as User ID description: Specify the run as User ID
type: int type: int
label: Manager runAsUser ID label: Manager runAsUser ID
group: "Other Configuration" group: "Security Settings"
- variable: cve.scanner.runAsUser - variable: cve.scanner.runAsUser
default: "" default: ""
description: Specify the run as User ID description: Specify the run as User ID
type: int type: int
label: Scanner runAsUser ID label: Scanner runAsUser ID
group: "Other Configuration" group: "Security Settings"
- variable: cve.updater.runAsUser - variable: cve.updater.runAsUser
default: "" default: ""
description: Specify the run as User ID description: Specify the run as User ID
type: int type: int
label: Updater runAsUser ID label: Updater runAsUser ID
group: "Other Configuration" group: "Security Settings"

View File

@ -0,0 +1,7 @@
{{- if gt (len (lookup "rbac.authorization.k8s.io/v1" "ClusterRole" "" "")) 0 -}}
{{- if .Values.global.cattle.psp.enabled }}
{{- if not (.Capabilities.APIVersions.Has "policy/v1beta1/PodSecurityPolicy") }}
{{- fail "The target cluster does not have the PodSecurityPolicy API resource. Please disable PSPs in this chart before proceeding." -}}
{{- end }}
{{- end }}
{{- end }}

View File

@ -1,11 +1,11 @@
--- charts-original/Chart.yaml --- charts-original/Chart.yaml
+++ charts/Chart.yaml +++ charts/Chart.yaml
@@ -1,10 +1,28 @@ @@ -1,10 +1,27 @@
+annotations: +annotations:
+ catalog.cattle.io/auto-install: neuvector-crd=match + catalog.cattle.io/auto-install: neuvector-crd=match
+ catalog.cattle.io/certified: rancher + catalog.cattle.io/certified: rancher
+ catalog.cattle.io/display-name: NeuVector + catalog.cattle.io/display-name: NeuVector
+ catalog.cattle.io/kube-version: '>=1.18.0-0 <= 1.25.0-0' + catalog.cattle.io/kube-version: '>=1.18.0-0 < 1.27.0-0'
+ catalog.cattle.io/namespace: cattle-neuvector-system + catalog.cattle.io/namespace: cattle-neuvector-system
+ catalog.cattle.io/os: linux + catalog.cattle.io/os: linux
+ catalog.cattle.io/permit-os: linux + catalog.cattle.io/permit-os: linux
@ -13,10 +13,9 @@
+ catalog.cattle.io/rancher-version: '>= 2.7.0-0 < 2.8.0-0' + catalog.cattle.io/rancher-version: '>= 2.7.0-0 < 2.8.0-0'
+ catalog.cattle.io/release-name: neuvector + catalog.cattle.io/release-name: neuvector
+ catalog.cattle.io/type: cluster-tool + catalog.cattle.io/type: cluster-tool
+ catalog.cattle.io/ui-component: neuvector + catalog.cattle.io/upstream-version: 2.4.2
+ catalog.cattle.io/upstream-version: 2.4.0
apiVersion: v1 apiVersion: v1
appVersion: 5.1.0 appVersion: 5.1.1
-description: Helm chart for NeuVector's core services -description: Helm chart for NeuVector's core services
+description: Helm feature chart for NeuVector's core services +description: Helm feature chart for NeuVector's core services
home: https://neuvector.com home: https://neuvector.com
@ -30,4 +29,4 @@
+name: neuvector +name: neuvector
+sources: +sources:
+- https://github.com/neuvector/neuvector +- https://github.com/neuvector/neuvector
version: 2.4.0 version: 2.4.2

View File

@ -1,29 +1,29 @@
--- charts-original/README.md --- charts-original/README.md
+++ charts/README.md +++ charts/README.md
@@ -72,7 +72,7 @@ @@ -29,7 +29,7 @@
`controller.schedulerName` | kubernetes scheduler name | `nil` | `controller.schedulerName` | kubernetes scheduler name | `nil` |
`controller.affinity` | controller affinity rules | ... | spread controllers to different nodes | `controller.affinity` | controller affinity rules | ... | spread controllers to different nodes |
`controller.tolerations` | List of node taints to tolerate | `nil` | `controller.tolerations` | List of node taints to tolerate | `nil` |
-`controller.resources` | Add resources requests and limits to controller deployment | `{}` | see examples in [values.yaml](values.yaml) -`controller.resources` | Add resources requests and limits to controller deployment | `{}` | see examples in [values.yaml](values.yaml)
+`controller.resources` | Add resources requests and limits to controller deployment | `{}` | see examples in [values.yaml](https://github.com/neuvector/neuvector-helm/tree/2.4.0/charts/core/values.yaml) +`controller.resources` | Add resources requests and limits to controller deployment | `{}` | see examples in [values.yaml](https://github.com/neuvector/neuvector-helm/tree/2.4.2/charts/core/values.yaml)
`controller.nodeSelector` | Enable and specify nodeSelector labels | `{}` | `controller.nodeSelector` | Enable and specify nodeSelector labels | `{}` |
`controller.disruptionbudget` | controller PodDisruptionBudget. 0 to disable. Recommended value: 2. | `0` | `controller.disruptionbudget` | controller PodDisruptionBudget. 0 to disable. Recommended value: 2. | `0` |
`controller.priorityClassName` | controller priorityClassName. Must exist prior to helm deployment. Leave empty to disable. | `nil` | `controller.priorityClassName` | controller priorityClassName. Must exist prior to helm deployment. Leave empty to disable. | `nil` |
@@ -114,7 +114,7 @@ @@ -71,7 +71,7 @@
`controller.federation.mastersvc.ingress.ingressClassName` | To be used instead of the ingress.class annotation if an IngressClass is provisioned | `""` | `controller.federation.mastersvc.ingress.ingressClassName` | To be used instead of the ingress.class annotation if an IngressClass is provisioned | `""` |
`controller.federation.mastersvc.ingress.secretName` | Name of the secret to be used for TLS-encryption | `nil` | Secret must be created separately (Let's encrypt, manually) `controller.federation.mastersvc.ingress.secretName` | Name of the secret to be used for TLS-encryption | `nil` | Secret must be created separately (Let's encrypt, manually)
`controller.federation.mastersvc.ingress.path` | Set ingress path |`/` | If set, it might be necessary to set a rewrite rule in annotations. `controller.federation.mastersvc.ingress.path` | Set ingress path |`/` | If set, it might be necessary to set a rewrite rule in annotations.
-`controller.federation.mastersvc.ingress.annotations` | Add annotations to ingress to influence behavior | `nginx.ingress.kubernetes.io/backend-protocol: "HTTPS"` | see examples in [values.yaml](values.yaml) -`controller.federation.mastersvc.ingress.annotations` | Add annotations to ingress to influence behavior | `nginx.ingress.kubernetes.io/backend-protocol: "HTTPS"` | see examples in [values.yaml](values.yaml)
+`controller.federation.mastersvc.ingress.annotations` | Add annotations to ingress to influence behavior | `nginx.ingress.kubernetes.io/backend-protocol: "HTTPS"` | see examples in [values.yaml](https://github.com/neuvector/neuvector-helm/tree/2.4.0/charts/core/values.yaml) +`controller.federation.mastersvc.ingress.annotations` | Add annotations to ingress to influence behavior | `nginx.ingress.kubernetes.io/backend-protocol: "HTTPS"` | see examples in [values.yaml](https://github.com/neuvector/neuvector-helm/tree/2.4.2/charts/core/values.yaml)
`controller.federation.managedsvc.type` | Multi-cluster managed cluster service type. If specified, the deployment will be managed by the managed clsuter. Possible values include NodePort, LoadBalancer and ClusterIP. | `nil` | `controller.federation.managedsvc.type` | Multi-cluster managed cluster service type. If specified, the deployment will be managed by the managed clsuter. Possible values include NodePort, LoadBalancer and ClusterIP. | `nil` |
`controller.federation.managedsvc.annotations` | Add annotations to Multi-cluster managed cluster REST API service | `{}` | `controller.federation.managedsvc.annotations` | Add annotations to Multi-cluster managed cluster REST API service | `{}` |
`controller.federation.managedsvc.route.enabled` | If true, create a OpenShift route to expose the Multi-cluster managed cluster service | `false` | `controller.federation.managedsvc.route.enabled` | If true, create a OpenShift route to expose the Multi-cluster managed cluster service | `false` |
@@ -130,14 +130,14 @@ @@ -87,14 +87,14 @@
`controller.federation.managedsvc.ingress.ingressClassName` | To be used instead of the ingress.class annotation if an IngressClass is provisioned | `""` | `controller.federation.managedsvc.ingress.ingressClassName` | To be used instead of the ingress.class annotation if an IngressClass is provisioned | `""` |
`controller.federation.managedsvc.ingress.secretName` | Name of the secret to be used for TLS-encryption | `nil` | Secret must be created separately (Let's encrypt, manually) `controller.federation.managedsvc.ingress.secretName` | Name of the secret to be used for TLS-encryption | `nil` | Secret must be created separately (Let's encrypt, manually)
`controller.federation.managedsvc.ingress.path` | Set ingress path |`/` | If set, it might be necessary to set a rewrite rule in annotations. `controller.federation.managedsvc.ingress.path` | Set ingress path |`/` | If set, it might be necessary to set a rewrite rule in annotations.
-`controller.federation.managedsvc.ingress.annotations` | Add annotations to ingress to influence behavior | `nginx.ingress.kubernetes.io/backend-protocol: "HTTPS"` | see examples in [values.yaml](values.yaml) -`controller.federation.managedsvc.ingress.annotations` | Add annotations to ingress to influence behavior | `nginx.ingress.kubernetes.io/backend-protocol: "HTTPS"` | see examples in [values.yaml](values.yaml)
+`controller.federation.managedsvc.ingress.annotations` | Add annotations to ingress to influence behavior | `nginx.ingress.kubernetes.io/backend-protocol: "HTTPS"` | see examples in [values.yaml](https://github.com/neuvector/neuvector-helm/tree/2.4.0/charts/core/values.yaml) +`controller.federation.managedsvc.ingress.annotations` | Add annotations to ingress to influence behavior | `nginx.ingress.kubernetes.io/backend-protocol: "HTTPS"` | see examples in [values.yaml](https://github.com/neuvector/neuvector-helm/tree/2.4.2/charts/core/values.yaml)
`controller.ingress.enabled` | If true, create ingress for rest api, must also set ingress host value | `false` | enable this if ingress controller is installed `controller.ingress.enabled` | If true, create ingress for rest api, must also set ingress host value | `false` | enable this if ingress controller is installed
`controller.ingress.tls` | If true, TLS is enabled for controller rest api ingress service |`false` | If set, the tls-host used is the one set with `controller.ingress.host`. `controller.ingress.tls` | If true, TLS is enabled for controller rest api ingress service |`false` | If set, the tls-host used is the one set with `controller.ingress.host`.
`controller.ingress.host` | Must set this host value if ingress is enabled | `nil` | `controller.ingress.host` | Must set this host value if ingress is enabled | `nil` |
@ -31,53 +31,47 @@
`controller.ingress.secretName` | Name of the secret to be used for TLS-encryption | `nil` | Secret must be created separately (Let's encrypt, manually) `controller.ingress.secretName` | Name of the secret to be used for TLS-encryption | `nil` | Secret must be created separately (Let's encrypt, manually)
`controller.ingress.path` | Set ingress path |`/` | If set, it might be necessary to set a rewrite rule in annotations. `controller.ingress.path` | Set ingress path |`/` | If set, it might be necessary to set a rewrite rule in annotations.
-`controller.ingress.annotations` | Add annotations to ingress to influence behavior | `nginx.ingress.kubernetes.io/backend-protocol: "HTTPS"` | see examples in [values.yaml](values.yaml) -`controller.ingress.annotations` | Add annotations to ingress to influence behavior | `nginx.ingress.kubernetes.io/backend-protocol: "HTTPS"` | see examples in [values.yaml](values.yaml)
+`controller.ingress.annotations` | Add annotations to ingress to influence behavior | `nginx.ingress.kubernetes.io/backend-protocol: "HTTPS"` | see examples in [values.yaml](https://github.com/neuvector/neuvector-helm/tree/2.4.0/charts/core/values.yaml) +`controller.ingress.annotations` | Add annotations to ingress to influence behavior | `nginx.ingress.kubernetes.io/backend-protocol: "HTTPS"` | see examples in [values.yaml](https://github.com/neuvector/neuvector-helm/tree/2.4.2/charts/core/values.yaml)
`controller.configmap.enabled` | If true, configure NeuVector global settings using a ConfigMap | `false` `controller.configmap.enabled` | If true, configure NeuVector global settings using a ConfigMap | `false`
`controller.configmap.data` | NeuVector configuration in YAML format | `{}` `controller.configmap.data` | NeuVector configuration in YAML format | `{}`
`controller.secret.enabled` | If true, configure NeuVector global settings using secrets | `false` `controller.secret.enabled` | If true, configure NeuVector global settings using secrets | `false`
@@ -150,7 +150,7 @@ @@ -107,7 +107,7 @@
`enforcer.podLabels` | Specify the pod labels. | `{}` | `enforcer.podLabels` | Specify the pod labels. | `{}` |
`enforcer.podAnnotations` | Specify the pod annotations. | `{}` | `enforcer.podAnnotations` | Specify the pod annotations. | `{}` |
`enforcer.tolerations` | List of node taints to tolerate | `- effect: NoSchedule`<br>`key: node-role.kubernetes.io/master` | other taints can be added after the default `enforcer.tolerations` | List of node taints to tolerate | `- effect: NoSchedule`<br>`key: node-role.kubernetes.io/master` | other taints can be added after the default
-`enforcer.resources` | Add resources requests and limits to enforcer deployment | `{}` | see examples in [values.yaml](values.yaml) -`enforcer.resources` | Add resources requests and limits to enforcer deployment | `{}` | see examples in [values.yaml](values.yaml)
+`enforcer.resources` | Add resources requests and limits to enforcer deployment | `{}` | see examples in [values.yaml](https://github.com/neuvector/neuvector-helm/tree/2.4.0/charts/core/values.yaml) +`enforcer.resources` | Add resources requests and limits to enforcer deployment | `{}` | see examples in [values.yaml](https://github.com/neuvector/neuvector-helm/tree/2.4.2/charts/core/values.yaml)
`manager.enabled` | If true, create manager | `true` | `manager.enabled` | If true, create manager | `true` |
`manager.image.repository` | manager image repository | `neuvector/manager` | `manager.image.repository` | manager image repository | `neuvector/manager` |
`manager.image.hash` | manager image hash in the format of sha256:xxxx. If present it overwrites the image tag value. | | `manager.image.hash` | manager image hash in the format of sha256:xxxx. If present it overwrites the image tag value. | |
@@ -160,7 +160,7 @@ @@ -117,7 +117,7 @@
`manager.env.ssl` | If false, manager will listen on HTTP access instead of HTTPS | `true` | `manager.env.ssl` | If false, manager will listen on HTTP access instead of HTTPS | `true` |
`manager.svc.type` | set manager service type for native Kubernetes | `NodePort`;<br>if it is OpenShift platform or ingress is enabled, then default is `ClusterIP` | set to LoadBalancer if using cloud providers, such as Azure, Amazon, Google `manager.svc.type` | set manager service type for native Kubernetes | `NodePort`;<br>if it is OpenShift platform or ingress is enabled, then default is `ClusterIP` | set to LoadBalancer if using cloud providers, such as Azure, Amazon, Google
`manager.svc.loadBalancerIP` | if manager service type is LoadBalancer, this is used to specify the load balancer's IP | `nil` | `manager.svc.loadBalancerIP` | if manager service type is LoadBalancer, this is used to specify the load balancer's IP | `nil` |
-`manager.svc.annotations` | Add annotations to manager service | `{}` | see examples in [values.yaml](values.yaml) -`manager.svc.annotations` | Add annotations to manager service | `{}` | see examples in [values.yaml](values.yaml)
+`manager.svc.annotations` | Add annotations to manager service | `{}` | see examples in [values.yaml](https://github.com/neuvector/neuvector-helm/tree/2.4.0/charts/core/values.yaml) +`manager.svc.annotations` | Add annotations to manager service | `{}` | see examples in [values.yaml](https://github.com/neuvector/neuvector-helm/tree/2.4.2/charts/core/values.yaml)
`manager.route.enabled` | If true, create a OpenShift route to expose the management console service | `true` | `manager.route.enabled` | If true, create a OpenShift route to expose the management console service | `true` |
`manager.route.host` | Set OpenShift route host for management console service | `nil` | `manager.route.host` | Set OpenShift route host for management console service | `nil` |
`manager.route.termination` | Specify TLS termination for OpenShift route for management console service. Possible passthrough, edge, reencrypt | `passthrough` | `manager.route.termination` | Specify TLS termination for OpenShift route for management console service. Possible passthrough, edge, reencrypt | `passthrough` |
@@ -175,10 +175,10 @@ @@ -132,10 +132,10 @@
`manager.ingress.host` | Must set this host value if ingress is enabled | `nil` | `manager.ingress.host` | Must set this host value if ingress is enabled | `nil` |
`manager.ingress.ingressClassName` | To be used instead of the ingress.class annotation if an IngressClass is provisioned | `""` | `manager.ingress.ingressClassName` | To be used instead of the ingress.class annotation if an IngressClass is provisioned | `""` |
`manager.ingress.path` | Set ingress path |`/` | If set, it might be necessary to set a rewrite rule in annotations. Currently only supports `/` `manager.ingress.path` | Set ingress path |`/` | If set, it might be necessary to set a rewrite rule in annotations. Currently only supports `/`
-`manager.ingress.annotations` | Add annotations to ingress to influence behavior | `nginx.ingress.kubernetes.io/backend-protocol: "HTTPS"` | see examples in [values.yaml](values.yaml) -`manager.ingress.annotations` | Add annotations to ingress to influence behavior | `nginx.ingress.kubernetes.io/backend-protocol: "HTTPS"` | see examples in [values.yaml](values.yaml)
+`manager.ingress.annotations` | Add annotations to ingress to influence behavior | `nginx.ingress.kubernetes.io/backend-protocol: "HTTPS"` | see examples in [values.yaml](https://github.com/neuvector/neuvector-helm/tree/2.4.0/charts/core/values.yaml) +`manager.ingress.annotations` | Add annotations to ingress to influence behavior | `nginx.ingress.kubernetes.io/backend-protocol: "HTTPS"` | see examples in [values.yaml](https://github.com/neuvector/neuvector-helm/tree/2.4.2/charts/core/values.yaml)
`manager.ingress.tls` | If true, TLS is enabled for manager ingress service |`false` | If set, the tls-host used is the one set with `manager.ingress.host`. `manager.ingress.tls` | If true, TLS is enabled for manager ingress service |`false` | If set, the tls-host used is the one set with `manager.ingress.host`.
`manager.ingress.secretName` | Name of the secret to be used for TLS-encryption | `nil` | Secret must be created separately (Let's encrypt, manually) `manager.ingress.secretName` | Name of the secret to be used for TLS-encryption | `nil` | Secret must be created separately (Let's encrypt, manually)
-`manager.resources` | Add resources requests and limits to manager deployment | `{}` | see examples in [values.yaml](values.yaml) -`manager.resources` | Add resources requests and limits to manager deployment | `{}` | see examples in [values.yaml](values.yaml)
+`manager.resources` | Add resources requests and limits to manager deployment | `{}` | see examples in [values.yaml](https://github.com/neuvector/neuvector-helm/tree/2.4.0/charts/core/values.yaml) +`manager.resources` | Add resources requests and limits to manager deployment | `{}` | see examples in [values.yaml](https://github.com/neuvector/neuvector-helm/tree/2.4.2/charts/core/values.yaml)
`manager.affinity` | manager affinity rules | `{}` | `manager.affinity` | manager affinity rules | `{}` |
`manager.tolerations` | List of node taints to tolerate | `nil` | `manager.tolerations` | List of node taints to tolerate | `nil` |
`manager.nodeSelector` | Enable and specify nodeSelector labels | `{}` | `manager.nodeSelector` | Enable and specify nodeSelector labels | `{}` |
@@ -203,7 +203,7 @@ @@ -160,7 +160,7 @@
`cve.scanner.podAnnotations` | Specify the pod annotations. | `{}` | `cve.scanner.podAnnotations` | Specify the pod annotations. | `{}` |
`cve.scanner.replicas` | external scanner replicas | `3` | `cve.scanner.replicas` | external scanner replicas | `3` |
`cve.scanner.dockerPath` | the remote docker socket if CI/CD integration need scan images before they are pushed to the registry | `nil` | `cve.scanner.dockerPath` | the remote docker socket if CI/CD integration need scan images before they are pushed to the registry | `nil` |
-`cve.scanner.resources` | Add resources requests and limits to scanner deployment | `{}` | see examples in [values.yaml](values.yaml) | -`cve.scanner.resources` | Add resources requests and limits to scanner deployment | `{}` | see examples in [values.yaml](values.yaml) |
+`cve.scanner.resources` | Add resources requests and limits to scanner deployment | `{}` | see examples in [values.yaml](https://github.com/neuvector/neuvector-helm/tree/2.4.0/charts/core/values.yaml) | +`cve.scanner.resources` | Add resources requests and limits to scanner deployment | `{}` | see examples in [values.yaml](https://github.com/neuvector/neuvector-helm/tree/2.4.2/charts/core/values.yaml) |
`cve.scanner.affinity` | scanner affinity rules | `{}` | `cve.scanner.affinity` | scanner affinity rules | `{}` |
`cve.scanner.tolerations` | List of node taints to tolerate | `nil` | `cve.scanner.tolerations` | List of node taints to tolerate | `nil` |
`cve.scanner.nodeSelector` | Enable and specify nodeSelector labels | `{}` | `cve.scanner.nodeSelector` | Enable and specify nodeSelector labels | `{}` |
@@ -234,5 +234,4 @@
```
---
-Contact <support@neuvector.com> for access to container registry and docs.

View File

@ -0,0 +1,8 @@
--- charts-original/templates/psp.yaml
+++ charts/templates/psp.yaml
@@ -1,4 +1,4 @@
-{{- if .Values.psp -}}
+{{- if .Values.global.cattle.psp.enabled -}}
apiVersion: policy/v1beta1
kind: PodSecurityPolicy
metadata:

View File

@ -1,37 +1,39 @@
--- charts-original/values.yaml --- charts-original/values.yaml
+++ charts/values.yaml +++ charts/values.yaml
@@ -2,15 +2,17 @@ @@ -2,15 +2,18 @@
# This is a YAML-formatted file. # This is a YAML-formatted file.
# Declare variables to be passed into the templates. # Declare variables to be passed into the templates.
+global: +global:
+ cattle: + cattle:
+ systemDefaultRegistry: "" + systemDefaultRegistry: ""
+ psp:
+ enabled: false # PSP enablement should default to false
+ +
openshift: false openshift: false
registry: docker.io registry: docker.io
-tag: 5.1.0 -tag: 5.1.1
oem: oem:
-imagePullSecrets: -imagePullSecrets:
psp: false -psp: false
rbac: true rbac: true
-serviceAccount: default -serviceAccount: default
+serviceAccount: neuvector +serviceAccount: neuvector
controller: controller:
# If false, controller will not be installed # If false, controller will not be installed
@@ -22,7 +24,8 @@ @@ -22,7 +25,8 @@
maxSurge: 1 maxSurge: 1
maxUnavailable: 0 maxUnavailable: 0
image: image:
- repository: neuvector/controller - repository: neuvector/controller
+ repository: rancher/mirrored-neuvector-controller + repository: rancher/mirrored-neuvector-controller
+ tag: 5.1.0 + tag: 5.1.1
hash: hash:
replicas: 3 replicas: 3
disruptionbudget: 0 disruptionbudget: 0
@@ -70,7 +73,7 @@ @@ -70,7 +74,7 @@
# -----BEGIN PRIVATE KEY----- # -----BEGIN PRIVATE KEY-----
# -----END PRIVATE KEY----- # -----END PRIVATE KEY-----
ranchersso: ranchersso:
@ -40,27 +42,27 @@
pvc: pvc:
enabled: false enabled: false
existingClaim: false existingClaim: false
@@ -209,7 +212,8 @@ @@ -215,7 +219,8 @@
# If false, enforcer will not be installed # If false, enforcer will not be installed
enabled: true enabled: true
image: image:
- repository: neuvector/enforcer - repository: neuvector/enforcer
+ repository: rancher/mirrored-neuvector-enforcer + repository: rancher/mirrored-neuvector-enforcer
+ tag: 5.1.0 + tag: 5.1.1
hash: hash:
updateStrategy: updateStrategy:
type: RollingUpdate type: RollingUpdate
@@ -233,7 +237,8 @@ @@ -245,7 +250,8 @@
# If false, manager will not be installed # If false, manager will not be installed
enabled: true enabled: true
image: image:
- repository: neuvector/manager - repository: neuvector/manager
+ repository: rancher/mirrored-neuvector-manager + repository: rancher/mirrored-neuvector-manager
+ tag: 5.1.0 + tag: 5.1.1
hash: hash:
priorityClassName: priorityClassName:
env: env:
@@ -303,7 +308,7 @@ @@ -316,7 +322,7 @@
enabled: true enabled: true
secure: false secure: false
image: image:
@ -69,7 +71,7 @@
tag: latest tag: latest
hash: hash:
schedule: "0 0 * * *" schedule: "0 0 * * *"
@@ -324,7 +329,7 @@ @@ -337,7 +343,7 @@
maxSurge: 1 maxSurge: 1
maxUnavailable: 0 maxUnavailable: 0
image: image:

View File

@ -1,5 +1,5 @@
url: https://neuvector.github.io/neuvector-helm/core-2.4.0.tgz url: https://neuvector.github.io/neuvector-helm/core-2.4.2.tgz
version: 101.0.2 version: 102.0.0
additionalCharts: additionalCharts:
- workingDir: charts-crd - workingDir: charts-crd
crdOptions: crdOptions:

View File

@ -4,7 +4,7 @@ annotations:
catalog.cattle.io/certified: rancher catalog.cattle.io/certified: rancher
catalog.cattle.io/hidden: true catalog.cattle.io/hidden: true
apiVersion: v1 apiVersion: v1
appVersion: 5.1.0 appVersion: 5.1.1
description: Helm chart for NeuVector's CRD services description: Helm chart for NeuVector's CRD services
home: https://neuvector.com home: https://neuvector.com
icon: https://avatars2.githubusercontent.com/u/19367275?s=200&v=4 icon: https://avatars2.githubusercontent.com/u/19367275?s=200&v=4
@ -12,5 +12,5 @@ maintainers:
- email: support@neuvector.com - email: support@neuvector.com
name: becitsthere name: becitsthere
name: neuvector-crd name: neuvector-crd
version: 2.4.0 version: 2.4.2
type: application type: application

View File

@ -1,8 +1,8 @@
# NeuVector Helm Chart # NeuVector Helm Chart
Helm chart for NeuVector container security's CRD services. NeuVector's CRD (Custom Resource Definition) capture and declare application security policies early in the pipeline, then defined policies can be deployed together with the contaier applications. Helm chart for NeuVector container security's CRD services. NeuVector's CRD (Custom Resource Definition) capture and declare application security policies early in the pipeline, then defined policies can be deployed together with the container applications.
Because the CRD poclies can be deployed before NeuVector's core product, this separate helm chart is created. For the backward compatibility reason, crd.yaml is not removed in the 'core' chart. If you use this 'crd' chart, please set 'crdwebhook.enabled' to false in the 'core' chart. Because the CRD policies can be deployed before NeuVector's core product, this separate helm chart is created. For the backward compatibility reason, crd.yaml is not removed in the 'core' chart. If you use this 'crd' chart, please set `crdwebhook.enabled` to false in the 'core' chart.
## Configuration ## Configuration
@ -13,7 +13,3 @@ Parameter | Description | Default | Notes
`openshift` | If deploying in OpenShift, set this to true | `false` | `openshift` | If deploying in OpenShift, set this to true | `false` |
`serviceAccount` | Service account name for NeuVector components | `default` | `serviceAccount` | Service account name for NeuVector components | `default` |
`crdwebhook.type` | crd webhook type | `ClusterIP` | `crdwebhook.type` | crd webhook type | `ClusterIP` |
---
Contact <support@neuvector.com> for access to Docker Hub and docs.

View File

@ -10,8 +10,10 @@ fleet-crd:
- 101.1.0+up0.6.0-rc.2 - 101.1.0+up0.6.0-rc.2
neuvector: neuvector:
- 101.0.2+up2.4.0 - 101.0.2+up2.4.0
- 102.0.0+up2.4.2
neuvector-crd: neuvector-crd:
- 101.0.2+up2.4.0 - 101.0.2+up2.4.0
- 102.0.0+up2.4.2
prometheus-federator: prometheus-federator:
- 1.1.0+up0.2.0-rc1 - 1.1.0+up0.2.0-rc1
rancher-aks-operator: rancher-aks-operator: