kiali DNS netpol does not allow port 5353 for Openshift
kiali DNS netpol does not allow port 5353 for Openshift
Looking at the DNS netpol here: https://repo1.dso.mil/platform-one/big-bang/apps/core/kiali/-/blob/1c6bef52ca574fb39e504146751da44b8eecd659/chart/templates/bigbang/networkpolicies/egress-kube-dns.yaml#L15 Only port 53 is allowed. Openshift needs port 5353 for DNS lookups.
Using BB 1.11.0, Openshift 4.6.4
Designs
- Show closed items
Activity
-
Newest first Oldest first
-
Show all activity Show comments only Show history only
- Duncan Young assigned to @kenna81
assigned to @kenna81
- kenna added BB Customer Issues kiali labels
added BB Customer Issues kiali labels
- kevin.wilder added Good First Issue label
added Good First Issue label
- Contributor
Refer to the Gitlab MRs for how to do it. Carefully review the changes that were made.
Gitlab Package MR example
https://repo1.dso.mil/platform-one/big-bang/apps/developer-tools/gitlab/-/merge_requests/54/diffs
BigBang MR example
https://repo1.dso.mil/platform-one/big-bang/bigbang/-/merge_requests/664/diffs - kevin.wilder set weight to 1
set weight to 1
- Ryan Garcia unassigned @kenna81
unassigned @kenna81
- Ryan Garcia changed milestone to %1.14.0
changed milestone to %1.14.0
- Ryan Garcia changed iteration to Big Bang Iterations Jul 27, 2021 - Aug 9, 2021
changed iteration to Big Bang Iterations Jul 27, 2021 - Aug 9, 2021
- Micah Nagel changed iteration to Big Bang Iterations Jul 13, 2021 - Jul 26, 2021
changed iteration to Big Bang Iterations Jul 13, 2021 - Jul 26, 2021
- Micah Nagel changed milestone to %1.13.0
changed milestone to %1.13.0
- Micah Nagel changed milestone to %1.14.0
changed milestone to %1.14.0
- Micah Nagel changed iteration to Big Bang Iterations Jul 27, 2021 - Aug 9, 2021
changed iteration to Big Bang Iterations Jul 27, 2021 - Aug 9, 2021
- Jason Krause changed iteration to Big Bang Iterations Jul 13, 2021 - Jul 26, 2021
changed iteration to Big Bang Iterations Jul 13, 2021 - Jul 26, 2021
- Mark Sanchez assigned to @mark.sanchez
assigned to @mark.sanchez
- Mark Sanchez added statusdoing label
added statusdoing label
- Mark Sanchez created merge request !681 (merged) to address this issue
created merge request !681 (merged) to address this issue
- Mark Sanchez mentioned in merge request !681 (merged)
mentioned in merge request !681 (merged)
- Contributor
Tested using
helm template kiali ./chart/
with value openshift: false Output# Source: kiali-operator/templates/bigbang/networkpolicies/egress-kube-dns.yaml apiVersion: networking.k8s.io/v1 kind: NetworkPolicy metadata: name: egress-kube-dns namespace: "default" spec: podSelector: {} # all pods in Release namespace policyTypes: - Egress egress: - to: - namespaceSelector: {} # all namespaces ports: - port: 53 protocol: UDP
Tested using
helm template kiali ./chart/
with value openshift: true Output# Source: kiali-operator/templates/bigbang/networkpolicies/egress-kube-dns.yaml apiVersion: networking.k8s.io/v1 kind: NetworkPolicy metadata: name: egress-kube-dns namespace: "default" spec: podSelector: {} # all pods in Release namespace policyTypes: - Egress egress: - to: - namespaceSelector: {} # all namespaces ports: - port: 53 protocol: UDP - port: 5353 protocol: UDP