Skip to content

Commit

Permalink
rename app and resources in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
BardOve committed Sep 27, 2024
1 parent 6cbaad4 commit 49b3f7e
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: networking.istio.io/v1beta1
kind: Gateway
metadata:
name: app-missing-internal-flag-ingress-56cd7aa901014e78
name: app-missing-internal-flag-ext-ingress-56cd7aa901014e78
spec:
selector:
app: istio-ingress-external
Expand All @@ -19,21 +19,21 @@ spec:
number: 443
protocol: HTTPS
tls:
credentialName: chainsaw-routing-internal-flag-app-missing-internal-flag-ingress-56cd7aa901014e78
credentialName: chainsaw-routing-internal-flag-app-missing-internal-flag-ext-ingress-56cd7aa901014e78
mode: SIMPLE

---
apiVersion: networking.istio.io/v1beta1
kind: VirtualService
metadata:
name: app-missing-internal-flag-ingress
name: app-missing-internal-flag-ext-ingress
spec:
exportTo:
- .
- istio-system
- istio-gateways
gateways:
- app-missing-internal-flag-ingress-56cd7aa901014e78
- app-missing-internal-flag-ext-ingress-56cd7aa901014e78
hosts:
- example.com
http:
Expand All @@ -49,14 +49,14 @@ spec:
- name: default-app-route
route:
- destination:
host: app-missing-internal-flag
host: app-missing-internal-flag-ext
port:
number: 8000
---
apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
name: app-missing-internal-flag
name: app-missing-internal-flag-ext
spec:
ingress:
- from:
Expand All @@ -71,6 +71,6 @@ spec:
protocol: TCP
podSelector:
matchLabels:
app: app-missing-internal-flag
app: app-missing-internal-flag-ext
policyTypes:
- Ingress
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: skiperator.kartverket.no/v1alpha1
kind: Application
metadata:
name: app-missing-internal-flag
name: app-missing-internal-flag-ext
spec:
image: image
port: 8000
Expand Down
2 changes: 1 addition & 1 deletion tests/application/internal-flag/chainsaw-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ spec:
- assert:
file: application-internal-missing-internal-flag-assert.yaml
- try:
- patch:
- apply:
file: application-internal-missing-internal-flag-ext.yaml
- assert:
file: application-internal-missing-internal-flag-ext-assert.yaml

0 comments on commit 49b3f7e

Please sign in to comment.