-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
robot: project neuvector chart upgrades from 2.4.2 to 2.8.3
Signed-off-by: robot <[email protected]>
- Loading branch information
robot
committed
Nov 23, 2024
1 parent
85a380b
commit fe117fd
Showing
56 changed files
with
5,673 additions
and
512 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,19 @@ | ||
apiVersion: v1 | ||
appVersion: 5.1.1 | ||
appVersion: 5.4.1 | ||
description: Helm chart for NeuVector's core services | ||
engine: gotpl | ||
home: https://neuvector.com | ||
icon: https://avatars2.githubusercontent.com/u/19367275?s=200&v=4 | ||
maintainers: | ||
- email: [email protected] | ||
name: becitsthere | ||
name: neuvector | ||
version: 2.4.2 | ||
sources: | ||
- https://github.com/neuvector/neuvector | ||
- https://github.com/neuvector/neuvector-helm | ||
version: 2.8.3 | ||
dependencies: | ||
- name: core | ||
version: "2.4.2" | ||
version: "2.8.3" | ||
repository: "https://neuvector.github.io/neuvector-helm" | ||
keywords: | ||
- monitoring | ||
|
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,13 @@ | ||
apiVersion: v1 | ||
appVersion: 5.1.1 | ||
appVersion: 5.4.1 | ||
description: Helm chart for NeuVector's core services | ||
engine: gotpl | ||
home: https://neuvector.com | ||
icon: https://avatars2.githubusercontent.com/u/19367275?s=200&v=4 | ||
maintainers: | ||
- email: [email protected] | ||
name: becitsthere | ||
name: core | ||
version: 2.4.2 | ||
sources: | ||
- https://github.com/neuvector/neuvector | ||
- https://github.com/neuvector/neuvector-helm | ||
version: 2.8.3 |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
charts/neuvector/neuvector/charts/core/templates/bootstrap-secret.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{{/* Use the bootstrap password from values.yaml or random value*/}} | ||
{{- $bootstrapPassword := .Values.bootstrapPassword -}} | ||
{{- if and .Values.global.aws.enabled (not .Values.bootstrapPassword) -}} | ||
{{- $bootstrapPassword = randAlphaNum 18 -}} | ||
{{- end -}} | ||
{{/* If a bootstrap password was found in the values or AWS is enabled */}} | ||
{{- if $bootstrapPassword }} | ||
apiVersion: v1 | ||
kind: Secret | ||
metadata: | ||
name: "neuvector-bootstrap-secret" | ||
namespace: {{ .Release.Namespace }} | ||
labels: | ||
chart: {{ template "neuvector.chart" . }} | ||
release: {{ .Release.Name }} | ||
type: Opaque | ||
data: | ||
bootstrapPassword: {{ $bootstrapPassword | b64enc |quote }} | ||
{{- end }} |
33 changes: 33 additions & 0 deletions
33
charts/neuvector/neuvector/charts/core/templates/cert-manager-secret.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
{{- if .Values.internal.certmanager.enabled }} | ||
apiVersion: cert-manager.io/v1 | ||
kind: Issuer | ||
metadata: | ||
name: {{ .Values.internal.certmanager.secretname }} | ||
namespace: {{ .Release.Namespace }} | ||
spec: | ||
selfSigned: {} | ||
--- | ||
apiVersion: cert-manager.io/v1 | ||
kind: Certificate | ||
metadata: | ||
name: {{ .Values.internal.certmanager.secretname }} | ||
namespace: {{ .Release.Namespace }} | ||
spec: | ||
duration: 17520h # 2 years | ||
subject: | ||
organizations: | ||
- NeuVector | ||
isCA: true | ||
commonName: neuvector.internal | ||
dnsNames: | ||
- neuvector.internal | ||
- NeuVector | ||
secretName: {{ .Values.internal.certmanager.secretname }} | ||
usages: | ||
- digital signature | ||
- key encipherment | ||
issuerRef: | ||
group: cert-manager.io | ||
kind: Issuer | ||
name: {{ .Values.internal.certmanager.secretname }} | ||
{{- end }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
145 changes: 145 additions & 0 deletions
145
charts/neuvector/neuvector/charts/core/templates/clusterrolebinding-least.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,145 @@ | ||
{{- if and .Values.rbac .Values.leastPrivilege -}} | ||
{{- $oc4 := and .Values.openshift (semverCompare ">=1.12-0" (substr 1 -1 .Capabilities.KubeVersion.GitVersion)) -}} | ||
{{- $oc3 := and .Values.openshift (not $oc4) (semverCompare ">=1.9-0" (substr 1 -1 .Capabilities.KubeVersion.GitVersion)) -}} | ||
|
||
{{- if $oc3 }} | ||
apiVersion: authorization.openshift.io/v1 | ||
{{- else if (semverCompare ">=1.8-0" (substr 1 -1 .Capabilities.KubeVersion.GitVersion)) }} | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
{{- else }} | ||
apiVersion: v1 | ||
{{- end }} | ||
kind: ClusterRoleBinding | ||
metadata: | ||
name: neuvector-binding-app | ||
labels: | ||
chart: {{ template "neuvector.chart" . }} | ||
release: {{ .Release.Name }} | ||
roleRef: | ||
{{- if not $oc3 }} | ||
apiGroup: rbac.authorization.k8s.io | ||
kind: ClusterRole | ||
{{- end }} | ||
name: neuvector-binding-app | ||
subjects: | ||
- kind: ServiceAccount | ||
name: controller | ||
namespace: {{ .Release.Namespace }} | ||
{{- if $oc3 }} | ||
userNames: | ||
- system:serviceaccount:{{ .Release.Namespace }}:controller | ||
{{- end }} | ||
|
||
--- | ||
|
||
{{- if $oc3 }} | ||
apiVersion: authorization.openshift.io/v1 | ||
{{- else if (semverCompare ">=1.8-0" (substr 1 -1 .Capabilities.KubeVersion.GitVersion)) }} | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
{{- else }} | ||
apiVersion: v1 | ||
{{- end }} | ||
kind: ClusterRoleBinding | ||
metadata: | ||
name: neuvector-binding-rbac | ||
labels: | ||
chart: {{ template "neuvector.chart" . }} | ||
release: {{ .Release.Name }} | ||
roleRef: | ||
{{- if not $oc3 }} | ||
apiGroup: rbac.authorization.k8s.io | ||
kind: ClusterRole | ||
{{- end }} | ||
name: neuvector-binding-rbac | ||
subjects: | ||
- kind: ServiceAccount | ||
name: controller | ||
namespace: {{ .Release.Namespace }} | ||
{{- if $oc3 }} | ||
userNames: | ||
- system:serviceaccount:{{ .Release.Namespace }}:controller | ||
{{- end }} | ||
|
||
--- | ||
|
||
{{- if $oc3 }} | ||
apiVersion: authorization.openshift.io/v1 | ||
{{- else if (semverCompare ">=1.8-0" (substr 1 -1 .Capabilities.KubeVersion.GitVersion)) }} | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
{{- else }} | ||
apiVersion: v1 | ||
{{- end }} | ||
kind: ClusterRoleBinding | ||
metadata: | ||
name: neuvector-binding-admission | ||
labels: | ||
chart: {{ template "neuvector.chart" . }} | ||
release: {{ .Release.Name }} | ||
roleRef: | ||
{{- if not $oc3 }} | ||
apiGroup: rbac.authorization.k8s.io | ||
kind: ClusterRole | ||
{{- end }} | ||
name: neuvector-binding-admission | ||
subjects: | ||
- kind: ServiceAccount | ||
name: controller | ||
namespace: {{ .Release.Namespace }} | ||
{{- if $oc3 }} | ||
userNames: | ||
- system:serviceaccount:{{ .Release.Namespace }}:controller | ||
{{- end }} | ||
|
||
--- | ||
|
||
{{- if $oc3 }} | ||
apiVersion: authorization.openshift.io/v1 | ||
{{- else if (semverCompare ">=1.8-0" (substr 1 -1 .Capabilities.KubeVersion.GitVersion)) }} | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
{{- else }} | ||
apiVersion: v1 | ||
{{- end }} | ||
kind: ClusterRoleBinding | ||
metadata: | ||
name: neuvector-binding-view | ||
labels: | ||
chart: {{ template "neuvector.chart" . }} | ||
release: {{ .Release.Name }} | ||
roleRef: | ||
{{- if not $oc3 }} | ||
apiGroup: rbac.authorization.k8s.io | ||
kind: ClusterRole | ||
{{- end }} | ||
name: view | ||
subjects: | ||
- kind: ServiceAccount | ||
name: controller | ||
namespace: {{ .Release.Namespace }} | ||
{{- if $oc3 }} | ||
userNames: | ||
- system:serviceaccount:{{ .Release.Namespace }}:controller | ||
{{- end }} | ||
|
||
--- | ||
|
||
{{- if $oc4 }} | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: ClusterRoleBinding | ||
metadata: | ||
name: neuvector-binding-co | ||
labels: | ||
chart: {{ template "neuvector.chart" . }} | ||
release: {{ .Release.Name }} | ||
roleRef: | ||
apiGroup: rbac.authorization.k8s.io | ||
kind: ClusterRole | ||
name: neuvector-binding-co | ||
subjects: | ||
- kind: ServiceAccount | ||
name: controller | ||
namespace: {{ .Release.Namespace }} | ||
- kind: ServiceAccount | ||
name: enforcer | ||
namespace: {{ .Release.Namespace }} | ||
{{- end }} | ||
{{- end }} |
Oops, something went wrong.