Skip to content

Commit

Permalink
Fix gateway issue in ior test (#736)
Browse files Browse the repository at this point in the history
  • Loading branch information
mkralik3 authored Sep 2, 2024
1 parent 53133dc commit c2c8e71
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/tests/ossm/ior_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -286,10 +286,10 @@ func TestIOR(t *testing.T) {
createSimpleGateway(t)

t.LogStep("Add labels argocd.argoproj.io/instance and argocd.argoproj.io/secret-type=cluster to the existing Gateway")
oc.Label(t, meshNamespace, "gateway", gatewayName, "argocd.argoproj.io/instance=app argocd.argoproj.io/secret-type=cluster")
oc.Label(t, meshNamespace, "gateway.networking.istio.io", gatewayName, "argocd.argoproj.io/instance=app argocd.argoproj.io/secret-type=cluster")

t.LogStep("Add annotations argocd.argoproj.io/instance and argocd.argoproj.io/secret-type=cluster to the existing Gateway")
oc.Patch(t, meshNamespace, "gateway", gatewayName, "merge", `
oc.Patch(t, meshNamespace, "gateway.networking.istio.io", gatewayName, "merge", `
metadata:
annotations:
argocd.argoproj.io/instance: app
Expand Down

0 comments on commit c2c8e71

Please sign in to comment.