mirror of
https://github.com/arangodb/kube-arangodb.git
synced 2024-12-14 11:57:37 +00:00
46 lines
No EOL
1.4 KiB
YAML
46 lines
No EOL
1.4 KiB
YAML
apiVersion: v1
|
|
kind: ConfigMap
|
|
metadata:
|
|
name: {{ template "arangodb-ingress-proxy.name" . }}
|
|
namespace: {{ .Release.Namespace }}
|
|
labels:
|
|
app.kubernetes.io/name: {{ template "arangodb-ingress-proxy.name" . }}
|
|
helm.sh/chart: {{ .Chart.Name }}-{{ .Chart.Version }}
|
|
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
|
app.kubernetes.io/instance: {{ .Release.Name }}
|
|
release: {{ .Release.Name }}
|
|
data:
|
|
config: |
|
|
user nginx;
|
|
worker_processes 1;
|
|
|
|
error_log /dev/stdout info;
|
|
|
|
pid /var/run/nginx.pid;
|
|
|
|
|
|
events {
|
|
worker_connections 1024;
|
|
}
|
|
|
|
stream {
|
|
log_format basic '$remote_addr [$time_local] '
|
|
'$protocol $status $bytes_sent $bytes_received '
|
|
'$session_time';
|
|
access_log /dev/stdout basic;
|
|
|
|
server {
|
|
listen 8529 ssl;
|
|
proxy_pass {{ required "Arango Deployment name needs to be provided!" .Values.deployment }}:8529;
|
|
|
|
proxy_ssl on;
|
|
|
|
ssl_certificate /etc/nginx/local-tls/tls.crt;
|
|
ssl_certificate_key /etc/nginx/local-tls/tls.key;
|
|
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
|
|
ssl_ciphers HIGH:!aNULL:!MD5;
|
|
ssl_session_timeout 4h;
|
|
ssl_handshake_timeout 30s;
|
|
proxy_timeout 6h;
|
|
}
|
|
} |