File tree 4 files changed +12
-2
lines changed
4 files changed +12
-2
lines changed Original file line number Diff line number Diff line change 1
1
apiVersion : v1
2
- description : Divi DS Server
2
+ description : Divi Sites Server
3
3
icon : https://raw.githubusercontent.com/nodejs/nodejs.org/main/public/static/images/logo-hexagon.svg
4
4
maintainers :
5
5
6
6
name : Elegant Themes
7
7
name : ds-server
8
- version : 1.0.6
8
+ version : 1.0.7
Original file line number Diff line number Diff line change
1
+ { {- define " addCIDRToIPs" -} }
2
+ { {- $ips := . | split " ," -} }
3
+ { {- $ipsWithCIDR := list -} }
4
+ { {- range $ip := $ips -} }
5
+ { {- $ipsWithCIDR = append $ipsWithCIDR (print $ip " /32" ) -} }
6
+ { {- end -} }
7
+ { { $ipsWithCIDR | join " ," | quote } }
8
+ { {- end -} }
Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ metadata:
17
17
nginx.ingress.kubernetes.io/enable-rewrite-log : " false"
18
18
nginx.ingress.kubernetes.io/ssl-redirect : " false"
19
19
nginx.ingress.kubernetes.io/proxy-read-timeout : " 300"
20
+ nginx.ingress.kubernetes.io/limit-whitelist : {{ include "addCIDRToIPs" .Values.ETDC_IP_ADDRESSES }}
20
21
spec :
21
22
tls :
22
23
- hosts :
Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ DS_SERVER_PORT:
5
5
DS_SERVER_IMAGE :
6
6
DS_SERVER_REPO_URL :
7
7
DS_SERVER_VERSION :
8
+ ETDC_IP_ADDRESSES :
8
9
GITHUB_TOKEN :
9
10
GIT_REF :
10
11
INSTALL_PATH :
You can’t perform that action at this time.
0 commit comments