Skip to content

Commit 02019c7

Browse files
committed
fix: reorder namespace & infraProvider to please test suite
This is required because iterating over a list and a dict does not necessarily result in the same order of elements.
1 parent c9013f2 commit 02019c7

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

test/e2e/resources/multiple-infra-custom-ns-versions.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ metadata:
3636
"helm.sh/hook": "post-install,post-upgrade"
3737
"helm.sh/hook-weight": "1"
3838
"argocd.argoproj.io/sync-wave": "1"
39-
name: capd-custom-ns
39+
name: capz-custom-ns
4040
---
4141
# Source: cluster-api-operator/templates/infra.yaml
4242
apiVersion: v1
@@ -46,7 +46,7 @@ metadata:
4646
"helm.sh/hook": "post-install,post-upgrade"
4747
"helm.sh/hook-weight": "1"
4848
"argocd.argoproj.io/sync-wave": "1"
49-
name: capz-custom-ns
49+
name: capd-custom-ns
5050
---
5151
# Source: cluster-api-operator/templates/infra-conditions.yaml
5252
apiVersion: operator.cluster.x-k8s.io/v1alpha2
@@ -96,14 +96,14 @@ spec:
9696
apiVersion: operator.cluster.x-k8s.io/v1alpha2
9797
kind: InfrastructureProvider
9898
metadata:
99-
name: docker
100-
namespace: capd-custom-ns
99+
name: azure
100+
namespace: capz-custom-ns
101101
annotations:
102102
"helm.sh/hook": "post-install,post-upgrade"
103103
"helm.sh/hook-weight": "2"
104104
"argocd.argoproj.io/sync-wave": "2"
105105
spec:
106-
version: v1.7.7
106+
version: v1.10.0
107107
configSecret:
108108
name: test-secret-name
109109
namespace: test-secret-namespace
@@ -112,14 +112,14 @@ spec:
112112
apiVersion: operator.cluster.x-k8s.io/v1alpha2
113113
kind: InfrastructureProvider
114114
metadata:
115-
name: azure
116-
namespace: capz-custom-ns
115+
name: docker
116+
namespace: capd-custom-ns
117117
annotations:
118118
"helm.sh/hook": "post-install,post-upgrade"
119119
"helm.sh/hook-weight": "2"
120120
"argocd.argoproj.io/sync-wave": "2"
121121
spec:
122-
version: v1.10.0
122+
version: v1.7.7
123123
configSecret:
124124
name: test-secret-name
125125
namespace: test-secret-namespace

0 commit comments

Comments
 (0)