Files
openlan-cgw/helm/values.yaml
2025-02-17 09:17:55 +02:00

128 lines
3.0 KiB
YAML

replicaCount: 1
strategyType: Recreate
revisionHistoryLimit: 2
nameOverride: ""
fullnameOverride: ""
images:
cgw:
repository: tip-tip-wlan-cloud-ucentral.jfrog.io/cgw
tag: latest
pullPolicy: Always
# regcred:
# registry: tip-tip-wlan-cloud-ucentral.jfrog.io
# username: username
# password: password
services:
cgw:
type: ClusterIP
ports:
# this port doesn't actually exist in cgw ... yet
# It is needed however, as the ALB requires at least one ssl port
restapi:
servicePort: 16002
targetPort: 16002
protocol: TCP
websocket:
servicePort: 15002
targetPort: 15002
protocol: TCP
metrics:
servicePort: 15003
targetPort: 8080
protocol: TCP
grpc:
servicePort: 15051
targetPort: 50051
protocol: TCP
checks:
cgw:
liveness:
httpGet:
path: /health
port: 8080
readiness:
httpGet:
path: /health
port: 8080
ingresses: {}
volumes:
cgw:
- name: certs
mountPath: /etc/cgw/certs
volumeDefinition: |
secret:
secretName: {{ if .Values.existingCertsSecret }}{{ .Values.existingCertsSecret }}{{ else }}{{ include "cgw.fullname" . }}-certs{{ end }}
resources:
{}
# 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:'.
# requests:
# cpu: 100m
# memory: 128Mi
# limits:
# cpu: 100m
# memory: 128Mi
securityContext:
fsGroup: 1000
nodeSelector: {}
tolerations: []
affinity: {}
podAnnotations: {}
podSecurityPolicy:
enabled: false
persistence:
enabled: false
# storageClassName: "-"
accessModes:
- ReadWriteOnce
size: 10Gi
annotations: {}
# Application
public_env_variables:
CGW_ROOT: /cgw-data
CGW_WSS_CAS: "cas.pem"
CGW_WSS_CERT: "websocket-cert.pem"
CGW_WSS_KEY: "websocket-key.pem"
CGW_DB_HOST: "pgsql"
CGW_DB_PORT: "5432"
CGW_DB_NAME: "cgw"
CGW_DB_USERNAME: "cgw"
CGW_KAFKA_HOST: "kafka"
CGW_KAFKA_PORT: "9092"
CGW_REDIS_HOST: "redis"
CGW_REDIS_PORT: "6379"
CGW_LOG_LEVEL: "info" # or debug
CGW_KAFKA_CONSUME_TOPIC: "cnc"
CGW_KAFKA_PRODUCE_TOPIC: "cnc_res"
# set to (#cpus * 2) - 2
DEFAULT_WSS_THREAD_NUM: "6"
secret_env_variables:
CGW_DB_PASSWORD: "123"
# NOTE: List of required certificates may be found in "certs" key. Alternative way to pass required certificates is to create external secret with all required certificates and set secret name in "existingCertsSecret" key. Details may be found in https://github.com/Telecominfraproject/wlan-cloud-ucentral-deploy/tree/main/cgwchart#tldr
existingCertsSecret: ""
certs:
root.pem: ""
websocket-cert.pem: ""
websocket-key.pem: ""
cas.pem: ""