Skip to content

Commit

Permalink
Patch Neuvector in NonProd (#5863)
Browse files Browse the repository at this point in the history
* Bump neuvector chart to version 1.5.9

* Update neuvector CRDs

* Make neuvector crd target unique

* Update neuvector chart version
  • Loading branch information
ssian2 authored Dec 11, 2024
1 parent eff69b6 commit 5dcf5a4
Show file tree
Hide file tree
Showing 8 changed files with 43 additions and 5 deletions.
8 changes: 4 additions & 4 deletions apps/neuvector/crds/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- https://raw.githubusercontent.com/neuvector/manifests/main/kubernetes/5.3.0/crd-k8s-1.19.yaml
- https://raw.githubusercontent.com/neuvector/manifests/main/kubernetes/5.3.0/waf-crd-k8s-1.19.yaml
- https://raw.githubusercontent.com/neuvector/manifests/main/kubernetes/5.3.0/dlp-crd-k8s-1.19.yaml
- https://raw.githubusercontent.com/neuvector/manifests/main/kubernetes/5.3.0/admission-crd-k8s-1.19.yaml
- https://raw.githubusercontent.com/neuvector/manifests/main/kubernetes/5.4.0/crd-k8s-1.19.yaml
- https://raw.githubusercontent.com/neuvector/manifests/main/kubernetes/5.4.0/waf-crd-k8s-1.19.yaml
- https://raw.githubusercontent.com/neuvector/manifests/main/kubernetes/5.4.0/dlp-crd-k8s-1.19.yaml
- https://raw.githubusercontent.com/neuvector/manifests/main/kubernetes/5.4.0/admission-crd-k8s-1.19.yaml
26 changes: 26 additions & 0 deletions apps/neuvector/crds/kustomize.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: neuvector-crds
namespace: flux-system
spec:
interval: 10m
path: ./apps/neuvector/crds

---

apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: neuvector
namespace: flux-system
spec:
path: ./apps/neuvector/${ENVIRONMENT}/${CLUSTER}
dependsOn:
- name: neuvector-crds
postBuild:
substitute:
NAMESPACE: "neuvector"
TEAM_NOTIFICATION_CHANNEL: "${ENV_MONITOR_CHANNEL}"
ENV_INJECTOR: "disabled"
WI_NAME: neuvector
3 changes: 3 additions & 0 deletions apps/neuvector/neuvector/ithc/ithc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ metadata:
name: neuvector
namespace: neuvector
spec:
chart:
spec:
version: 1.5.14
values:
keyvault:
name: sdsneuvector
Expand Down
3 changes: 3 additions & 0 deletions apps/neuvector/neuvector/stg/stg.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ metadata:
name: neuvector
namespace: neuvector
spec:
chart:
spec:
version: 1.5.14
values:
keyvault:
name: sdsneuvector
Expand Down
3 changes: 3 additions & 0 deletions apps/neuvector/neuvector/test/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ metadata:
name: neuvector
namespace: neuvector
spec:
chart:
spec:
version: 1.5.14
values:
keyvault:
name: sdsneuvector
Expand Down
1 change: 1 addition & 0 deletions clusters/ithc/base/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,4 @@ patches:
annotationSelector: hmcts.github.com/kustomize-defaults != disabled
- path: ../../../apps/toffee/ithc/base/kustomize.yaml
- path: ../../../apps/admin/ithc/base/kustomize.yaml
- path: ../../../apps/neuvector/crds/kustomize.yaml
3 changes: 2 additions & 1 deletion clusters/stg/base/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,5 @@ patches:
kind: Kustomization
annotationSelector: hmcts.github.com/kustomize-defaults != disabled
- path: ../../../apps/toffee/stg/base/kustomize.yaml
- path: ../../../apps/admin/stg/base/kustomize.yaml
- path: ../../../apps/admin/stg/base/kustomize.yaml
- path: ../../../apps/neuvector/crds/kustomize.yaml
1 change: 1 addition & 0 deletions clusters/test/base/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,4 @@ patches:
annotationSelector: hmcts.github.com/kustomize-defaults != disabled
- path: ../../../apps/toffee/test/base/kustomize.yaml
- path: ../../../apps/admin/test/base/kustomize.yaml
- path: ../../../apps/neuvector/crds/kustomize.yaml

0 comments on commit 5dcf5a4

Please sign in to comment.