update
This commit is contained in:
@@ -1,102 +1,102 @@
|
|||||||
#apiVersion: external-secrets.io/v1beta1
|
apiVersion: external-secrets.io/v1beta1
|
||||||
#kind: ExternalSecret
|
kind: ExternalSecret
|
||||||
#metadata:
|
metadata:
|
||||||
# name: ollama-secret
|
name: ollama-secret
|
||||||
#spec:
|
spec:
|
||||||
# secretStoreRef:
|
secretStoreRef:
|
||||||
# name: vault
|
name: vault
|
||||||
# kind: ClusterSecretStore
|
kind: ClusterSecretStore
|
||||||
# target:
|
target:
|
||||||
# name: ollama-secret
|
name: ollama-secret
|
||||||
# data:
|
data:
|
||||||
# - secretKey: users
|
- secretKey: users
|
||||||
# remoteRef:
|
remoteRef:
|
||||||
# key: secrets/internalproxy/ollama
|
key: secrets/ollama
|
||||||
# property: users
|
property: users
|
||||||
#
|
|
||||||
#---
|
---
|
||||||
#
|
|
||||||
#apiVersion: traefik.io/v1alpha1
|
apiVersion: traefik.io/v1alpha1
|
||||||
#kind: Middleware
|
kind: Middleware
|
||||||
#metadata:
|
metadata:
|
||||||
# name: ollama-basic-auth
|
name: ollama-basic-auth
|
||||||
#spec:
|
spec:
|
||||||
# basicAuth:
|
basicAuth:
|
||||||
# headerField: x-api-key
|
headerField: x-api-key
|
||||||
# secret: ollama-secret
|
secret: ollama-secret
|
||||||
#
|
|
||||||
#---
|
---
|
||||||
#
|
|
||||||
#apiVersion: v1
|
apiVersion: v1
|
||||||
#kind: Service
|
kind: Service
|
||||||
#metadata:
|
metadata:
|
||||||
# name: ollama
|
name: ollama
|
||||||
#spec:
|
spec:
|
||||||
# ports:
|
ports:
|
||||||
# - name: app
|
- name: app
|
||||||
# port: 11435
|
port: 11435
|
||||||
# protocol: TCP
|
protocol: TCP
|
||||||
# targetPort: 11435
|
targetPort: 11435
|
||||||
# clusterIP: None
|
clusterIP: None
|
||||||
# type: ClusterIP
|
type: ClusterIP
|
||||||
#
|
|
||||||
#---
|
---
|
||||||
#
|
|
||||||
#apiVersion: v1
|
apiVersion: v1
|
||||||
#kind: Endpoints
|
kind: Endpoints
|
||||||
#metadata:
|
metadata:
|
||||||
# name: ollama
|
name: ollama
|
||||||
#subsets:
|
subsets:
|
||||||
# - addresses:
|
- addresses:
|
||||||
# - ip: 192.168.20.104
|
- ip: 192.168.20.104
|
||||||
# ports:
|
ports:
|
||||||
# - name: app
|
- name: app
|
||||||
# port: 11435
|
port: 11435
|
||||||
# protocol: TCP
|
protocol: TCP
|
||||||
#
|
|
||||||
#---
|
---
|
||||||
#
|
|
||||||
#apiVersion: traefik.io/v1alpha1
|
apiVersion: traefik.io/v1alpha1
|
||||||
#kind: IngressRoute
|
kind: IngressRoute
|
||||||
#metadata:
|
metadata:
|
||||||
# name: ollama-ingress
|
name: ollama-ingress
|
||||||
#spec:
|
spec:
|
||||||
# entryPoints:
|
entryPoints:
|
||||||
# - websecure
|
- websecure
|
||||||
# routes:
|
routes:
|
||||||
# - match: Host(`ollama.durp.info`) && PathPrefix(`/`)
|
- match: Host(`ollama.durp.info`) && PathPrefix(`/`)
|
||||||
# middlewares:
|
middlewares:
|
||||||
# - name: ollama-basic-auth
|
- name: ollama-basic-auth
|
||||||
# kind: Rule
|
kind: Rule
|
||||||
# services:
|
services:
|
||||||
# - name: ollama
|
- name: ollama
|
||||||
# port: 11435
|
port: 11435
|
||||||
# tls:
|
tls:
|
||||||
# secretName: ollama-tls
|
secretName: ollama-tls
|
||||||
#
|
|
||||||
#---
|
---
|
||||||
#
|
|
||||||
#apiVersion: cert-manager.io/v1
|
apiVersion: cert-manager.io/v1
|
||||||
#kind: Certificate
|
kind: Certificate
|
||||||
#metadata:
|
metadata:
|
||||||
# name: ollama-tls
|
name: ollama-tls
|
||||||
#spec:
|
spec:
|
||||||
# secretName: ollama-tls
|
secretName: ollama-tls
|
||||||
# issuerRef:
|
issuerRef:
|
||||||
# name: letsencrypt-production
|
name: letsencrypt-production
|
||||||
# kind: ClusterIssuer
|
kind: ClusterIssuer
|
||||||
# commonName: "ollama.durp.info"
|
commonName: "ollama.durp.info"
|
||||||
# dnsNames:
|
dnsNames:
|
||||||
# - "ollama.durp.info"
|
- "ollama.durp.info"
|
||||||
#
|
|
||||||
#---
|
---
|
||||||
#
|
|
||||||
#kind: Service
|
kind: Service
|
||||||
#apiVersion: v1
|
apiVersion: v1
|
||||||
#metadata:
|
metadata:
|
||||||
# name: ollama-external-dns
|
name: ollama-external-dns
|
||||||
# annotations:
|
annotations:
|
||||||
# external-dns.alpha.kubernetes.io/hostname: ollama.durp.info
|
external-dns.alpha.kubernetes.io/hostname: ollama.durp.info
|
||||||
#spec:
|
spec:
|
||||||
# type: ExternalName
|
type: ExternalName
|
||||||
# externalName: durp.info
|
externalName: durp.info
|
||||||
|
|||||||
Reference in New Issue
Block a user