Skip to content

Commit

Permalink
Fix istio spec for knative
Browse files Browse the repository at this point in the history
  • Loading branch information
metacoma committed May 17, 2024
1 parent a78e095 commit c48c970
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions main.k
Original file line number Diff line number Diff line change
Expand Up @@ -186,9 +186,21 @@ mindwm_app = ArgoCdOrder.make({
metadata.annotations = {
"argocd.argoproj.io/sync-options" = "SkipDryRunOnMissingResource=true"
}
spec.config.istio = {
"local-gateway.${istio.gateway.namespace}.knative-local-gateway" = "knative-local-gateway.${istio.system.namespace}.svc.cluster.local"
spec = {
config = {
istio = {
"local-gateways" = yaml.encode([{
name = "knative-local-gateway"
namespace = "istio-system"
service = "knative-local-gateway.istio-system.svc.cluster.local"

}])
}
}
}
#"spec.config.istio.local-gateways" = {
# "local-gateway.${istio.gateway.namespace}.knative-local-gateway" = "knative-local-gateway.${istio.system.namespace}.svc.cluster.local"
#}
}

knative.KnativeEventing {
Expand Down

0 comments on commit c48c970

Please sign in to comment.