Skip to content

Commit bdca2bc

Browse files
committed
fix snaps
1 parent 0b3e3f2 commit bdca2bc

File tree

1 file changed

+90
-2
lines changed

1 file changed

+90
-2
lines changed

charts/tests/__snapshots__/helmunit_test.snap

Lines changed: 90 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,22 @@ metadata:
2929
data:
3030
{}
3131
/-/-/-/
32+
# Source: nginx-ingress/templates/controller-configmap.yaml
33+
/-/-/-/
34+
apiVersion: v1
35+
kind: ConfigMap
36+
metadata:
37+
name: appprotect-dos-nginx-ingress-mgmt
38+
namespace: appprotect-dos
39+
labels:
40+
helm.sh/chart: nginx-ingress-1.5.0
41+
app.kubernetes.io/name: nginx-ingress
42+
app.kubernetes.io/instance: appprotect-dos
43+
app.kubernetes.io/version: "4.0.0"
44+
app.kubernetes.io/managed-by: Helm
45+
data:
46+
license-token-secret-name: license-token
47+
/-/-/-/
3248
# Source: nginx-ingress/templates/controller-leader-election-configmap.yaml
3349
apiVersion: v1
3450
kind: ConfigMap
@@ -379,6 +395,7 @@ spec:
379395
- -app-protect-dos-memory=1024
380396

381397
- -nginx-configmaps=$(POD_NAMESPACE)/appprotect-dos-nginx-ingress
398+
- -mgmt-configmap=$(POD_NAMESPACE)/appprotect-dos-nginx-ingress-mgmt
382399
- -ingress-class=nginx
383400
- -health-status=false
384401
- -health-status-uri=/nginx-health
@@ -472,6 +489,22 @@ metadata:
472489
data:
473490
{}
474491
/-/-/-/
492+
# Source: nginx-ingress/templates/controller-configmap.yaml
493+
/-/-/-/
494+
apiVersion: v1
495+
kind: ConfigMap
496+
metadata:
497+
name: appprotect-waf-nginx-ingress-mgmt
498+
namespace: appprotect-waf
499+
labels:
500+
helm.sh/chart: nginx-ingress-1.5.0
501+
app.kubernetes.io/name: nginx-ingress
502+
app.kubernetes.io/instance: appprotect-waf
503+
app.kubernetes.io/version: "4.0.0"
504+
app.kubernetes.io/managed-by: Helm
505+
data:
506+
license-token-secret-name: license-token
507+
/-/-/-/
475508
# Source: nginx-ingress/templates/controller-leader-election-configmap.yaml
476509
apiVersion: v1
477510
kind: ConfigMap
@@ -817,6 +850,7 @@ spec:
817850
- -enable-app-protect=true
818851
- -enable-app-protect-dos=false
819852
- -nginx-configmaps=$(POD_NAMESPACE)/appprotect-waf-nginx-ingress
853+
- -mgmt-configmap=$(POD_NAMESPACE)/appprotect-waf-nginx-ingress-mgmt
820854
- -ingress-class=nginx
821855
- -health-status=false
822856
- -health-status-uri=/nginx-health
@@ -910,6 +944,22 @@ metadata:
910944
data:
911945
{}
912946
/-/-/-/
947+
# Source: nginx-ingress/templates/controller-configmap.yaml
948+
/-/-/-/
949+
apiVersion: v1
950+
kind: ConfigMap
951+
metadata:
952+
name: appprotect-wafv5-nginx-ingress-mgmt
953+
namespace: appprotect-wafv5
954+
labels:
955+
helm.sh/chart: nginx-ingress-1.5.0
956+
app.kubernetes.io/name: nginx-ingress
957+
app.kubernetes.io/instance: appprotect-wafv5
958+
app.kubernetes.io/version: "4.0.0"
959+
app.kubernetes.io/managed-by: Helm
960+
data:
961+
license-token-secret-name: license-token
962+
/-/-/-/
913963
# Source: nginx-ingress/templates/controller-leader-election-configmap.yaml
914964
apiVersion: v1
915965
kind: ConfigMap
@@ -1272,6 +1322,7 @@ spec:
12721322
- -app-protect-enforcer-address="localhost:50001"
12731323
- -enable-app-protect-dos=false
12741324
- -nginx-configmaps=$(POD_NAMESPACE)/appprotect-wafv5-nginx-ingress
1325+
- -mgmt-configmap=$(POD_NAMESPACE)/appprotect-wafv5-nginx-ingress-mgmt
12751326
- -ingress-class=nginx
12761327
- -health-status=false
12771328
- -health-status-uri=/nginx-health
@@ -1308,16 +1359,18 @@ spec:
13081359
- -weight-changes-dynamic-reload=false
13091360

