|
@@ -1,7 +1,7 @@
|
|
|
-# Image registry secret. Required if authorization is needed on registry access.
|
|
|
+# Image registry secret. Required if authorization is needed on registry access.
|
|
|
# Value of $(base64 ~/.docker/config.json).
|
|
|
# For more info see https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
|
|
|
-# registry_secret_data:
|
|
|
+# registry_secret_data:
|
|
|
|
|
|
# Settings for main openvpn deployment
|
|
|
openvpn:
|
|
@@ -9,7 +9,7 @@ openvpn:
|
|
|
tag: "200207025"
|
|
|
pullPolicy: IfNotPresent
|
|
|
|
|
|
-# podAnnotations:
|
|
|
+ podAnnotations: {}
|
|
|
resources:
|
|
|
limits:
|
|
|
cpu: 350m
|
|
@@ -61,26 +61,36 @@ openvpn:
|
|
|
# #!/bin/bash
|
|
|
# echo state | nc localhost 7505 | grep -i connected
|
|
|
|
|
|
-service:
|
|
|
+service: {}
|
|
|
# Loadbalancer IP and port
|
|
|
# ip, port and protocol for loadbalancer service, in case it's a server
|
|
|
- ip: 192.168.21.75
|
|
|
+ # ip: 192.168.21.75
|
|
|
# must be same, as port in openvpn config
|
|
|
- port: 1194
|
|
|
+ # port: 1194
|
|
|
# must be same, as proto in openvpn config
|
|
|
- proto: UDP
|
|
|
+ # proto: UDP
|
|
|
# annotations
|
|
|
- annotations: {}
|
|
|
+ # annotations: {}
|
|
|
# metallb.universe.tf/allow-shared-ip: openvpn-ip
|
|
|
|
|
|
# Virtual flow ip for openvpn service
|
|
|
-virtIP_addr: 192.168.21.71
|
|
|
-virtIP_dev: team0
|
|
|
+virtIP_addr: {}
|
|
|
+# 192.168.21.71
|
|
|
+virtIP_dev: {}
|
|
|
+# team0
|
|
|
+
|
|
|
+# Create additional NetworkAttachmentDefinition for multus deployment
|
|
|
+multus: {}
|
|
|
+ # masterIface: team0
|
|
|
+ # internalIP: 10.215.0.10/24
|
|
|
+ # internalGW: 10.215.0.1
|
|
|
+ # externalIP: 217.74.42.168/32
|
|
|
+ # dnsIP: 192.168.215.100
|
|
|
|
|
|
# Networks CIDR which has to be routed through openvpn
|
|
|
-netOpenvpn:
|
|
|
- - 10.10.0.0/16
|
|
|
- - 10.1.200.0/24
|
|
|
+netOpenvpn: {}
|
|
|
+ # - 10.10.0.0/16
|
|
|
+ # - 10.1.200.0/24
|
|
|
|
|
|
# CCD configmap
|
|
|
ccd: {}
|
|
@@ -90,14 +100,14 @@ ccd: {}
|
|
|
# push "route 192.168.200.0 255.255.248.0"
|
|
|
|
|
|
# Router container
|
|
|
-router:
|
|
|
- image: "images.sdsys.ru/sys/ovpn-rsa" #nicolaka/netshoot
|
|
|
- tag: "200207025"
|
|
|
- pullPolicy: IfNotPresent
|
|
|
- resources:
|
|
|
- limits:
|
|
|
- cpu: 50m
|
|
|
- memory: 50Mi
|
|
|
- requests:
|
|
|
- cpu: 50m
|
|
|
- memory: 50Mi
|
|
|
+router: {}
|
|
|
+ # image: "images.sdsys.ru/sys/ovpn-rsa" #nicolaka/netshoot
|
|
|
+ # tag: "200207025"
|
|
|
+ # pullPolicy: IfNotPresent
|
|
|
+ # resources:
|
|
|
+ # limits:
|
|
|
+ # cpu: 50m
|
|
|
+ # memory: 50Mi
|
|
|
+ # requests:
|
|
|
+ # cpu: 50m
|
|
|
+ # memory: 50Mi
|