File tree Expand file tree Collapse file tree 2 files changed +23
-15
lines changed
sdx/chart/sdx-edge/templates Expand file tree Collapse file tree 2 files changed +23
-15
lines changed Original file line number Diff line number Diff line change 11kind : NetworkPolicy
22apiVersion : networking.k8s.io/v1
33metadata :
4- name : allow -ingress-to -{{ include "sdx-edge.fullname" . }}
4+ name : sdx -ingress-{{ include "sdx-edge.fullname" . }}
55spec :
66 podSelector :
77 matchLabels :
@@ -11,18 +11,23 @@ spec:
1111 - namespaceSelector :
1212 matchLabels :
1313 network.openshift.io/policy-group : ingress
14+ ports :
15+ - protocol : TCP
16+ port : 8443
1417 policyTypes :
1518 - Ingress
19+
1620{{ if .Values.shared.fluentbit.enabled }}
1721---
1822kind : NetworkPolicy
1923apiVersion : networking.k8s.io/v1
2024metadata :
21- name : allow -edge-to-aggregator
25+ name : sdx -edge-to-fluentbit
2226spec :
2327 podSelector :
2428 matchLabels :
25- app.kubernetes.io/name : log-aggregator
29+ app.kubernetes.io/name : sdx-edge
30+ app.kubernetes.io/component : fluentbit
2631 ingress :
2732 - from :
2833 - podSelector :
@@ -37,11 +42,12 @@ spec:
3742kind : NetworkPolicy
3843apiVersion : networking.k8s.io/v1
3944metadata :
40- name : allow -ingress-to -prometheus
45+ name : sdx -ingress-prometheus
4146spec :
4247 podSelector :
4348 matchLabels :
44- app.kubernetes.io/name : prometheus
49+ app.kubernetes.io/name : sdx-edge
50+ app.kubernetes.io/component : prometheus
4551 ingress :
4652 - from :
4753 - namespaceSelector :
Original file line number Diff line number Diff line change 1- {{ if .Values.tls.client.bootstrap.token }}
21kind : Secret
32apiVersion : v1
43metadata :
5- name : {{ include "sdx-edge.fullname" . }}-bootstrap
4+ name : {{ include "sdx-edge.fullname" . }}-proxy-include
65data :
7- token : {{ .Values.tls.client.bootstrap.token | b64enc | quote }}
6+ config : {{ .Values.nginx_conf | b64enc | quote }}
87type : Opaque
8+
9+ {{ if .Values.tls.client.bootstrap.token }}
910---
10- {{ end }}
11- {{ if .Values.shared.ca_secret }}
1211kind : Secret
1312apiVersion : v1
1413metadata :
15- name : sdx-public-ca
14+ name : {{ include " sdx-edge.fullname" . }}-bootstrap
1615data :
17- ca.crt : {{ .Values.tls.public_ca | b64enc | quote }}
16+ token : {{ .Values.tls.client.bootstrap.token | b64enc | quote }}
1817type : Opaque
18+ {{ end }}
19+
20+ {{ if .Values.shared.ca_secret }}
1921---
2022kind : Secret
2123apiVersion : v1
2224metadata :
23- name : {{ include " sdx-edge.fullname" . }}-proxy-include
25+ name : sdx-public-ca
2426data :
25- config : {{ .Values.nginx_conf | b64enc | quote }}
27+ ca.crt : {{ .Values.tls.public_ca | b64enc | quote }}
2628type : Opaque
27- {{ end }}
29+ {{ end }}
You can’t perform that action at this time.
0 commit comments