Fluentbit DNS netpol does not allow port 5353 for Openshift
Fluentbit 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/fluentbit/-/blob/41c1d1c577cfc9e505d27408f462af565497fd5a/chart/templates/bigbang/networkpolicies/allow-dns-lookups.yaml#L16 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 assigned to @ryan.j.garcia
assigned to @ryan.j.garcia
- kenna added BB Customer Issues fluentbit labels
added BB Customer Issues fluentbit 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 changed milestone to %1.13.0
changed milestone to %1.13.0
- 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
- Ryan Garcia unassigned @kenna81 and @ryan.j.garcia
unassigned @kenna81 and @ryan.j.garcia
- 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
- Brendon Lloyd assigned to @blloyd
assigned to @blloyd
- Brendon Lloyd added statusdoing label
added statusdoing label
- Brendon Lloyd changed iteration to Big Bang Iterations Jul 13, 2021 - Jul 26, 2021
changed iteration to Big Bang Iterations Jul 13, 2021 - Jul 26, 2021
- Brendon Lloyd mentioned in merge request !677 (closed)
mentioned in merge request !677 (closed)
- Contributor
Submitted MR:
https://repo1.dso.mil/platform-one/big-bang/apps/core/fluentbit/-/merge_requests/26
Will submit BB MR when approved
- Brendon Lloyd added statusreview label and removed statusdoing label
added statusreview label and removed statusdoing label
- Brendon Lloyd mentioned in merge request !725 (merged)
mentioned in merge request !725 (merged)
- Ryan Garcia closed
closed
- bigbang bot removed statusreview label
removed statusreview label
- Tim Hutchens reopened
reopened
- Developer
The fluentbit helm chart was updated with the correct fix in this commit: https://repo1.dso.mil/platform-one/big-bang/apps/core/fluentbit/-/commit/f53dff90d51541c63c38896212c6529ab445f1d9#89a6ae26225197a9935e69790fcfba430c163b29_19_21
However, the bigbang helm chart does not pass the openshift flag from the bigbang values file to the fluentbit values secret here: https://repo1.dso.mil/platform-one/big-bang/bigbang/-/blob/master/chart/templates/logging/fluentbit/values.yaml
Changing this:
{{- if .Values.openshift }} podSecurityContext: seLinuxOptions: type: "spc_t" {{- end }}
to this should correct this.
{{- if .Values.openshift }} openshift: true podSecurityContext: seLinuxOptions: type: "spc_t" {{- end }}
Without this fix, the fluentbit netpol does not have the correct DNS port/protocol for OpenShift DNS (5353).
- Micah Nagel mentioned in merge request !1221 (merged)
mentioned in merge request !1221 (merged)
- Micah Nagel added statusreview label
added statusreview label
- Ryan Garcia closed with merge request !1221 (merged)
closed with merge request !1221 (merged)
- Ryan Garcia mentioned in commit 87be2700
mentioned in commit 87be2700
- bigbang bot removed statusreview label
removed statusreview label