clear-onprem #5
|
@ -1,3 +1,4 @@
|
||||||
|
{{- if .Values.ingress.enabled }}
|
||||||
apiVersion: networking.k8s.io/v1
|
apiVersion: networking.k8s.io/v1
|
||||||
kind: Ingress
|
kind: Ingress
|
||||||
metadata:
|
metadata:
|
||||||
|
@ -16,10 +17,11 @@ spec:
|
||||||
- "{{ . }}"
|
- "{{ . }}"
|
||||||
{{- end }}
|
{{- end }}
|
||||||
rules:
|
rules:
|
||||||
- host: "{{ .Values.ingress.hostname }}"
|
{{- range .Values.ingress.rules }}
|
||||||
|
- host: "{{ .host }}"
|
||||||
http:
|
http:
|
||||||
paths:
|
paths:
|
||||||
{{- range .Values.ingress.rules.paths }}
|
{{- range .paths }}
|
||||||
- path: {{ .path }}
|
- path: {{ .path }}
|
||||||
pathType: {{ .pathType }}
|
pathType: {{ .pathType }}
|
||||||
backend:
|
backend:
|
||||||
|
@ -28,3 +30,5 @@ spec:
|
||||||
port:
|
port:
|
||||||
number: {{ .service.port | int }}
|
number: {{ .service.port | int }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
|
@ -6,16 +6,13 @@ global:
|
||||||
username: yonote
|
username: yonote
|
||||||
|
|
||||||
yonote:
|
yonote:
|
||||||
# ingress:
|
|
||||||
# ingressClassName: traefik
|
|
||||||
|
|
||||||
dbMigrationEnv: production-ssl-disabled # Режим подключения к базе данных при выполнении миграций. При использовании SSL подключения, установите значение `production`
|
dbMigrationEnv: production-ssl-disabled # Режим подключения к базе данных при выполнении миграций. При использовании SSL подключения, установите значение `production`
|
||||||
|
|
||||||
baseListenAddress: onprem-test.stands.wilix.dev
|
baseListenAddress: onprem-test.stands.wilix.dev
|
||||||
|
|
||||||
config:
|
config:
|
||||||
plain:
|
plain:
|
||||||
data:
|
data:
|
||||||
|
DEPLOYMENT: hosted
|
||||||
NODE_ENV: production
|
NODE_ENV: production
|
||||||
FORCE_HTTPS: "false"
|
FORCE_HTTPS: "false"
|
||||||
PGSSLMODE: disable # Отключает SSL подключение к базе данных. Уберите эту строку, если вы используете SSL подключение к PostgreSQL
|
PGSSLMODE: disable # Отключает SSL подключение к базе данных. Уберите эту строку, если вы используете SSL подключение к PostgreSQL
|
||||||
|
@ -86,28 +83,27 @@ global:
|
||||||
# pathType: Prefix
|
# pathType: Prefix
|
||||||
# annotations:
|
# annotations:
|
||||||
# cert-manager.io/cluster-issuer: letsencrypt.rancher.wilix.dev
|
# cert-manager.io/cluster-issuer: letsencrypt.rancher.wilix.dev
|
||||||
# traefik.ingress.kubernetes.io/router.middlewares: '{{ .Release.Namespace }}-redirect-https@kubernetescrd,{{.Release.Namespace }}-wss-headers@kubernetescrd,kube-system-wilix-office-ipwhitelist@kubernetescrd'
|
|
||||||
# # nginx.ingress.kubernetes.io/force-ssl-redirect: "false"
|
# # nginx.ingress.kubernetes.io/force-ssl-redirect: "false"
|
||||||
# # nginx.ingress.kubernetes.io/configuration-snippet: |
|
# # nginx.ingress.kubernetes.io/configuration-snippet: |
|
||||||
# # more_set_headers "Host $http_host";
|
# # more_set_headers "Host $http_host";
|
||||||
# # more_set_headers "X-Real-IP $remote_addr";
|
# # more_set_headers "X-Real-IP $remote_addr";
|
||||||
# # more_set_headers "X-Forwarded-Proto $scheme";
|
# # more_set_headers "X-Forwarded-Proto $scheme";
|
||||||
# # more_set_headers "X-Forwarded-For $proxy_add_x_forwarded_for";
|
# # more_set_headers "X-Forwarded-For $proxy_add_x_forwarded_for";
|
||||||
# extraTls:
|
|
||||||
# - hosts:
|
|
||||||
# - "app.onprem-test.stands.wilix.dev"
|
|
||||||
# secretName: "app.onprem-test.stands.wilix.dev"
|
|
||||||
ingress:
|
ingress:
|
||||||
enabled: true
|
enabled: true
|
||||||
name: yonote-ingress
|
name: yonote-ingress
|
||||||
namespace: yonote-onprem
|
namespace: yonote-onprem
|
||||||
ingressClassName: traefik
|
ingressClassName: traefik
|
||||||
hostname: 'app.onprem-test.stands.wilix.dev'
|
# hostname: "*.onprem-test.stands.wilix.dev"
|
||||||
tls:
|
tls:
|
||||||
secretName: "app.onprem-test.stands.wilix.dev"
|
secretName: "wildcard.onprem-test.stands.wilix.dev"
|
||||||
hosts:
|
hosts:
|
||||||
- "app.onprem-test.stands.wilix.dev"
|
- "*.onprem-test.stands.wilix.dev"
|
||||||
|
# - "tete.onprem-test.stands.wilix.dev"
|
||||||
|
# - "dada.onprem-test.stands.wilix.dev"
|
||||||
rules:
|
rules:
|
||||||
|
- host: "*.onprem-test.stands.wilix.dev"
|
||||||
paths:
|
paths:
|
||||||
- path: /
|
- path: /
|
||||||
pathType: Prefix
|
pathType: Prefix
|
||||||
|
@ -129,9 +125,53 @@ ingress:
|
||||||
service:
|
service:
|
||||||
name: yonote-collaboration
|
name: yonote-collaboration
|
||||||
port: 80
|
port: 80
|
||||||
|
# - host: "tete.onprem-test.stands.wilix.dev"
|
||||||
|
# paths:
|
||||||
|
# - path: /
|
||||||
|
# pathType: Prefix
|
||||||
|
# service:
|
||||||
|
# name: yonote-web
|
||||||
|
# port: 80
|
||||||
|
# - path: /realtime
|
||||||
|
# pathType: Prefix
|
||||||
|
# service:
|
||||||
|
# name: yonote-websockets
|
||||||
|
# port: 80
|
||||||
|
# - path: /whiteboard
|
||||||
|
# pathType: Prefix
|
||||||
|
# service:
|
||||||
|
# name: yonote-whiteboard
|
||||||
|
# port: 80
|
||||||
|
# - path: /collaboration
|
||||||
|
# pathType: Prefix
|
||||||
|
# service:
|
||||||
|
# name: yonote-collaboration
|
||||||
|
# port: 80
|
||||||
|
# - host: "dada.onprem-test.stands.wilix.dev"
|
||||||
|
# paths:
|
||||||
|
# - path: /
|
||||||
|
# pathType: Prefix
|
||||||
|
# service:
|
||||||
|
# name: yonote-web
|
||||||
|
# port: 80
|
||||||
|
# - path: /realtime
|
||||||
|
# pathType: Prefix
|
||||||
|
# service:
|
||||||
|
# name: yonote-websockets
|
||||||
|
# port: 80
|
||||||
|
# - path: /whiteboard
|
||||||
|
# pathType: Prefix
|
||||||
|
# service:
|
||||||
|
# name: yonote-whiteboard
|
||||||
|
# port: 80
|
||||||
|
# - path: /collaboration
|
||||||
|
# pathType: Prefix
|
||||||
|
# service:
|
||||||
|
# name: yonote-collaboration
|
||||||
|
# port: 80
|
||||||
|
|
||||||
annotations:
|
annotations:
|
||||||
cert-manager.io/cluster-issuer: letsencrypt.rancher.wilix.dev
|
cert-manager.io/cluster-issuer: letsencrypt.rancher.wilix.dev
|
||||||
traefik.ingress.kubernetes.io/router.middlewares: '{{ .Release.Namespace }}-redirect-https@kubernetescrd,{{.Release.Namespace }}-wss-headers@kubernetescrd,kube-system-wilix-office-ipwhitelist@kubernetescrd'
|
|
||||||
|
|
||||||
yonote-web:
|
yonote-web:
|
||||||
fullnameOverride: yonote-web
|
fullnameOverride: yonote-web
|
||||||
|
@ -141,7 +181,7 @@ yonote-web:
|
||||||
image:
|
image:
|
||||||
registry: images.updates.yonote.ru
|
registry: images.updates.yonote.ru
|
||||||
repository: yonote
|
repository: yonote
|
||||||
tag: 1.19.5
|
tag: 1.19.8
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
|
|
||||||
command: ["/bin/sh", "-c"]
|
command: ["/bin/sh", "-c"]
|
||||||
|
@ -149,7 +189,7 @@ yonote-web:
|
||||||
|
|
||||||
initContainers:
|
initContainers:
|
||||||
- name: yonote-migration
|
- name: yonote-migration
|
||||||
image: images.updates.yonote.ru/yonote:1.19.5
|
image: images.updates.yonote.ru/yonote:1.19.8
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
command:
|
command:
|
||||||
- /bin/sh
|
- /bin/sh
|
||||||
|
@ -245,7 +285,7 @@ yonote-websocket:
|
||||||
image:
|
image:
|
||||||
registry: images.updates.yonote.ru
|
registry: images.updates.yonote.ru
|
||||||
repository: yonote
|
repository: yonote
|
||||||
tag: 1.19.5
|
tag: 1.19.8
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
|
|
||||||
command: ["/bin/sh", "-c"]
|
command: ["/bin/sh", "-c"]
|
||||||
|
@ -334,7 +374,7 @@ yonote-whiteboard:
|
||||||
image:
|
image:
|
||||||
registry: images.updates.yonote.ru
|
registry: images.updates.yonote.ru
|
||||||
repository: yonote
|
repository: yonote
|
||||||
tag: 1.19.5
|
tag: 1.19.8
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
|
|
||||||
command: ["/bin/sh", "-c"]
|
command: ["/bin/sh", "-c"]
|
||||||
|
@ -424,7 +464,7 @@ yonote-worker:
|
||||||
image:
|
image:
|
||||||
registry: images.updates.yonote.ru
|
registry: images.updates.yonote.ru
|
||||||
repository: yonote
|
repository: yonote
|
||||||
tag: 1.19.5
|
tag: 1.19.8
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
|
|
||||||
command: ["/bin/sh", "-c"]
|
command: ["/bin/sh", "-c"]
|
||||||
|
@ -493,7 +533,7 @@ yonote-collaboration:
|
||||||
image:
|
image:
|
||||||
registry: images.updates.yonote.ru
|
registry: images.updates.yonote.ru
|
||||||
repository: yonote
|
repository: yonote
|
||||||
tag: 1.19.5
|
tag: 1.19.8
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
|
|
||||||
command: ["/bin/sh", "-c"]
|
command: ["/bin/sh", "-c"]
|
||||||
|
|
Loading…
Reference in New Issue