add isito-config
This commit is contained in:
parent
2d98d143b7
commit
ded0022fd9
@ -31,6 +31,13 @@ patches:
|
|||||||
kind: HelmRelease
|
kind: HelmRelease
|
||||||
name: ingressgateway
|
name: ingressgateway
|
||||||
namespace: istio-system
|
namespace: istio-system
|
||||||
|
- path: ./patches/istio-config.yaml
|
||||||
|
target:
|
||||||
|
group: helm.toolkit.fluxcd.io
|
||||||
|
version: v2
|
||||||
|
kind: HelmRelease
|
||||||
|
name: istio-config
|
||||||
|
namespace: default
|
||||||
- path: ./patches/dashboard.yaml
|
- path: ./patches/dashboard.yaml
|
||||||
target:
|
target:
|
||||||
group: helm.toolkit.fluxcd.io
|
group: helm.toolkit.fluxcd.io
|
||||||
@ -38,13 +45,6 @@ patches:
|
|||||||
kind: HelmRelease
|
kind: HelmRelease
|
||||||
name: dashboard
|
name: dashboard
|
||||||
namespace: kubernetes-dashboard
|
namespace: kubernetes-dashboard
|
||||||
- path: ./patches/dashboard-certificate.yaml
|
|
||||||
target:
|
|
||||||
group: cert-manager.io
|
|
||||||
version: v1
|
|
||||||
kind: Certificate
|
|
||||||
name: dashboard-tls
|
|
||||||
namespace: istio-system
|
|
||||||
- path: ./patches/clusterissuer-letsencrypt.yaml
|
- path: ./patches/clusterissuer-letsencrypt.yaml
|
||||||
target:
|
target:
|
||||||
group: cert-manager.io
|
group: cert-manager.io
|
||||||
|
|||||||
@ -26,8 +26,6 @@ spec:
|
|||||||
redirectUrl: "https://camunda-web-modeler.contour.infra.sarex.tech"
|
redirectUrl: "https://camunda-web-modeler.contour.infra.sarex.tech"
|
||||||
console:
|
console:
|
||||||
redirectUrl: "https://camunda-console.contour.infra.sarex.tech"
|
redirectUrl: "https://camunda-console.contour.infra.sarex.tech"
|
||||||
virtualService: []
|
|
||||||
gateway: []
|
|
||||||
identityPostgresql:
|
identityPostgresql:
|
||||||
primary:
|
primary:
|
||||||
persistence:
|
persistence:
|
||||||
|
|||||||
@ -1,8 +0,0 @@
|
|||||||
apiVersion: cert-manager.io/v1
|
|
||||||
kind: Certificate
|
|
||||||
metadata:
|
|
||||||
name: dashboard-tls
|
|
||||||
namespace: istio-system
|
|
||||||
spec:
|
|
||||||
dnsNames:
|
|
||||||
- dashboard.contour.infra.sarex.tech
|
|
||||||
@ -11,47 +11,10 @@ spec:
|
|||||||
enabled: true
|
enabled: true
|
||||||
host: "dashboard-kong-proxy"
|
host: "dashboard-kong-proxy"
|
||||||
tlsMode: "DISABLE"
|
tlsMode: "DISABLE"
|
||||||
|
|
||||||
virtualService:
|
virtualService:
|
||||||
enabled: true
|
enabled: false
|
||||||
annotations: {}
|
|
||||||
labels: {}
|
|
||||||
name: dashboard-virt-service
|
|
||||||
namespace: kubernetes-dashboard
|
|
||||||
gateways:
|
|
||||||
- istio-system/dashboard-gateway
|
|
||||||
hosts:
|
|
||||||
- dashboard.contour.infra.sarex.tech
|
|
||||||
http:
|
|
||||||
- match:
|
|
||||||
uriPrefix: /
|
|
||||||
route:
|
|
||||||
destination:
|
|
||||||
host: dashboard-kong-proxy
|
|
||||||
port: 80
|
|
||||||
|
|
||||||
gateway:
|
gateway:
|
||||||
enabled: true
|
enabled: false
|
||||||
name: dashboard-gateway
|
|
||||||
namespace: istio-system
|
|
||||||
selector:
|
|
||||||
istio: ingressgateway
|
|
||||||
servers:
|
|
||||||
- hosts:
|
|
||||||
- dashboard.contour.infra.sarex.tech
|
|
||||||
port:
|
|
||||||
name: https-443
|
|
||||||
number: 443
|
|
||||||
protocol: HTTPS
|
|
||||||
tls:
|
|
||||||
credentialName: dashboard-tls
|
|
||||||
mode: SIMPLE
|
|
||||||
- hosts:
|
|
||||||
- dashboard.contour.infra.sarex.tech
|
|
||||||
port:
|
|
||||||
name: http-80
|
|
||||||
number: 80
|
|
||||||
protocol: HTTP
|
|
||||||
app:
|
app:
|
||||||
image:
|
image:
|
||||||
pullSecrets:
|
pullSecrets:
|
||||||
@ -60,4 +23,3 @@ spec:
|
|||||||
image:
|
image:
|
||||||
pullSecrets:
|
pullSecrets:
|
||||||
- regcred
|
- regcred
|
||||||
|
|
||||||
|
|||||||
282
clusters/yc-k8s-test/infrastructure/patches/istio-config.yaml
Normal file
282
clusters/yc-k8s-test/infrastructure/patches/istio-config.yaml
Normal file
@ -0,0 +1,282 @@
|
|||||||
|
apiVersion: helm.toolkit.fluxcd.io/v2
|
||||||
|
kind: HelmRelease
|
||||||
|
metadata:
|
||||||
|
name: istio-config
|
||||||
|
namespace: default
|
||||||
|
spec:
|
||||||
|
interval: 5m
|
||||||
|
timeout: 10m
|
||||||
|
values:
|
||||||
|
global:
|
||||||
|
env: contour
|
||||||
|
environments:
|
||||||
|
contour:
|
||||||
|
certManager:
|
||||||
|
certificates:
|
||||||
|
minio-tls:
|
||||||
|
dnsNames:
|
||||||
|
- minio.contour.infra.sarex.tech
|
||||||
|
issuerRef:
|
||||||
|
name: letsencrypt-issuer-istio
|
||||||
|
kind: ClusterIssuer
|
||||||
|
zitadel-tls:
|
||||||
|
dnsNames:
|
||||||
|
- zitadel.contour.infra.sarex.tech
|
||||||
|
issuerRef:
|
||||||
|
name: letsencrypt-issuer-istio
|
||||||
|
kind: ClusterIssuer
|
||||||
|
dashboard-tls:
|
||||||
|
dnsNames:
|
||||||
|
- dashboard.contour.infra.sarex.tech
|
||||||
|
issuerRef:
|
||||||
|
name: letsencrypt-issuer-istio
|
||||||
|
kind: ClusterIssuer
|
||||||
|
rabbitmq-tls:
|
||||||
|
dnsNames:
|
||||||
|
- rabbitmq.contour.infra.sarex.tech
|
||||||
|
issuerRef:
|
||||||
|
name: letsencrypt-issuer-istio
|
||||||
|
kind: ClusterIssuer
|
||||||
|
keycloak-tls:
|
||||||
|
dnsNames:
|
||||||
|
- keycloak.contour.infra.sarex.tech
|
||||||
|
issuerRef:
|
||||||
|
name: letsencrypt-issuer-istio
|
||||||
|
kind: ClusterIssuer
|
||||||
|
camunda-keycloak-tls:
|
||||||
|
dnsNames:
|
||||||
|
- camunda-keycloak.contour.infra.sarex.tech
|
||||||
|
issuerRef:
|
||||||
|
name: letsencrypt-issuer-istio
|
||||||
|
kind: ClusterIssuer
|
||||||
|
camunda-identity-tls:
|
||||||
|
dnsNames:
|
||||||
|
- camunda-identity.contour.infra.sarex.tech
|
||||||
|
issuerRef:
|
||||||
|
name: letsencrypt-issuer-istio
|
||||||
|
kind: ClusterIssuer
|
||||||
|
camunda-operate-tls:
|
||||||
|
dnsNames:
|
||||||
|
- camunda-operate.contour.infra.sarex.tech
|
||||||
|
issuerRef:
|
||||||
|
name: letsencrypt-issuer-istio
|
||||||
|
kind: ClusterIssuer
|
||||||
|
camunda-tasklist-tls:
|
||||||
|
dnsNames:
|
||||||
|
- camunda-tasklist.contour.infra.sarex.tech
|
||||||
|
issuerRef:
|
||||||
|
name: letsencrypt-issuer-istio
|
||||||
|
kind: ClusterIssuer
|
||||||
|
camunda-optimize-tls:
|
||||||
|
dnsNames:
|
||||||
|
- camunda-optimize.contour.infra.sarex.tech
|
||||||
|
issuerRef:
|
||||||
|
name: letsencrypt-issuer-istio
|
||||||
|
kind: ClusterIssuer
|
||||||
|
istio:
|
||||||
|
gateways:
|
||||||
|
minio:
|
||||||
|
name: minio-gateway
|
||||||
|
namespace: gateway
|
||||||
|
servers:
|
||||||
|
- hosts:
|
||||||
|
- minio.contour.infra.sarex.tech
|
||||||
|
tls:
|
||||||
|
credentialName: minio-tls
|
||||||
|
- hosts:
|
||||||
|
- minio.contour.infra.sarex.tech
|
||||||
|
zitadel:
|
||||||
|
name: zitadel-gateway
|
||||||
|
namespace: gateway
|
||||||
|
servers:
|
||||||
|
- hosts:
|
||||||
|
- zitadel.contour.infra.sarex.tech
|
||||||
|
tls:
|
||||||
|
credentialName: zitadel-tls
|
||||||
|
- hosts:
|
||||||
|
- zitadel.contour.infra.sarex.tech
|
||||||
|
dashboard:
|
||||||
|
name: dashboard-gateway
|
||||||
|
namespace: gateway
|
||||||
|
servers:
|
||||||
|
- hosts:
|
||||||
|
- dashboard.contour.infra.sarex.tech
|
||||||
|
tls:
|
||||||
|
credentialName: dashboard-tls
|
||||||
|
- hosts:
|
||||||
|
- dashboard.contour.infra.sarex.tech
|
||||||
|
rabbitmq:
|
||||||
|
name: rabbitmq-gateway
|
||||||
|
namespace: gateway
|
||||||
|
servers:
|
||||||
|
- hosts:
|
||||||
|
- rabbitmq.contour.infra.sarex.tech
|
||||||
|
tls:
|
||||||
|
credentialName: rabbitmq-tls
|
||||||
|
- hosts:
|
||||||
|
- rabbitmq.contour.infra.sarex.tech
|
||||||
|
keycloak:
|
||||||
|
name: keycloak-gateway
|
||||||
|
namespace: gateway
|
||||||
|
servers:
|
||||||
|
- hosts:
|
||||||
|
- keycloak.contour.infra.sarex.tech
|
||||||
|
tls:
|
||||||
|
credentialName: keycloak-tls
|
||||||
|
- hosts:
|
||||||
|
- keycloak.contour.infra.sarex.tech
|
||||||
|
camunda:
|
||||||
|
name: camunda-gateway
|
||||||
|
namespace: gateway
|
||||||
|
servers:
|
||||||
|
- hosts:
|
||||||
|
- camunda-keycloak.contour.infra.sarex.tech
|
||||||
|
tls:
|
||||||
|
credentialName: camunda-keycloak-tls
|
||||||
|
- hosts:
|
||||||
|
- camunda-keycloak.contour.infra.sarex.tech
|
||||||
|
- hosts:
|
||||||
|
- camunda-identity.contour.infra.sarex.tech
|
||||||
|
tls:
|
||||||
|
credentialName: camunda-identity-tls
|
||||||
|
- hosts:
|
||||||
|
- camunda-identity.contour.infra.sarex.tech
|
||||||
|
- hosts:
|
||||||
|
- camunda-operate.contour.infra.sarex.tech
|
||||||
|
tls:
|
||||||
|
credentialName: camunda-operate-tls
|
||||||
|
- hosts:
|
||||||
|
- camunda-operate.contour.infra.sarex.tech
|
||||||
|
- hosts:
|
||||||
|
- camunda-tasklist.contour.infra.sarex.tech
|
||||||
|
tls:
|
||||||
|
credentialName: camunda-tasklist-tls
|
||||||
|
- hosts:
|
||||||
|
- camunda-tasklist.contour.infra.sarex.tech
|
||||||
|
- hosts:
|
||||||
|
- camunda-optimize.contour.infra.sarex.tech
|
||||||
|
tls:
|
||||||
|
credentialName: camunda-optimize-tls
|
||||||
|
- hosts:
|
||||||
|
- camunda-optimize.contour.infra.sarex.tech
|
||||||
|
virtualServices:
|
||||||
|
minio:
|
||||||
|
name: minio-virt-service
|
||||||
|
namespace: gateway
|
||||||
|
hosts:
|
||||||
|
- minio.contour.infra.sarex.tech
|
||||||
|
gateways:
|
||||||
|
- gateway/minio-gateway
|
||||||
|
routes:
|
||||||
|
- path:
|
||||||
|
prefix: /
|
||||||
|
service: minio-minio-contour-console.minio.svc.cluster.local
|
||||||
|
port: 9001
|
||||||
|
zitadel:
|
||||||
|
name: zitadel-virt-service
|
||||||
|
namespace: gateway
|
||||||
|
hosts:
|
||||||
|
- zitadel.contour.infra.sarex.tech
|
||||||
|
gateways:
|
||||||
|
- gateway/zitadel-gateway
|
||||||
|
routes:
|
||||||
|
- path:
|
||||||
|
prefix: /
|
||||||
|
service: zitadel-idp-contour.zitadel.svc.cluster.local
|
||||||
|
port: 8080
|
||||||
|
dashboard:
|
||||||
|
name: dashboard-virt-service
|
||||||
|
namespace: gateway
|
||||||
|
hosts:
|
||||||
|
- dashboard.contour.infra.sarex.tech
|
||||||
|
gateways:
|
||||||
|
- gateway/dashboard-gateway
|
||||||
|
routes:
|
||||||
|
- path:
|
||||||
|
prefix: /
|
||||||
|
service: dashboard-kong-proxy.kubernetes-dashboard.svc.cluster.local
|
||||||
|
port: 80
|
||||||
|
rabbitmq:
|
||||||
|
name: rabbitmq-virt-service
|
||||||
|
namespace: gateway
|
||||||
|
hosts:
|
||||||
|
- rabbitmq.contour.infra.sarex.tech
|
||||||
|
gateways:
|
||||||
|
- gateway/rabbitmq-gateway
|
||||||
|
routes:
|
||||||
|
- path:
|
||||||
|
prefix: /
|
||||||
|
service: rabbitmq.rabbitmq.svc.cluster.local
|
||||||
|
port: 15672
|
||||||
|
keycloak:
|
||||||
|
name: keycloak-virt-service
|
||||||
|
namespace: gateway
|
||||||
|
hosts:
|
||||||
|
- keycloak.contour.infra.sarex.tech
|
||||||
|
gateways:
|
||||||
|
- gateway/keycloak-gateway
|
||||||
|
routes:
|
||||||
|
- path:
|
||||||
|
prefix: /
|
||||||
|
service: keycloak-keycloak-contour.keycloak.svc.cluster.local
|
||||||
|
port: 80
|
||||||
|
camunda-keycloak:
|
||||||
|
name: camunda-keycloak-virt-service
|
||||||
|
namespace: gateway
|
||||||
|
hosts:
|
||||||
|
- camunda-keycloak.contour.infra.sarex.tech
|
||||||
|
gateways:
|
||||||
|
- gateway/camunda-gateway
|
||||||
|
routes:
|
||||||
|
- path:
|
||||||
|
prefix: /
|
||||||
|
service: camunda-keycloak.camunda.svc.cluster.local
|
||||||
|
port: 80
|
||||||
|
camunda-identity:
|
||||||
|
name: camunda-identity-virt-service
|
||||||
|
namespace: gateway
|
||||||
|
hosts:
|
||||||
|
- camunda-identity.contour.infra.sarex.tech
|
||||||
|
gateways:
|
||||||
|
- gateway/camunda-gateway
|
||||||
|
routes:
|
||||||
|
- path:
|
||||||
|
prefix: /
|
||||||
|
service: camunda-identity.camunda.svc.cluster.local
|
||||||
|
port: 80
|
||||||
|
camunda-operate:
|
||||||
|
name: camunda-operate-virt-service
|
||||||
|
namespace: gateway
|
||||||
|
hosts:
|
||||||
|
- camunda-operate.contour.infra.sarex.tech
|
||||||
|
gateways:
|
||||||
|
- gateway/camunda-gateway
|
||||||
|
routes:
|
||||||
|
- path:
|
||||||
|
prefix: /
|
||||||
|
service: camunda-operate.camunda.svc.cluster.local
|
||||||
|
port: 80
|
||||||
|
camunda-tasklist:
|
||||||
|
name: camunda-tasklist-virt-service
|
||||||
|
namespace: gateway
|
||||||
|
hosts:
|
||||||
|
- camunda-tasklist.contour.infra.sarex.tech
|
||||||
|
gateways:
|
||||||
|
- gateway/camunda-gateway
|
||||||
|
routes:
|
||||||
|
- path:
|
||||||
|
prefix: /
|
||||||
|
service: camunda-tasklist.camunda.svc.cluster.local
|
||||||
|
port: 80
|
||||||
|
camunda-optimize:
|
||||||
|
name: camunda-optimize-virt-service
|
||||||
|
namespace: gateway
|
||||||
|
hosts:
|
||||||
|
- camunda-optimize.contour.infra.sarex.tech
|
||||||
|
gateways:
|
||||||
|
- gateway/camunda-gateway
|
||||||
|
routes:
|
||||||
|
- path:
|
||||||
|
prefix: /
|
||||||
|
service: camunda-optimize.camunda.svc.cluster.local
|
||||||
|
port: 80
|
||||||
@ -10,6 +10,9 @@ spec:
|
|||||||
global:
|
global:
|
||||||
security:
|
security:
|
||||||
allowInsecureImages: true
|
allowInsecureImages: true
|
||||||
|
virtualService: null
|
||||||
|
gateway: null
|
||||||
|
certificate: null
|
||||||
metrics:
|
metrics:
|
||||||
serviceMonitor:
|
serviceMonitor:
|
||||||
enabled: false
|
enabled: false
|
||||||
@ -20,32 +23,6 @@ spec:
|
|||||||
detailed:
|
detailed:
|
||||||
enabled: false
|
enabled: false
|
||||||
extraServiceMonitors: []
|
extraServiceMonitors: []
|
||||||
virtualService:
|
|
||||||
rabbitmq:
|
|
||||||
hosts:
|
|
||||||
- rabbitmq.contour.infra.sarex.tech
|
|
||||||
gateway:
|
|
||||||
grafana:
|
|
||||||
servers:
|
|
||||||
- hosts:
|
|
||||||
- rabbitmq.contour.infra.sarex.tech
|
|
||||||
port:
|
|
||||||
name: https-443
|
|
||||||
number: 443
|
|
||||||
protocol: HTTPS
|
|
||||||
tls:
|
|
||||||
credentialName: rmq-tls
|
|
||||||
mode: SIMPLE
|
|
||||||
- hosts:
|
|
||||||
- rabbitmq.contour.infra.sarex.tech
|
|
||||||
port:
|
|
||||||
name: http-80
|
|
||||||
number: 80
|
|
||||||
protocol: HTTP
|
|
||||||
certificate:
|
|
||||||
rabbitmq:
|
|
||||||
dnsNames:
|
|
||||||
- rabbitmq.contour.infra.sarex.tech
|
|
||||||
replicaCount: 1
|
replicaCount: 1
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
|
|||||||
@ -9,7 +9,7 @@ spec:
|
|||||||
values:
|
values:
|
||||||
zitadel:
|
zitadel:
|
||||||
configmapConfig:
|
configmapConfig:
|
||||||
ExternalDomain: login.contour.infra.sarex.tech
|
ExternalDomain: zitadel.contour.infra.sarex.tech
|
||||||
login:
|
login:
|
||||||
env:
|
env:
|
||||||
- name: ZITADEL_DATABASE_POSTGRES_HOST
|
- name: ZITADEL_DATABASE_POSTGRES_HOST
|
||||||
|
|||||||
@ -1,12 +0,0 @@
|
|||||||
apiVersion: cert-manager.io/v1
|
|
||||||
kind: Certificate
|
|
||||||
metadata:
|
|
||||||
name: dashboard-tls
|
|
||||||
namespace: istio-system
|
|
||||||
spec:
|
|
||||||
secretName: dashboard-tls
|
|
||||||
issuerRef:
|
|
||||||
kind: ClusterIssuer
|
|
||||||
name: letsencrypt-issuer-istio
|
|
||||||
dnsNames:
|
|
||||||
- dashboard.example.local
|
|
||||||
@ -3,4 +3,3 @@ kind: Kustomization
|
|||||||
resources:
|
resources:
|
||||||
- namespace.yaml
|
- namespace.yaml
|
||||||
- helmrelease.yaml
|
- helmrelease.yaml
|
||||||
- certificate.yaml
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user