refactor(istio-resource): Move all istio resource to helmfile

This commit is contained in:
Nikolai Rodionov
2023-04-17 11:10:48 +02:00
parent 777d88fa38
commit f1a860f97b
13 changed files with 195 additions and 26 deletions

View File

@ -1,4 +1,18 @@
---
# ------------------------------------------
# -- Istio extenstion. Just because I'm
# -- not using ingress nginx
# ------------------------------------------
istio:
enabled: true
istio:
- name: argocd-http
gateway: badhouseplants-net
kind: http
hostname: argo.badhouseplants.net
service: argocd-server
port: 80
controller:
resources:
limits:

View File

@ -1,3 +1,16 @@
# ------------------------------------------
# -- Istio extenstion. Just because I'm
# -- not using ingress nginx
# ------------------------------------------
istio:
enabled: true
istio:
- name: drone-http
gateway: badhouseplants-net
kind: http
hostname: drone.badhouseplants.net
service: drone
port: 8080
env:
DRONE_SERVER_HOST: drone.badhouseplants.net
DRONE_SERVER_PROTO: https

View File

@ -1,4 +1,18 @@
---
# ------------------------------------------
# -- Istio extenstion. Just because I'm
# -- not using ingress nginx
# ------------------------------------------
istio:
enabled: true
istio:
- name: funkwhale-http
gateway: badhouseplants-net
kind: http
hostname: funkwhale.badhouseplants.net
service: funkwhale
port: 80
replicaCount: 1
celery:
worker:

View File

@ -1,37 +1,25 @@
---
ns:
enabled: true
name: gitea-service
# ------------------------------------------
# -- Istio extenstion. Just because I'm
# -- not using ingress nginx
# ------------------------------------------
istio:
enabled: true
istio:
- name: gitea-http
kind: http
gateway: badhouseplants-net
hostname: git.badhouseplants.net
service: gitea-http
port: 3000
templates:
- |
{{ range .Values.istio }}
apiVersion: networking.istio.io/v1beta1
kind: VirtualService
metadata:
name: {{ .name }}
spec:
gateways:
- "istio-system/{{ .gateway }}"
hosts:
- {{ .hostname }}
http:
- match:
- uri:
prefix: /
route:
- destination:
host: {{ .service }}
port:
number: {{ .port }}
{{ end }}
- name: gitea-ssh
kind: tcp
gateway: badhouseplants-ssh
hostname: "*"
port_match: 22
service: gitea-ssh
port: 22
replicaCount: 1
clusterDomain: cluster.local

View File

@ -10,6 +10,20 @@ service-account:
app: minecraft-minecraft-metrics
endpoints:
port: metrics
# ------------------------------------------
# -- Istio extenstion. Just because I'm
# -- not using ingress nginx
# ------------------------------------------
istio:
enabled: true
istio:
- name: minecraft-tcp
gateway: badhouseplants-minecraft
kind: tcp
port_match: 25565
host: "*"
service: minecraft-minecraft
port: 25565
# --------------------------------------------------
# -- Main values
# --------------------------------------------------

View File

@ -1,4 +1,18 @@
---
# ------------------------------------------
# -- Istio extenstion. Just because I'm
# -- not using ingress nginx
# ------------------------------------------
istio:
enabled: true
istio:
- name: nrodionov-http
gateway: nrodionov-info
kind: http
hostname: dev.nrodionov.info
service: nrodionov-wordpress
port: 8080
rootUser: 'overlord'
replicas: 1
mode: standalone

View File

@ -1,3 +1,18 @@
---
# ------------------------------------------
# -- Istio extenstion. Just because I'm
# -- not using ingress nginx
# ------------------------------------------
istio:
enabled: true
istio:
- name: minio-http
gateway: badhouseplants-net
kind: http
hostname: minio.badhouseplants.net
service: minio-console
port: 9001
wordpressBlogName: Николай Николаевич Родионов
wordpressUsername: admin
wordpressFirstName: Nikolai

View File

@ -1,4 +1,19 @@
---
# ------------------------------------------
# -- Istio extenstion. Just because I'm
# -- not using ingress nginx
# ------------------------------------------
istio:
enabled: true
istio:
- name: openvpn-tcp
gateway: badhouseplants-vpn
kind: tcp
port_match: 1194
host: "*"
service: openvpn
port: 1194
storageClassName: longhorn
openvpn:
server: "tcp://195.201.250.50:1194"