Ariel Shaqed (Scolnicov)
01/17/2022, 7:01 AMkubectl patch ingress myingress --type json --patch-file=/tmp/patch.json/tmp/patch.json[
  {
    "op": "add",
    "path": "/spec/rules/-",
    "value": {
      "host": "<http://another.example.com|another.example.com>",
      "http": {
	"paths": [
          {
          "backend": {
            "service": {
              "name": "another-svc",
              "port": {
                "number": 5678
              }
            }
          },
          "path": "/another",
	  "pathType": "Prefix"
        }]
      }
    }
  }
]Oz Katz
Ariel Shaqed (Scolnicov)
01/17/2022, 9:38 AM