13101361
- name: waf-enforcer
1311-
image: my.private.reg/nap/waf-enforcer:5.3.0
1362+
image: my.private.reg/nap/waf-enforcer:5.4.0
13121363
imagePullPolicy: "IfNotPresent"
13131364
env:
13141365
- name: ENFORCER_PORT
13151366
value: "50001"
1367+
- name: ENFORCER_CONFIG_TIMEOUT
1368+
value: "0"
13161369
volumeMounts:
13171370
- name: app-protect-bd-config
13181371
mountPath: /opt/app_protect/bd_config
13191372
- name: waf-config-mgr
1320-
image: my.private.reg/nap/waf-config-mgr:5.3.0
1373+
image: my.private.reg/nap/waf-config-mgr:5.4.0
13211374
imagePullPolicy: "IfNotPresent"
13221375
securityContext:
13231376

@@ -1750,6 +1803,9 @@ metadata:
17501803
spec:
17511804
controller: nginx.org/ingress-controller
17521805
/-/-/-/
1806+
# Source: nginx-ingress/templates/controller-configmap.yaml
1807+
/-/-/-/
1808+
/-/-/-/
17531809
# Source: nginx-ingress/templates/controller-lease.yaml
17541810
apiVersion: coordination.k8s.io/v1
17551811
kind: Lease
@@ -2178,6 +2234,9 @@ metadata:
21782234
spec:
21792235
controller: nginx.org/ingress-controller
21802236
/-/-/-/
2237+
# Source: nginx-ingress/templates/controller-configmap.yaml
2238+
/-/-/-/
2239+
/-/-/-/
21812240
# Source: nginx-ingress/templates/controller-lease.yaml
21822241
apiVersion: coordination.k8s.io/v1
21832242
kind: Lease
@@ -2606,6 +2665,9 @@ metadata:
26062665
spec:
26072666
controller: nginx.org/ingress-controller
26082667
/-/-/-/
2668+
# Source: nginx-ingress/templates/controller-configmap.yaml
2669+
/-/-/-/
2670+
/-/-/-/
26092671
# Source: nginx-ingress/templates/controller-lease.yaml
26102672
apiVersion: coordination.k8s.io/v1
26112673
kind: Lease
@@ -3035,6 +3097,9 @@ metadata:
30353097
spec:
30363098
controller: nginx.org/ingress-controller
30373099
/-/-/-/
3100+
# Source: nginx-ingress/templates/controller-configmap.yaml
3101+
/-/-/-/
3102+
/-/-/-/
30383103
# Source: nginx-ingress/templates/controller-globalconfiguration.yaml
30393104
apiVersion: k8s.nginx.org/v1
30403105
kind: GlobalConfiguration
@@ -3486,6 +3551,9 @@ metadata:
34863551
spec:
34873552
controller: nginx.org/ingress-controller
34883553
/-/-/-/
3554+
# Source: nginx-ingress/templates/controller-configmap.yaml
3555+
/-/-/-/
3556+
/-/-/-/
34893557
# Source: nginx-ingress/templates/controller-lease.yaml
34903558
apiVersion: coordination.k8s.io/v1
34913559
kind: Lease
@@ -3914,6 +3982,9 @@ metadata:
39143982
spec:
39153983
controller: nginx.org/ingress-controller
39163984
/-/-/-/
3985+
# Source: nginx-ingress/templates/controller-configmap.yaml
3986+
/-/-/-/
3987+
/-/-/-/
39173988
# Source: nginx-ingress/templates/controller-lease.yaml
39183989
apiVersion: coordination.k8s.io/v1
39193990
kind: Lease
@@ -3958,6 +4029,22 @@ metadata:
39584029
data:
39594030
{}
39604031
/-/-/-/
4032+
# Source: nginx-ingress/templates/controller-configmap.yaml
4033+
/-/-/-/
4034+
apiVersion: v1
4035+
kind: ConfigMap
4036+
metadata:
4037+
name: plus-nginx-ingress-mgmt
4038+
namespace: default
4039+
labels:
4040+
helm.sh/chart: nginx-ingress-1.5.0
4041+
app.kubernetes.io/name: nginx-ingress
4042+
app.kubernetes.io/instance: plus
4043+
app.kubernetes.io/version: "4.0.0"
4044+
app.kubernetes.io/managed-by: Helm
4045+
data:
4046+
license-token-secret-name: license-token
4047+
/-/-/-/
39614048
# Source: nginx-ingress/templates/controller-leader-election-configmap.yaml
39624049
apiVersion: v1
39634050
kind: ConfigMap
@@ -4293,6 +4380,7 @@ spec:
42934380
- -enable-app-protect=false
42944381
- -enable-app-protect-dos=false
42954382
- -nginx-configmaps=$(POD_NAMESPACE)/plus-nginx-ingress
4383+
- -mgmt-configmap=$(POD_NAMESPACE)/plus-nginx-ingress-mgmt
42964384
- -ingress-class=nginx
42974385
- -health-status=false
42984386
- -health-status-uri=/nginx-health

0 commit comments

Comments
 (0)