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
|
||||
name: fp
|
||||
description: The Galaxy's Best VTuber Hentai Site
|
||||
version: 0.0.20
|
||||
version: 0.0.21
|
||||
keywords:
|
||||
- fp
|
||||
- futureporn
|
||||
|
|
|
@ -41,50 +41,51 @@ spec:
|
|||
port: 8001
|
||||
targetPort: 5678
|
||||
|
||||
---
|
||||
apiVersion: traefik.io/v1alpha1
|
||||
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
|
||||
# ---
|
||||
# apiVersion: traefik.io/v1alpha1
|
||||
# kind: IngressRoute
|
||||
# metadata:
|
||||
# name: echo
|
||||
# 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:
|
||||
# rules:
|
||||
# - host: "{{ .Values.echo.hostname }}"
|
||||
# http:
|
||||
# paths:
|
||||
# - path: /
|
||||
# pathType: Prefix
|
||||
# backend:
|
||||
# service:
|
||||
# name: echo
|
||||
# port:
|
||||
# number: 8001
|
||||
# entryPoints:
|
||||
# - web
|
||||
# - websecure
|
||||
# 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" }}
|
||||
|
|
Loading…
Reference in New Issue