2023-08-09 17:49:38 +00:00
|
|
|
# Default values for openvpn-chart.
|
|
|
|
image:
|
2023-10-23 06:01:37 +00:00
|
|
|
repository: git.badhouseplants.net/allanger/container-openvpn
|
|
|
|
pullPolicy: Always
|
2023-08-09 17:49:38 +00:00
|
|
|
# -------------------------------------------
|
|
|
|
# -- TODO: Switch to proper versions
|
|
|
|
# -------------------------------------------
|
2023-10-23 06:10:30 +00:00
|
|
|
# tag: ""
|
2023-10-23 07:21:33 +00:00
|
|
|
# -----------------------------
|
|
|
|
# -- Open VPN configuration
|
2023-08-09 17:49:38 +00:00
|
|
|
# -----------------------------
|
|
|
|
openvpn:
|
2023-10-23 05:51:38 +00:00
|
|
|
proto: tcp
|
2023-08-09 17:49:38 +00:00
|
|
|
host: 127.0.0.1
|
|
|
|
port: 1194
|
2023-10-23 05:51:38 +00:00
|
|
|
# ---------------------------------------
|
|
|
|
# -- Deploy OpenVPN admin
|
|
|
|
# -- https://github.com/flant/ovpn-admin
|
|
|
|
# ---------------------------------------
|
|
|
|
openvpn_admin:
|
|
|
|
enabled: true
|
2023-08-09 17:49:38 +00:00
|
|
|
# -----------------------------
|
|
|
|
# -- Easy RSA configuration
|
|
|
|
# -----------------------------
|
2023-10-23 07:21:33 +00:00
|
|
|
easyrsa:
|
|
|
|
cn: . # -- EASYRSA_REQ_CN
|
|
|
|
country: . # -- EASYRSA_REQ_COUNTRY
|
|
|
|
province: . # -- EASYRSA_REQ_PROVINCE
|
|
|
|
city: . # -- EASYRSA_REQ_CITY
|
|
|
|
org: . # -- EASYRSA_REQ_ORG
|
|
|
|
email: . # -- EASYRSA_REQ_EMAIL
|
|
|
|
ou: Community # -- EASYRSA_REQ_OU
|
|
|
|
algo: ec # -- EASYRSA_ALGO
|
|
|
|
digest: sha512 # -- EASYRSA_DIGEST
|
2023-08-09 17:49:38 +00:00
|
|
|
replicaCount: 1
|
|
|
|
imagePullSecrets: []
|
|
|
|
nameOverride: ""
|
|
|
|
fullnameOverride: ""
|
|
|
|
storage:
|
2023-10-23 07:21:33 +00:00
|
|
|
class: ""
|
2023-08-09 17:49:38 +00:00
|
|
|
size: 1Gi
|
|
|
|
serviceAccount:
|
|
|
|
# Specifies whether a service account should be created
|
|
|
|
create: true
|
|
|
|
# Annotations to add to the service account
|
|
|
|
annotations: {}
|
|
|
|
# The name of the service account to use.
|
|
|
|
# If not set and create is true, a name is generated using the fullname template
|
|
|
|
name: ""
|
|
|
|
podAnnotations: {}
|
|
|
|
podSecurityContext: {}
|
2023-10-23 07:21:33 +00:00
|
|
|
# fsGroup: 2000
|
2023-08-09 17:49:38 +00:00
|
|
|
|
|
|
|
securityContext: {}
|
2023-10-23 07:21:33 +00:00
|
|
|
# capabilities:
|
|
|
|
# drop:
|
|
|
|
# - ALL
|
|
|
|
# readOnlyRootFilesystem: true
|
|
|
|
# runAsNonRoot: true
|
|
|
|
# runAsUser: 1000
|
2023-08-09 17:49:38 +00:00
|
|
|
|
|
|
|
service:
|
2023-10-23 05:51:38 +00:00
|
|
|
type: ClusterIP
|
2023-08-09 17:49:38 +00:00
|
|
|
port: 1194
|
2023-10-23 05:51:38 +00:00
|
|
|
protocol: TCP
|
2023-08-09 17:49:38 +00:00
|
|
|
resources: {}
|
2023-10-23 07:21:33 +00:00
|
|
|
# We usually recommend not to specify default resources and to leave this as a conscious
|
|
|
|
# choice for the user. This also increases chances charts run on environments with little
|
|
|
|
# resources, such as Minikube. If you do want to specify resources, uncomment the following
|
|
|
|
# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
|
|
|
|
# limits:
|
|
|
|
# cpu: 100m
|
|
|
|
# memory: 128Mi
|
|
|
|
# requests:
|
|
|
|
# cpu: 100m
|
2023-10-23 05:51:38 +00:00
|
|
|
# memory: 128Mi
|
2023-08-09 17:49:38 +00:00
|
|
|
|
|
|
|
autoscaling:
|
|
|
|
enabled: false
|
|
|
|
minReplicas: 1
|
|
|
|
maxReplicas: 100
|
|
|
|
targetCPUUtilizationPercentage: 80
|
|
|
|
# targetMemoryUtilizationPercentage: 80
|
|
|
|
nodeSelector: {}
|
|
|
|
tolerations: []
|
|
|
|
affinity: {}
|
2023-10-23 05:51:38 +00:00
|
|
|
tests:
|
2023-10-23 06:01:37 +00:00
|
|
|
enabled: false
|
2023-10-23 07:21:33 +00:00
|
|
|
cleanup: true
|