Skip to content

Commit

Permalink
Istio: Fix missing tests for API compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
evenh committed Nov 1, 2024
1 parent bac9a0a commit 42ed502
Show file tree
Hide file tree
Showing 10 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion tests/namespace/namespace-exclusion/assert.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: networking.istio.io/v1beta1
apiVersion: networking.istio.io/v1
kind: Sidecar
metadata:
name: sidecar
Expand Down
2 changes: 1 addition & 1 deletion tests/namespace/namespace-exclusion/errors.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: networking.istio.io/v1beta1
apiVersion: networking.istio.io/v1
kind: Sidecar
metadata:
name: sidecar
Expand Down
4 changes: 2 additions & 2 deletions tests/namespace/sidecar/assert.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
apiVersion: networking.istio.io/v1beta1
apiVersion: networking.istio.io/v1
kind: Sidecar
metadata:
name: sidecar
labels:
app.kubernetes.io/managed-by: skiperator
skiperator.kartverket.no/controller: namespace
spec:
outboundTrafficPolicy: {}
outboundTrafficPolicy: {}
2 changes: 1 addition & 1 deletion tests/routing/custom-certificate/routing-assert.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# name: cluster-issuer
# secretName: chainsaw-routing-routes-some-routing-routing-ingress-b1dffede
#---
apiVersion: networking.istio.io/v1beta1
apiVersion: networking.istio.io/v1
kind: Gateway
metadata:
name: some-routing-routing-ingress
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ spec:
- Ingress

---
apiVersion: networking.istio.io/v1beta1
apiVersion: networking.istio.io/v1
kind: VirtualService
metadata:
name: app-paths-routing-ingress
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ spec:
secretName: chainsaw-routing-routes-app-paths-routing-ingress-b1dffede

---
apiVersion: networking.istio.io/v1beta1
apiVersion: networking.istio.io/v1
kind: Gateway
metadata:
name: app-paths-routing-ingress
Expand All @@ -41,7 +41,7 @@ spec:
mode: SIMPLE

---
apiVersion: networking.istio.io/v1beta1
apiVersion: networking.istio.io/v1
kind: VirtualService
metadata:
name: app-paths-routing-ingress
Expand Down
2 changes: 1 addition & 1 deletion tests/routing/routes/patch-routing-change-path-assert.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: networking.istio.io/v1beta1
apiVersion: networking.istio.io/v1
kind: VirtualService
metadata:
name: app-paths-routing-ingress
Expand Down
2 changes: 1 addition & 1 deletion tests/routing/routes/patch-routing-remove-path-assert.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ spec:
- Ingress

---
apiVersion: networking.istio.io/v1beta1
apiVersion: networking.istio.io/v1
kind: VirtualService
metadata:
name: app-paths-routing-ingress
Expand Down
4 changes: 2 additions & 2 deletions tests/routing/routes/routing-assert.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ spec:
secretName: chainsaw-routing-routes-app-paths-routing-ingress-b1dffede

---
apiVersion: networking.istio.io/v1beta1
apiVersion: networking.istio.io/v1
kind: Gateway
metadata:
name: app-paths-routing-ingress
Expand Down Expand Up @@ -87,7 +87,7 @@ spec:
- Ingress

---
apiVersion: networking.istio.io/v1beta1
apiVersion: networking.istio.io/v1
kind: VirtualService
metadata:
name: app-paths-routing-ingress
Expand Down
4 changes: 2 additions & 2 deletions tests/skipjob/access-policy-job/skipjob-assert.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ spec:
policyTypes:
- Egress
---
apiVersion: networking.istio.io/v1beta1
apiVersion: networking.istio.io/v1
kind: ServiceEntry
metadata:
name: skipjob-access-policy-job-egress-3a90cb5d70dc06a
Expand All @@ -50,7 +50,7 @@ spec:
protocol: HTTPS
resolution: DNS
---
apiVersion: networking.istio.io/v1beta1
apiVersion: networking.istio.io/v1
kind: ServiceEntry
metadata:
name: skipjob-access-policy-job-egress-56cd7aa901014e78
Expand Down

0 comments on commit 42ed502

Please sign in to comment.