Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Patch Neuvector in NonProd #5863

Merged
merged 8 commits into from
Dec 11, 2024
Merged
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
Loading