use ingress
ci / build (push) Waiting to run
Details
ci / build (push) Waiting to run
Details
This commit is contained in:
parent
ebc7638267
commit
5347c90254
|
@ -1,7 +1,7 @@
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
name: fp
|
name: fp
|
||||||
description: The Galaxy's Best VTuber Hentai Site
|
description: The Galaxy's Best VTuber Hentai Site
|
||||||
version: 0.0.20
|
version: 0.0.21
|
||||||
keywords:
|
keywords:
|
||||||
- fp
|
- fp
|
||||||
- futureporn
|
- futureporn
|
||||||
|
|
|
@ -41,50 +41,51 @@ spec:
|
||||||
port: 8001
|
port: 8001
|
||||||
targetPort: 5678
|
targetPort: 5678
|
||||||
|
|
||||||
---
|
# ---
|
||||||
apiVersion: traefik.io/v1alpha1
|
# apiVersion: traefik.io/v1alpha1
|
||||||
kind: IngressRoute
|
# kind: IngressRoute
|
||||||
metadata:
|
|
||||||
name: echo
|
|
||||||
namespace: futureporn
|
|
||||||
|
|
||||||
spec:
|
|
||||||
entryPoints:
|
|
||||||
- web
|
|
||||||
- websecure
|
|
||||||
tls:
|
|
||||||
secretName: echo-cert
|
|
||||||
routes:
|
|
||||||
- match: Host(`echo.fp.sbtp.xyz`) || PathPrefix(`/extra/echo`)
|
|
||||||
kind: Rule
|
|
||||||
services:
|
|
||||||
- name: echo
|
|
||||||
port: 8001
|
|
||||||
|
|
||||||
# ---
|
|
||||||
# apiVersion: networking.k8s.io/v1
|
|
||||||
# kind: Ingress
|
|
||||||
# metadata:
|
# metadata:
|
||||||
# name: echo
|
# name: echo
|
||||||
# namespace: futureporn
|
# namespace: futureporn
|
||||||
# annotations:
|
|
||||||
# traefik.ingress.kubernetes.io/router.entrypoints: web
|
|
||||||
# traefik.ingress.kubernetes.io/router.tls: "false"
|
|
||||||
# # cert-manager.io/cluster-issuer: "{{ .Values.certManager.issuer }}"
|
|
||||||
# spec:
|
# spec:
|
||||||
# rules:
|
# entryPoints:
|
||||||
# - host: "{{ .Values.echo.hostname }}"
|
# - web
|
||||||
# http:
|
# - websecure
|
||||||
# paths:
|
|
||||||
# - path: /
|
|
||||||
# pathType: Prefix
|
|
||||||
# backend:
|
|
||||||
# service:
|
|
||||||
# name: echo
|
|
||||||
# port:
|
|
||||||
# number: 8001
|
|
||||||
# tls:
|
# tls:
|
||||||
# - secretName: echo-cert
|
# secretName: echo-cert
|
||||||
|
# routes:
|
||||||
|
# - match: Host(`echo.fp.sbtp.xyz`) || PathPrefix(`/extra/echo`)
|
||||||
|
# kind: Rule
|
||||||
|
# services:
|
||||||
|
# - name: echo
|
||||||
|
# port: 8001
|
||||||
|
|
||||||
|
---
|
||||||
|
apiVersion: networking.k8s.io/v1
|
||||||
|
kind: Ingress
|
||||||
|
metadata:
|
||||||
|
name: echo
|
||||||
|
namespace: futureporn
|
||||||
|
annotations:
|
||||||
|
kubernetes.io/ingress.class: traefik
|
||||||
|
traefik.ingress.kubernetes.io/router.entrypoints: web,websecure,traefik
|
||||||
|
traefik.ingress.kubernetes.io/router.tls: "false"
|
||||||
|
cert-manager.io/cluster-issuer: "{{ .Values.certManager.issuer }}"
|
||||||
|
spec:
|
||||||
|
rules:
|
||||||
|
- host: "{{ .Values.echo.hostname }}"
|
||||||
|
http:
|
||||||
|
paths:
|
||||||
|
- path: /
|
||||||
|
pathType: Prefix
|
||||||
|
backend:
|
||||||
|
service:
|
||||||
|
name: echo
|
||||||
|
port:
|
||||||
|
number: 8001
|
||||||
|
tls:
|
||||||
|
- secretName: echo-cert
|
||||||
|
|
||||||
|
|
||||||
{{ if eq .Values.environment "development" }}
|
{{ if eq .Values.environment "development" }}
|
||||||
|
|
Loading…
Reference in New Issue