mirror of
https://github.com/lukaszraczylo/gohoarder.git
synced 2026-07-10 04:33:03 +00:00
fixes
This commit is contained in:
@@ -0,0 +1,44 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: gohoarder
|
||||
namespace: default
|
||||
labels:
|
||||
app: gohoarder
|
||||
spec:
|
||||
type: ClusterIP
|
||||
ports:
|
||||
- port: 8080
|
||||
targetPort: http
|
||||
protocol: TCP
|
||||
name: http
|
||||
selector:
|
||||
app: gohoarder
|
||||
---
|
||||
# Optional: Ingress for external access
|
||||
# Uncomment and configure based on your ingress controller
|
||||
# apiVersion: networking.k8s.io/v1
|
||||
# kind: Ingress
|
||||
# metadata:
|
||||
# name: gohoarder
|
||||
# namespace: default
|
||||
# annotations:
|
||||
# nginx.ingress.kubernetes.io/proxy-body-size: "500m"
|
||||
# nginx.ingress.kubernetes.io/proxy-read-timeout: "600"
|
||||
# spec:
|
||||
# ingressClassName: nginx
|
||||
# rules:
|
||||
# - host: gohoarder.example.com
|
||||
# http:
|
||||
# paths:
|
||||
# - path: /
|
||||
# pathType: Prefix
|
||||
# backend:
|
||||
# service:
|
||||
# name: gohoarder
|
||||
# port:
|
||||
# name: http
|
||||
# tls:
|
||||
# - hosts:
|
||||
# - gohoarder.example.com
|
||||
# secretName: gohoarder-tls
|
||||
Reference in New Issue
Block a user