Skip to content

Commit

Permalink
install gateway-system prior to using gateway resources
Browse files Browse the repository at this point in the history
  • Loading branch information
dprotaso committed Jul 11, 2023
1 parent bd0f0ec commit bf19e47
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions test/config/ytt/ingress/gateway-api/ordering.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
#! The resources in net-certmanager expect cert-manager to be up and running.
#! This overlay tells kapp to wait with applying net-certmanager until cert-manager ready.

#@ load("@ytt:overlay", "overlay")
#@ load("helpers.lib.yaml", "subset", "label_subset")

#@overlay/match by=subset(namespace="gateway-system"), expects="1+"
---
metadata:
#@overlay/match missing_ok=True
annotations:
#@overlay/match missing_ok=True
kapp.k14s.io/change-group: "gateway-system"

#@overlay/match by=subset(kind="GatewayClass"), expects="1+"
---
metadata:
#@overlay/match missing_ok=True
#@overlay/match-child-defaults missing_ok=True
annotations:
kapp.k14s.io/change-group: "gateway-class"
kapp.k14s.io/change-rule: "upsert after upserting gateway-system"
#@overlay/match by=subset(kind="Gateway"), expects="1+"
---
metadata:
#@overlay/match missing_ok=True
#@overlay/match-child-defaults missing_ok=True
annotations:
kapp.k14s.io/change-group: "gateway-class"
kapp.k14s.io/change-rule: "upsert after upserting gateway-system"

0 comments on commit bf19e47

Please sign in to comment.