make traefik adoptable
ci / build (push) Waiting to run
Details
ci / build (push) Waiting to run
Details
This commit is contained in:
parent
187372ade1
commit
94cc07bbb0
|
@ -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.8
|
version: 0.0.9
|
||||||
keywords:
|
keywords:
|
||||||
- fp
|
- fp
|
||||||
- futureporn
|
- futureporn
|
||||||
|
|
|
@ -3,12 +3,16 @@
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: Service
|
kind: Service
|
||||||
metadata:
|
metadata:
|
||||||
|
name: traefik
|
||||||
|
namespace: futureporn
|
||||||
annotations:
|
annotations:
|
||||||
{{ if eq .Values.environment "development" }}
|
{{ if eq .Values.environment "development" }}
|
||||||
chisel-operator.io/exit-node-name: "traefik-exit-node"
|
chisel-operator.io/exit-node-name: "traefik-exit-node"
|
||||||
{{ end }}
|
{{ end }}
|
||||||
name: traefik
|
meta.helm.sh/release-name: fp
|
||||||
namespace: futureporn
|
meta.helm.sh/release-namespace: futureporn
|
||||||
|
labels:
|
||||||
|
app.kubernetes.io/managed-by: Helm
|
||||||
spec:
|
spec:
|
||||||
ports:
|
ports:
|
||||||
- name: web
|
- name: web
|
||||||
|
|
|
@ -1,79 +0,0 @@
|
||||||
---
|
|
||||||
apiVersion: v1
|
|
||||||
kind: ServiceAccount
|
|
||||||
metadata:
|
|
||||||
name: external-dns
|
|
||||||
namespace: futureporn
|
|
||||||
---
|
|
||||||
apiVersion: rbac.authorization.k8s.io/v1
|
|
||||||
kind: ClusterRole
|
|
||||||
metadata:
|
|
||||||
name: external-dns
|
|
||||||
rules:
|
|
||||||
- apiGroups: [""]
|
|
||||||
resources: ["services","endpoints","pods"]
|
|
||||||
verbs: ["get","watch","list"]
|
|
||||||
- apiGroups: ["extensions","networking.k8s.io"]
|
|
||||||
resources: ["ingresses"]
|
|
||||||
verbs: ["get","watch","list"]
|
|
||||||
- apiGroups: [""]
|
|
||||||
resources: ["nodes"]
|
|
||||||
verbs: ["list"]
|
|
||||||
---
|
|
||||||
apiVersion: rbac.authorization.k8s.io/v1
|
|
||||||
kind: ClusterRoleBinding
|
|
||||||
metadata:
|
|
||||||
name: external-dns-viewer
|
|
||||||
roleRef:
|
|
||||||
apiGroup: rbac.authorization.k8s.io
|
|
||||||
kind: ClusterRole
|
|
||||||
name: external-dns
|
|
||||||
subjects:
|
|
||||||
- kind: ServiceAccount
|
|
||||||
name: external-dns
|
|
||||||
namespace: futureporn
|
|
||||||
---
|
|
||||||
apiVersion: apps/v1
|
|
||||||
kind: Deployment
|
|
||||||
metadata:
|
|
||||||
name: external-dns
|
|
||||||
namespace: futureporn
|
|
||||||
spec:
|
|
||||||
strategy:
|
|
||||||
type: Recreate
|
|
||||||
selector:
|
|
||||||
matchLabels:
|
|
||||||
app: external-dns
|
|
||||||
template:
|
|
||||||
metadata:
|
|
||||||
labels:
|
|
||||||
app: external-dns
|
|
||||||
spec:
|
|
||||||
serviceAccountName: external-dns
|
|
||||||
containers:
|
|
||||||
- name: external-dns
|
|
||||||
resources:
|
|
||||||
limits:
|
|
||||||
memory: "1024Mi"
|
|
||||||
cpu: "100m"
|
|
||||||
image: registry.k8s.io/external-dns/external-dns:v0.14.1
|
|
||||||
args:
|
|
||||||
- --source=service
|
|
||||||
- --source=ingress
|
|
||||||
- --provider=exoscale
|
|
||||||
- --domain-filter=sbtp.xyz
|
|
||||||
- --policy=sync # if you want DNS entries to get deleted as well
|
|
||||||
- --txt-owner-id=futureporn
|
|
||||||
- --exoscale-apizone=de-fra-1
|
|
||||||
- --exoscale-apienv=api
|
|
||||||
env:
|
|
||||||
- name: EXTERNAL_DNS_EXOSCALE_APIKEY
|
|
||||||
valueFrom:
|
|
||||||
secretKeyRef:
|
|
||||||
name: exoscale
|
|
||||||
key: apiKey
|
|
||||||
- name: EXTERNAL_DNS_EXOSCALE_APISECRET
|
|
||||||
valueFrom:
|
|
||||||
secretKeyRef:
|
|
||||||
name: exoscale
|
|
||||||
key: apiSecret
|
|
|
@ -7,6 +7,7 @@ metadata:
|
||||||
spec:
|
spec:
|
||||||
interval: 24h
|
interval: 24h
|
||||||
url: https://traefik.github.io/charts
|
url: https://traefik.github.io/charts
|
||||||
|
|
||||||
---
|
---
|
||||||
apiVersion: helm.toolkit.fluxcd.io/v2
|
apiVersion: helm.toolkit.fluxcd.io/v2
|
||||||
kind: HelmRelease
|
kind: HelmRelease
|
||||||
|
|
Loading…
Reference in New Issue