Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
when templating the output of the namespace connectivity check we were referring to the 'fromCIDR' as 'fromNamespace'. it makes way more sense to refer to it as 'fromCIDR' as this is how it is provided in the input for the collector. as this is a brand new feature it is very unlikely that anyone is using this feature (except for the embedded cluster that still needs to be patched accodringly). this is how the analyser were defined before: ```yaml apiVersion: troubleshoot.sh/v1beta2 kind: HostPreflight metadata: name: ec-cluster-preflight spec: analyzers: - networkNamespaceConnectivity: collectorName: check-network-connectivity outcomes: - pass: message: "Communication between {{ .FromNamespace }} and {{ .ToNamespace }} is working" - fail: message: "{{ .ErrorMessage }}" ``` and this is how it is now: ```yaml apiVersion: troubleshoot.sh/v1beta2 kind: HostPreflight metadata: name: ec-cluster-preflight spec: analyzers: - networkNamespaceConnectivity: collectorName: check-network-connectivity outcomes: - pass: message: "Communication between {{ .FromCIDR }} and {{ .ToCIDR }} is working" - fail: message: "{{ .ErrorMessage }}" ```
- Loading branch information