Skip to content

Commit 86328fc

Browse files
committed
compile ssl
Signed-off-by: clyi <clyi@alauda.io>
1 parent 986cfb6 commit 86328fc

16 files changed

Lines changed: 98 additions & 4 deletions

charts/kube-ovn-v2/templates/central/central-deployment.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,10 @@ spec:
9393
- NET_BIND_SERVICE
9494
- SYS_NICE
9595
env:
96+
- name: OPENSSL_CONF
97+
value: "/usr/local/openssl-fips/ssl/fipsmodule.cnf"
98+
- name: LD_LIBRARY_PATH
99+
value: "/usr/local/openssl-fips/lib64"
96100
- name: ENABLE_SSL
97101
value: "{{ .Values.networking.enableSsl }}"
98102
- name: NODE_IPS

charts/kube-ovn-v2/templates/controller/controller-deployment.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,10 @@ spec:
166166
- NET_BIND_SERVICE
167167
- NET_RAW
168168
env:
169+
- name: OPENSSL_CONF
170+
value: "/usr/local/openssl-fips/ssl/fipsmodule.cnf"
171+
- name: LD_LIBRARY_PATH
172+
value: "/usr/local/openssl-fips/lib64"
169173
- name: ENABLE_SSL
170174
value: "{{ .Values.networking.enableSsl }}"
171175
- name: POD_NAME

charts/kube-ovn-v2/templates/monitor/monitor-deployment.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,10 @@ spec:
9191
add:
9292
- NET_BIND_SERVICE
9393
env:
94+
- name: OPENSSL_CONF
95+
value: "/usr/local/openssl-fips/ssl/fipsmodule.cnf"
96+
- name: LD_LIBRARY_PATH
97+
value: "/usr/local/openssl-fips/lib64"
9498
- name: ENABLE_SSL
9599
value: "{{ .Values.networking.enableSsl }}"
96100
- name: KUBE_NODE_NAME

charts/kube-ovn-v2/templates/ovs-ovn/ovs-ovn-daemonset.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,10 @@ spec:
105105
- SYS_NICE
106106
- SYS_ADMIN
107107
env:
108+
- name: OPENSSL_CONF
109+
value: "/usr/local/openssl-fips/ssl/fipsmodule.cnf"
110+
- name: LD_LIBRARY_PATH
111+
value: "/usr/local/openssl-fips/lib64"
108112
- name: ENABLE_SSL
109113
value: "{{ .Values.networking.enableSsl }}"
110114
- name: POD_IP

charts/kube-ovn-v2/templates/ovs-ovn/ovs-ovn-dpdk-daemonset.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,10 @@ spec:
5454
runAsUser: 0
5555
privileged: true
5656
env:
57+
- name: OPENSSL_CONF
58+
value: "/usr/local/openssl-fips/ssl/fipsmodule.cnf"
59+
- name: LD_LIBRARY_PATH
60+
value: "/usr/local/openssl-fips/lib64"
5761
- name: ENABLE_SSL
5862
value: "{{ .Values.networking.enableSsl }}"
5963
- name: POD_IP

charts/kube-ovn-v2/templates/pinger/pinger-daemonset.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,10 @@ spec:
100100
- NET_BIND_SERVICE
101101
- NET_RAW
102102
env:
103+
- name: OPENSSL_CONF
104+
value: "/usr/local/openssl-fips/ssl/fipsmodule.cnf"
105+
- name: LD_LIBRARY_PATH
106+
value: "/usr/local/openssl-fips/lib64"
103107
- name: ENABLE_SSL
104108
value: "{{ .Values.networking.enableSsl }}"
105109
- name: POD_IP

charts/kube-ovn/templates/central-deploy.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,10 @@ spec:
7777
- NET_BIND_SERVICE
7878
- SYS_NICE
7979
env:
80+
- name: OPENSSL_CONF
81+
value: "/usr/local/openssl-fips/ssl/fipsmodule.cnf"
82+
- name: LD_LIBRARY_PATH
83+
value: "/usr/local/openssl-fips/lib64"
8084
- name: ENABLE_SSL
8185
value: "{{ .Values.networking.ENABLE_SSL }}"
8286
- name: NODE_IPS

charts/kube-ovn/templates/controller-deploy.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,10 @@ spec:
150150
- NET_BIND_SERVICE
151151
- NET_RAW
152152
env:
153+
- name: OPENSSL_CONF
154+
value: "/usr/local/openssl-fips/ssl/fipsmodule.cnf"
155+
- name: LD_LIBRARY_PATH
156+
value: "/usr/local/openssl-fips/lib64"
153157
- name: ENABLE_SSL
154158
value: "{{ .Values.networking.ENABLE_SSL }}"
155159
- name: POD_NAME

charts/kube-ovn/templates/ic-controller-deploy.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,10 @@ spec:
8181
- NET_BIND_SERVICE
8282
- SYS_NICE
8383
env:
84+
- name: OPENSSL_CONF
85+
value: "/usr/local/openssl-fips/ssl/fipsmodule.cnf"
86+
- name: LD_LIBRARY_PATH
87+
value: "/usr/local/openssl-fips/lib64"
8488
- name: ENABLE_SSL
8589
value: "{{ .Values.networking.ENABLE_SSL }}"
8690
- name: POD_NAMESPACE

charts/kube-ovn/templates/monitor-deploy.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,10 @@ spec:
7575
add:
7676
- NET_BIND_SERVICE
7777
env:
78+
- name: OPENSSL_CONF
79+
value: "/usr/local/openssl-fips/ssl/fipsmodule.cnf"
80+
- name: LD_LIBRARY_PATH
81+
value: "/usr/local/openssl-fips/lib64"
7882
- name: ENABLE_SSL
7983
value: "{{ .Values.networking.ENABLE_SSL }}"
8084
- name: KUBE_NODE_NAME

0 commit comments

Comments
 (0)