12 - Ingress Rules
For Ingress Rules, you simply add your Kubernetes service and Ingress manifests to your Harness Service, and then refer to the Service name in the Ingress manifest. In the following manifests, you can see the Service name my-svc referred to in the Ingress manifest.
- path: /my/path
Using the values.yaml file and Go templating, you would simply add the service name and any other key values to the values.yaml file and then replace them in both manifests with the variable. For examples of using Go templating, see Go Templating and Harness Variables in Configuration Files.